A B C D E F G H I J K L M N O P R S T U V W _

A

aClass(Class<?>) - Static method in class org.junit.runner.Request
Create a Request that, when processed, will run all the tests in a class.
ActiveTestSuite - Class in junit.extensions
A TestSuite for active Tests.
ActiveTestSuite() - Constructor for class junit.extensions.ActiveTestSuite
 
ActiveTestSuite(Class<? extends TestCase>) - Constructor for class junit.extensions.ActiveTestSuite
 
ActiveTestSuite(String) - Constructor for class junit.extensions.ActiveTestSuite
 
ActiveTestSuite(Class<? extends TestCase>, String) - Constructor for class junit.extensions.ActiveTestSuite
 
add(long) - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
Add the given value to current counter value.
add(E) - Method in class org.cliffc.high_scale_lib.NonBlockingHashSet
Add o to the set.
add(Integer) - Method in class org.cliffc.high_scale_lib.NonBlockingSetInt
Add i to the set.
add(int) - Method in class org.cliffc.high_scale_lib.NonBlockingSetInt
Add i to the set.
addChild(Description) - Method in class org.junit.runner.Description
Add Description as a child of the receiver.
addDimension(int) - Method in error org.junit.internal.ArrayComparisonFailure
 
addError(Test, Throwable) - Method in interface junit.framework.TestListener
An error occurred.
addError(Test, Throwable) - Method in class junit.framework.TestResult
Adds an error to the list of errors.
addError(Test, Throwable) - Method in class junit.runner.BaseTestRunner
 
addError(Test, Throwable) - Method in class junit.textui.ResultPrinter
 
addError(Throwable) - Method in class org.junit.rules.ErrorCollector
Adds a Throwable to the table.
addFailedAssumption(AssumptionViolatedException) - Method in class org.junit.internal.runners.model.EachTestNotifier
 
addFailure(Test, AssertionFailedError) - Method in interface junit.framework.TestListener
A failure occurred.
addFailure(Test, AssertionFailedError) - Method in class junit.framework.TestResult
Adds a failure to the list of failures.
addFailure(Test, AssertionFailedError) - Method in class junit.runner.BaseTestRunner
 
addFailure(Test, AssertionFailedError) - Method in class junit.textui.ResultPrinter
 
addFailure(Throwable) - Method in class org.junit.internal.runners.model.EachTestNotifier
 
addFirstListener(RunListener) - Method in class org.junit.runner.notification.RunNotifier
Internal use only.
addListener(TestListener) - Method in class junit.framework.TestResult
Registers a TestListener
addListener(RunListener) - Method in class org.junit.runner.JUnitCore
Add a listener to be notified as the tests run.
addListener(RunListener) - Method in class org.junit.runner.notification.RunNotifier
Internal use only
addTest(Test) - Method in class junit.framework.TestSuite
Adds a test to the suite.
addTestSuite(Class<? extends TestCase>) - Method in class junit.framework.TestSuite
Adds the tests from the given class to the suite
After - Annotation Type in org.junit
If you allocate external resources in a Before method you need to release them after the test runs.
AfterClass - Annotation Type in org.junit
If you allocate expensive external resources in a BeforeClass method you need to release them after all the tests in the class have run.
ALL - Static variable in class org.junit.runner.manipulation.Filter
A null Filter that passes all tests through.
AllDefaultPossibilitiesBuilder - Class in org.junit.internal.builders
 
AllDefaultPossibilitiesBuilder(boolean) - Constructor for class org.junit.internal.builders.AllDefaultPossibilitiesBuilder
 
AllMembersSupplier - Class in org.junit.experimental.theories.internal
Supplies Theory parameters based on all public members of the target class.
AllMembersSupplier(TestClass) - Constructor for class org.junit.experimental.theories.internal.AllMembersSupplier
Constructs a new supplier for type
AllOf<T> - Class in org.hamcrest.core
Calculates the logical conjunction of two matchers.
AllOf(Iterable<Matcher<? extends T>>) - Constructor for class org.hamcrest.core.AllOf
 
allOf(Matcher<? extends T>...) - Static method in class org.hamcrest.core.AllOf
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.core.AllOf
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? extends T>...) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
AllTests - Class in org.junit.runners
Runner for use with JUnit 3.8.x-style AllTests classes (those that only implement a static suite() method).
AllTests(Class<?>) - Constructor for class org.junit.runners.AllTests
Only called reflectively.
allUnassigned(Method, TestClass) - Static method in class org.junit.experimental.theories.internal.Assignments
Returns a new assignment list for testMethod, with no params assigned.
and(Matcher<? extends T>) - Method in class org.junit.internal.matchers.CombinableMatcher
 
AnnotatedBuilder - Class in org.junit.internal.builders
 
AnnotatedBuilder(RunnerBuilder) - Constructor for class org.junit.internal.builders.AnnotatedBuilder
 
any(Class<T>) - Static method in class org.hamcrest.core.IsAnything
This matcher always evaluates to true.
any(Class<T>) - Static method in class org.hamcrest.CoreMatchers
This matcher always evaluates to true.
AnyOf<T> - Class in org.hamcrest.core
Calculates the logical disjunction of two matchers.
AnyOf(Iterable<Matcher<? extends T>>) - Constructor for class org.hamcrest.core.AnyOf
 
anyOf(Matcher<? extends T>...) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<? extends T>...) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anything() - Static method in class org.hamcrest.core.IsAnything
This matcher always evaluates to true.
anything(String) - Static method in class org.hamcrest.core.IsAnything
This matcher always evaluates to true.
anything() - Static method in class org.hamcrest.CoreMatchers
This matcher always evaluates to true.
anything(String) - Static method in class org.hamcrest.CoreMatchers
This matcher always evaluates to true.
appendDescriptionOf(SelfDescribing) - Method in class org.hamcrest.BaseDescription
 
appendDescriptionOf(SelfDescribing) - Method in interface org.hamcrest.Description
Appends the description of a SelfDescribing value to this description.
appendList(String, String, String, Iterable<? extends SelfDescribing>) - Method in class org.hamcrest.BaseDescription
 
appendList(String, String, String, Iterable<? extends SelfDescribing>) - Method in interface org.hamcrest.Description
Appends a list of SelfDescribing objects to the description.
appendText(String) - Method in class org.hamcrest.BaseDescription
 
appendText(String) - Method in interface org.hamcrest.Description
Appends some plain text to the description.
appendValue(Object) - Method in class org.hamcrest.BaseDescription
 
appendValue(Object) - Method in interface org.hamcrest.Description
Appends an arbitary value to the description.
appendValueList(String, String, String, T...) - Method in class org.hamcrest.BaseDescription
 
appendValueList(String, String, String, Iterable<T>) - Method in class org.hamcrest.BaseDescription
 
appendValueList(String, String, String, T...) - Method in interface org.hamcrest.Description
Appends a list of values to the description.
appendValueList(String, String, String, Iterable<T>) - Method in interface org.hamcrest.Description
Appends a list of values to the description.
apply(Statement, FrameworkMethod, Object) - Method in class org.junit.rules.ExpectedException
 
apply(Statement, FrameworkMethod, Object) - Method in class org.junit.rules.ExternalResource
 
apply(Statement, FrameworkMethod, Object) - Method in interface org.junit.rules.MethodRule
Modifies the method-running Statement to implement an additional test-running rule.
apply(Statement, FrameworkMethod, Object) - Method in class org.junit.rules.TestWatchman
 
apply(Statement, FrameworkMethod, Object) - Method in class org.junit.rules.Timeout
 
apply(Statement, FrameworkMethod, Object) - Method in class org.junit.rules.Verifier
 
apply(Object) - Method in class org.junit.runner.manipulation.Filter
Invoke with a Runner to cause all tests it intends to run to first be checked with the filter.
apply(Object) - Method in class org.junit.runner.manipulation.Sorter
Sorts the test in runner using comparator
ArrayComparisonFailure - Error in org.junit.internal
Thrown when two array elements differ
ArrayComparisonFailure(String, AssertionError, int) - Constructor for error org.junit.internal.ArrayComparisonFailure
Construct a new ArrayComparisonFailure with an error text and the array's dimension that was not equal
arrayEquals(String, Object, Object) - Method in class org.junit.internal.ComparisonCriteria
Asserts that two arrays are equal, according to the criteria defined by the concrete subclass.
ArrayIterator - Class in org.hamcrest.internal
 
ArrayIterator(Object) - Constructor for class org.hamcrest.internal.ArrayIterator
 
Assert - Class in junit.framework
A set of assert methods.
Assert - Class in org.junit
A set of assertion methods useful for writing tests.
assertArrayEquals(String, Object[], Object[]) - Static method in class org.junit.Assert
Asserts that two object arrays are equal.
assertArrayEquals(Object[], Object[]) - Static method in class org.junit.Assert
Asserts that two object arrays are equal.
assertArrayEquals(String, byte[], byte[]) - Static method in class org.junit.Assert
Asserts that two byte arrays are equal.
assertArrayEquals(byte[], byte[]) - Static method in class org.junit.Assert
Asserts that two byte arrays are equal.
assertArrayEquals(String, char[], char[]) - Static method in class org.junit.Assert
Asserts that two char arrays are equal.
assertArrayEquals(char[], char[]) - Static method in class org.junit.Assert
Asserts that two char arrays are equal.
assertArrayEquals(String, short[], short[]) - Static method in class org.junit.Assert
Asserts that two short arrays are equal.
assertArrayEquals(short[], short[]) - Static method in class org.junit.Assert
Asserts that two short arrays are equal.
assertArrayEquals(String, int[], int[]) - Static method in class org.junit.Assert
Asserts that two int arrays are equal.
assertArrayEquals(int[], int[]) - Static method in class org.junit.Assert
Asserts that two int arrays are equal.
assertArrayEquals(String, long[], long[]) - Static method in class org.junit.Assert
Asserts that two long arrays are equal.
assertArrayEquals(long[], long[]) - Static method in class org.junit.Assert
Asserts that two long arrays are equal.
assertArrayEquals(String, double[], double[], double) - Static method in class org.junit.Assert
Asserts that two double arrays are equal.
assertArrayEquals(double[], double[], double) - Static method in class org.junit.Assert
Asserts that two double arrays are equal.
assertArrayEquals(String, float[], float[], float) - Static method in class org.junit.Assert
Asserts that two float arrays are equal.
assertArrayEquals(float[], float[], float) - Static method in class org.junit.Assert
Asserts that two float arrays are equal.
assertEmpty(List<Throwable>) - Static method in exception org.junit.internal.runners.model.MultipleFailureException
 
assertEquals(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects are equal.
assertEquals(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects are equal.
assertEquals(String, String, String) - Static method in class junit.framework.Assert
Asserts that two Strings are equal.
assertEquals(String, String) - Static method in class junit.framework.Assert
Asserts that two Strings are equal.
assertEquals(String, double, double, double) - Static method in class junit.framework.Assert
Asserts that two doubles are equal concerning a delta.
assertEquals(double, double, double) - Static method in class junit.framework.Assert
Asserts that two doubles are equal concerning a delta.
assertEquals(String, float, float, float) - Static method in class junit.framework.Assert
Asserts that two floats are equal concerning a positive delta.
assertEquals(float, float, float) - Static method in class junit.framework.Assert
Asserts that two floats are equal concerning a delta.
assertEquals(String, long, long) - Static method in class junit.framework.Assert
Asserts that two longs are equal.
assertEquals(long, long) - Static method in class junit.framework.Assert
Asserts that two longs are equal.
assertEquals(String, boolean, boolean) - Static method in class junit.framework.Assert
Asserts that two booleans are equal.
assertEquals(boolean, boolean) - Static method in class junit.framework.Assert
Asserts that two booleans are equal.
assertEquals(String, byte, byte) - Static method in class junit.framework.Assert
Asserts that two bytes are equal.
assertEquals(byte, byte) - Static method in class junit.framework.Assert
Asserts that two bytes are equal.
assertEquals(String, char, char) - Static method in class junit.framework.Assert
Asserts that two chars are equal.
assertEquals(char, char) - Static method in class junit.framework.Assert
Asserts that two chars are equal.
assertEquals(String, short, short) - Static method in class junit.framework.Assert
Asserts that two shorts are equal.
assertEquals(short, short) - Static method in class junit.framework.Assert
Asserts that two shorts are equal.
assertEquals(String, int, int) - Static method in class junit.framework.Assert
Asserts that two ints are equal.
assertEquals(int, int) - Static method in class junit.framework.Assert
Asserts that two ints are equal.
assertEquals(String, Object, Object) - Static method in class org.junit.Assert
Asserts that two objects are equal.
assertEquals(Object, Object) - Static method in class org.junit.Assert
Asserts that two objects are equal.
assertEquals(String, double, double, double) - Static method in class org.junit.Assert
Asserts that two doubles or floats are equal to within a positive delta.
assertEquals(long, long) - Static method in class org.junit.Assert
Asserts that two longs are equal.
assertEquals(String, long, long) - Static method in class org.junit.Assert
Asserts that two longs are equal.
assertEquals(double, double) - Static method in class org.junit.Assert
Deprecated. Use assertEquals(double expected, double actual, double epsilon) instead
assertEquals(String, double, double) - Static method in class org.junit.Assert
Deprecated. Use assertEquals(String message, double expected, double actual, double epsilon) instead
assertEquals(double, double, double) - Static method in class org.junit.Assert
Asserts that two doubles or floats are equal to within a positive delta.
assertEquals(String, Object[], Object[]) - Static method in class org.junit.Assert
Deprecated. use assertArrayEquals
assertEquals(Object[], Object[]) - Static method in class org.junit.Assert
Deprecated. use assertArrayEquals
assertFalse(String, boolean) - Static method in class junit.framework.Assert
Asserts that a condition is false.
assertFalse(boolean) - Static method in class junit.framework.Assert
Asserts that a condition is false.
assertFalse(String, boolean) - Static method in class org.junit.Assert
Asserts that a condition is false.
assertFalse(boolean) - Static method in class org.junit.Assert
Asserts that a condition is false.
AssertionFailedError - Error in junit.framework
Thrown when an assertion failed.
AssertionFailedError() - Constructor for error junit.framework.AssertionFailedError
 
AssertionFailedError(String) - Constructor for error junit.framework.AssertionFailedError
 
assertNotNull(Object) - Static method in class junit.framework.Assert
Asserts that an object isn't null.
assertNotNull(String, Object) - Static method in class junit.framework.Assert
Asserts that an object isn't null.
assertNotNull(String, Object) - Static method in class org.junit.Assert
Asserts that an object isn't null.
assertNotNull(Object) - Static method in class org.junit.Assert
Asserts that an object isn't null.
assertNotSame(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects do not refer to the same object.
assertNotSame(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects do not refer to the same object.
assertNotSame(String, Object, Object) - Static method in class org.junit.Assert
Asserts that two objects do not refer to the same object.
assertNotSame(Object, Object) - Static method in class org.junit.Assert
Asserts that two objects do not refer to the same object.
assertNull(Object) - Static method in class junit.framework.Assert
Asserts that an object is null.
assertNull(String, Object) - Static method in class junit.framework.Assert
Asserts that an object is null.
assertNull(String, Object) - Static method in class org.junit.Assert
Asserts that an object is null.
assertNull(Object) - Static method in class org.junit.Assert
Asserts that an object is null.
assertSame(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertSame(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertSame(String, Object, Object) - Static method in class org.junit.Assert
Asserts that two objects refer to the same object.
assertSame(Object, Object) - Static method in class org.junit.Assert
Asserts that two objects refer to the same object.
assertThat(T, Matcher<T>) - Static method in class org.junit.Assert
Asserts that actual satisfies the condition specified by matcher.
assertThat(String, T, Matcher<T>) - Static method in class org.junit.Assert
Asserts that actual satisfies the condition specified by matcher.
assertTrue(String, boolean) - Static method in class junit.framework.Assert
Asserts that a condition is true.
assertTrue(boolean) - Static method in class junit.framework.Assert
Asserts that a condition is true.
assertTrue(String, boolean) - Static method in class org.junit.Assert
Asserts that a condition is true.
assertTrue(boolean) - Static method in class org.junit.Assert
Asserts that a condition is true.
assertValid() - Method in class org.junit.internal.runners.MethodValidator
Deprecated.  
Assignments - Class in org.junit.experimental.theories.internal
A potentially incomplete list of value assignments for a method's formal parameters
assignNext(PotentialAssignment) - Method in class org.junit.experimental.theories.internal.Assignments
 
asString(SelfDescribing) - Static method in class org.hamcrest.StringDescription
Alias for StringDescription.toString(SelfDescribing).
Assume - Class in org.junit
A set of methods useful for stating assumptions about the conditions in which a test is meaningful.
Assume() - Constructor for class org.junit.Assume
 
assumeNoException(Throwable) - Static method in class org.junit.Assume
Use to assume that an operation completes normally.
assumeNotNull(Object...) - Static method in class org.junit.Assume
If called with one or more null elements in objects, the test will halt and be ignored.
assumeThat(T, Matcher<T>) - Static method in class org.junit.Assume
Call to assume that actual satisfies the condition specified by matcher.
assumeTrue(boolean) - Static method in class org.junit.Assume
If called with an expression evaluating to false, the test will halt and be ignored.
AssumptionViolatedException - Exception in org.junit.internal
 
AssumptionViolatedException(Object, Matcher<?>) - Constructor for exception org.junit.internal.AssumptionViolatedException
 
AssumptionViolatedException(String) - Constructor for exception org.junit.internal.AssumptionViolatedException
 
asTest(Description) - Method in class junit.framework.JUnit4TestAdapterCache
 
asTestList(Description) - Method in class junit.framework.JUnit4TestAdapterCache
 

B

BaseDescription - Class in org.hamcrest
A Description that is stored as a string.
BaseDescription() - Constructor for class org.hamcrest.BaseDescription
 
BaseMatcher<T> - Class in org.hamcrest
BaseClass for all Matcher implementations.
BaseMatcher() - Constructor for class org.hamcrest.BaseMatcher
 
BaseTestRunner - Class in junit.runner
Base class for all test runners.
BaseTestRunner() - Constructor for class junit.runner.BaseTestRunner
 
basicRun(TestResult) - Method in class junit.extensions.TestDecorator
The basic run behaviour.
Before - Annotation Type in org.junit
When writing tests, it is common to find that several tests need similar objects created before they can run.
BeforeClass - Annotation Type in org.junit
Sometimes several tests need to share computationally expensive setup (like logging into a database).
BlockJUnit4ClassRunner - Class in org.junit.runners
Implements the JUnit 4 standard test case class model, as defined by the annotations in the org.junit package.
BlockJUnit4ClassRunner(Class<?>) - Constructor for class org.junit.runners.BlockJUnit4ClassRunner
Creates a BlockJUnit4ClassRunner to run klass
both(Matcher<T>) - Static method in class org.junit.matchers.JUnitMatchers
This is useful for fluently combining matchers that must both pass.
buildRunner(Class<? extends Runner>, Class<?>) - Method in class org.junit.internal.builders.AnnotatedBuilder
 

C

canAcceptArrayType(Class<?>) - Method in class org.junit.experimental.theories.ParameterSignature
 
canAcceptType(Class<?>) - Method in class org.junit.experimental.theories.ParameterSignature
 
checkSucceeds(Callable<Object>) - Method in class org.junit.rules.ErrorCollector
Adds to the table the exception, if any, thrown from callable.
checkThat(T, Matcher<T>) - Method in class org.junit.rules.ErrorCollector
Adds a failure to the table if matcher does not match value.
checkThreadsAlive(ThreadGroup, Thread) - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Check if there are still some threads alive, i.e.
childlessCopy() - Method in class org.junit.runner.Description
 
classes() - Static method in class org.junit.experimental.ParallelComputer
 
classes(Computer, Class<?>...) - Static method in class org.junit.runner.Request
Create a Request that, when processed, will run all the tests in a set of classes.
classes(Class<?>...) - Static method in class org.junit.runner.Request
Create a Request that, when processed, will run all the tests in a set of classes with the default Computer.
ClassRequest - Class in org.junit.internal.requests
 
ClassRequest(Class<?>, boolean) - Constructor for class org.junit.internal.requests.ClassRequest
 
ClassRequest(Class<?>) - Constructor for class org.junit.internal.requests.ClassRequest
 
ClassRoadie - Class in org.junit.internal.runners
Deprecated. Included for backwards compatibility with JUnit 4.4. Will be removed in the next release. Please use BlockJUnit4ClassRunner in place of JUnit4ClassRunner.
ClassRoadie(RunNotifier, TestClass, Description, Runnable) - Constructor for class org.junit.internal.runners.ClassRoadie
Deprecated.  
classWithoutSuiteMethod(Class<?>) - Static method in class org.junit.runner.Request
Create a Request that, when processed, will run all the tests in a class.
clear() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Removes all of the mappings from this map.
clear() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Removes all of the mappings from this map.
clear() - Method in class org.cliffc.high_scale_lib.NonBlockingHashSet
Empty the set.
clear() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Removes all of the mappings from this map.
clear() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Removes all of the mappings from this map.
clear() - Method in class org.cliffc.high_scale_lib.NonBlockingSetInt
Empty the bitvector.
clone() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Creates a shallow copy of this hashtable.
clone() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Creates a shallow copy of this hashtable.
clone() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Creates a shallow copy of this hashtable.
collectThreads(Thread, String) - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
 
CombinableMatcher<T> - Class in org.junit.internal.matchers
 
CombinableMatcher(Matcher<? extends T>) - Constructor for class org.junit.internal.matchers.CombinableMatcher
 
compact(String) - Method in class junit.framework.ComparisonCompactor
 
compare(Description, Description) - Method in class org.junit.runner.manipulation.Sorter
 
ComparisonCompactor - Class in junit.framework
 
ComparisonCompactor(int, String, String) - Constructor for class junit.framework.ComparisonCompactor
 
ComparisonCriteria - Class in org.junit.internal
Defines criteria for finding two items "equal enough".
ComparisonCriteria() - Constructor for class org.junit.internal.ComparisonCriteria
 
ComparisonFailure - Error in junit.framework
Thrown when an assert equals for Strings failed.
ComparisonFailure(String, String, String) - Constructor for error junit.framework.ComparisonFailure
Constructs a comparison failure.
ComparisonFailure - Error in org.junit
Thrown when an assertEquals(String, String) fails.
ComparisonFailure(String, String, String) - Constructor for error org.junit.ComparisonFailure
Constructs a comparison failure.
Computer - Class in org.junit.runner
Represents a strategy for computing runners and suites.
Computer() - Constructor for class org.junit.runner.Computer
 
ConcurrentAutoTable - Class in org.cliffc.high_scale_lib
An auto-resizing table of longs, supporting low-contention CAS operations.
ConcurrentAutoTable() - Constructor for class org.cliffc.high_scale_lib.ConcurrentAutoTable
 
ConcutestVersion - Class in junit.runner
This class defines the current version of Concutest
contains(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Legacy method testing if some key maps into the specified value in this table.
contains(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Legacy method testing if some key maps into the specified value in this table.
contains(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashSet
 
contains(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Legacy method testing if some key maps into the specified value in this table.
contains(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Legacy method testing if some key maps into the specified value in this table.
contains(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingSetInt
Test if o is in the set.
contains(int) - Method in class org.cliffc.high_scale_lib.NonBlockingSetInt
Test if i is in the set.
containsKey(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Tests if the key in the table using the equals method.
containsKey(long) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Tests if the key in the table.
containsKey(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Auto-boxing version of NonBlockingHashMapLong.containsKey(long).
containsKey(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Tests if the key in the table using the equals method.
containsKey(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Tests if the key in the table using the equals method.
containsString(String) - Static method in class org.junit.internal.matchers.StringContains
 
containsString(String) - Static method in class org.junit.matchers.JUnitMatchers
 
containsValue(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Returns true if this Map maps one or more keys to the specified value.
containsValue(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Returns true if this Map maps one or more keys to the specified value.
containsValue(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Returns true if this Map maps one or more keys to the specified value.
containsValue(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Returns true if this Map maps one or more keys to the specified value.
CoreMatchers - Class in org.hamcrest
 
CoreMatchers() - Constructor for class org.hamcrest.CoreMatchers
 
CouldNotReadCoreException - Exception in org.junit.experimental.max
Thrown when Max cannot read the MaxCore serialization
CouldNotReadCoreException(Throwable) - Constructor for exception org.junit.experimental.max.CouldNotReadCoreException
Constructs
Counter - Class in org.cliffc.high_scale_lib
A simple high-performance counter.
Counter() - Constructor for class org.cliffc.high_scale_lib.Counter
 
countTestCases() - Method in class junit.extensions.RepeatedTest
 
countTestCases() - Method in class junit.extensions.TestDecorator
 
countTestCases() - Method in class junit.framework.JUnit4TestAdapter
 
countTestCases() - Method in class junit.framework.JUnit4TestCaseFacade
 
countTestCases() - Method in interface junit.framework.Test
Counts the number of test cases that will be run by this test.
countTestCases() - Method in class junit.framework.TestCase
Counts the number of test cases executed by run(TestResult result).
countTestCases() - Method in class junit.framework.TestSuite
Counts the number of test cases that will be run by this test.
create() - Method in class org.junit.rules.TemporaryFolder
for testing purposes only.
createAdaptingListener(RunNotifier) - Method in class org.junit.internal.runners.JUnit38ClassRunner
 
createListener() - Method in class org.junit.runner.Result
Internal use only.
createSuiteDescription(String, Annotation...) - Static method in class org.junit.runner.Description
Create a Description named name.
createSuiteDescription(Class<?>) - Static method in class org.junit.runner.Description
Create a Description named after testClass
createTest(Class<? extends TestCase>, String) - Static method in class junit.framework.TestSuite
...as the moon sets over the early morning Merlin, Oregon mountains, our intrepid adventurers type...
createTestDescription(Class<?>, String, Annotation...) - Static method in class org.junit.runner.Description
Create a Description of a single test named name in the class clazz.
createTestDescription(Class<?>, String) - Static method in class org.junit.runner.Description
Create a Description of a single test named name in the class clazz.
CreationContextError - Error in edu.rice.cs.cunit.concJUnit
Class representing a conceptual error of a multithreaded test that has information about the creation context of a thread.
CreationContextError(String) - Constructor for error edu.rice.cs.cunit.concJUnit.CreationContextError
Constructs a new test error with the specified detail message and no creation context.
CreationContextError(String, StackTraceElement[]) - Constructor for error edu.rice.cs.cunit.concJUnit.CreationContextError
Constructs a new multithreaded test error with the specified detail message and creation context.
CreationContextError(String, String) - Constructor for error edu.rice.cs.cunit.concJUnit.CreationContextError
Constructs a new multithreaded test error with the specified detail message and creation context.

D

DataPoint - Annotation Type in org.junit.experimental.theories
 
DataPoints - Annotation Type in org.junit.experimental.theories
 
decrement() - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
ConcurrentAutoTable.add(long) with -1
delete() - Method in class org.junit.rules.TemporaryFolder
Delete all files and folders under the temporary folder.
Describable - Interface in org.junit.runner
Represents an object that can describe itself
describe() - Method in class org.junit.runner.manipulation.Filter
Returns a textual description of this Filter
DescribedAs<T> - Class in org.hamcrest.core
Provides a custom description to another matcher.
DescribedAs(String, Matcher<T>, Object[]) - Constructor for class org.hamcrest.core.DescribedAs
 
describedAs(String, Matcher<T>, Object...) - Static method in class org.hamcrest.core.DescribedAs
Wraps an existing matcher and overrides the description when it fails.
describedAs(String, Matcher<T>, Object...) - Static method in class org.hamcrest.CoreMatchers
Wraps an existing matcher and overrides the description when it fails.
describeTo(Description) - Method in class org.hamcrest.core.AllOf
 
describeTo(Description) - Method in class org.hamcrest.core.AnyOf
 
describeTo(Description) - Method in class org.hamcrest.core.DescribedAs
 
describeTo(Description) - Method in class org.hamcrest.core.Is
 
describeTo(Description) - Method in class org.hamcrest.core.IsAnything
 
describeTo(Description) - Method in class org.hamcrest.core.IsEqual
 
describeTo(Description) - Method in class org.hamcrest.core.IsInstanceOf
 
describeTo(Description) - Method in class org.hamcrest.core.IsNot
 
describeTo(Description) - Method in class org.hamcrest.core.IsNull
 
describeTo(Description) - Method in class org.hamcrest.core.IsSame
 
describeTo(Description) - Method in class org.hamcrest.internal.SelfDescribingValue
 
describeTo(Description) - Method in interface org.hamcrest.SelfDescribing
Generates a description of the object.
describeTo(Description) - Method in exception org.junit.internal.AssumptionViolatedException
 
describeTo(Description) - Method in class org.junit.internal.matchers.CombinableMatcher
 
describeTo(Description) - Method in class org.junit.internal.matchers.IsCollectionContaining
 
describeTo(Description) - Method in class org.junit.internal.matchers.SubstringMatcher
 
Description - Interface in org.hamcrest
A description of a Matcher.
Description - Class in org.junit.runner
A Description describes a test which is to be run or has been run.
doRun(Test) - Method in class junit.textui.TestRunner
 
doRun(Test, boolean) - Method in class junit.textui.TestRunner
 
dumpThreads(String) - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Print thread set with the specified name.

E

Each - Class in org.junit.internal.matchers
 
Each() - Constructor for class org.junit.internal.matchers.Each
 
each(Matcher<T>) - Static method in class org.junit.internal.matchers.Each
 
EachTestNotifier - Class in org.junit.internal.runners.model
 
EachTestNotifier(RunNotifier, Description) - Constructor for class org.junit.internal.runners.model.EachTestNotifier
 
edu.rice.cs.cunit.concJUnit - package edu.rice.cs.cunit.concJUnit
 
either(Matcher<T>) - Static method in class org.junit.matchers.JUnitMatchers
This is useful for fluently combining matchers where either may pass, for example:
elapsedTimeAsString(long) - Method in class junit.runner.BaseTestRunner
Returns the formatted string of the elapsed time.
elements() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Returns an enumeration of the values in this table.
elements() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Returns an enumeration of the values in this table.
elements() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Returns an enumeration of the values in this table.
elements() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Returns an enumeration of the values in this table.
EMPTY - Static variable in class org.junit.runner.Description
Describes a Runner which runs no tests
emptySuite() - Static method in class org.junit.runners.Suite
Returns an empty suite.
Enclosed - Class in org.junit.experimental.runners
If you put tests in inner classes, Ant, for example, won't find them.
Enclosed(Class<?>, RunnerBuilder) - Constructor for class org.junit.experimental.runners.Enclosed
Only called reflectively.
endTest(Test) - Method in interface junit.framework.TestListener
A test ended.
endTest(Test) - Method in class junit.framework.TestResult
Informs the result that a test was completed.
endTest(Test) - Method in class junit.runner.BaseTestRunner
 
endTest(Test) - Method in class junit.textui.ResultPrinter
 
entrySet() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Returns a Set view of the mappings contained in this map.
entrySet() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Returns a Set view of the mappings contained in this map.
entrySet() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Returns a Set view of the mappings contained in this map.
entrySet() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Returns a Set view of the mappings contained in this map.
equals(Object) - Method in exception org.junit.experimental.theories.internal.ParameterizedAssertionError
 
equals(Object) - Method in class org.junit.runner.Description
 
equals(Object) - Method in class org.junit.runners.model.FrameworkMethod
 
equalTo(T) - Static method in class org.hamcrest.core.IsEqual
Is the value equal to another value, as tested by the Object.equals(java.lang.Object) invokedMethod?
equalTo(T) - Static method in class org.hamcrest.CoreMatchers
Is the value equal to another value, as tested by the Object.equals(java.lang.Object) invokedMethod?
ErrorCollector - Class in org.junit.rules
The ErrorCollector rule allows execution of a test to continue after the first problem is found (for example, to collect _all_ the incorrect rows in a table, and report them all at once):
ErrorCollector() - Constructor for class org.junit.rules.ErrorCollector
 
errorCount() - Method in class junit.framework.TestResult
Gets the number of detected errors.
errorReport(Class<?>, Throwable) - Static method in class org.junit.runner.Request
Deprecated. 
ErrorReportingRunner - Class in org.junit.internal.runners
 
ErrorReportingRunner(Class<?>, Throwable) - Constructor for class org.junit.internal.runners.ErrorReportingRunner
 
errors() - Method in class junit.framework.TestResult
Returns an Enumeration for the errors
estimate_get() - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
A cheaper ConcurrentAutoTable.get().
evaluate() - Method in class edu.rice.cs.cunit.concJUnit.RunInThreadGroup
 
evaluate() - Method in class org.junit.experimental.theories.Theories.TheoryAnchor
 
evaluate() - Method in class org.junit.internal.runners.statements.ExpectException
 
evaluate() - Method in class org.junit.internal.runners.statements.Fail
 
evaluate() - Method in class org.junit.internal.runners.statements.FailOnTimeout
 
evaluate() - Method in class org.junit.internal.runners.statements.InvokeMethod
 
evaluate() - Method in class org.junit.internal.runners.statements.RunAfters
 
evaluate() - Method in class org.junit.internal.runners.statements.RunBefores
 
evaluate() - Method in class org.junit.runners.model.Statement
Run the action, throwing a Throwable if anything goes wrong.
everyItem(Matcher<T>) - Static method in class org.junit.matchers.JUnitMatchers
 
ExactComparisonCriteria - Class in org.junit.internal
 
ExactComparisonCriteria() - Constructor for class org.junit.internal.ExactComparisonCriteria
 
EXCEPTION_EXIT - Static variable in class junit.textui.TestRunner
 
exceptionMessage() - Method in class junit.framework.TestFailure
 
exit(int) - Method in interface org.junit.internal.JUnitSystem
 
exit(int) - Method in class org.junit.internal.RealSystem
 
expect(Matcher<?>) - Method in class org.junit.rules.ExpectedException
Adds matcher to the list of requirements for any thrown exception.
expect(Class<? extends Throwable>) - Method in class org.junit.rules.ExpectedException
Adds to the list of requirements for any thrown exception that it should be an instance of type
ExpectedException - Class in org.junit.rules
The ExpectedException Rule allows in-test specification of expected exception types and messages:
ExpectException - Class in org.junit.internal.runners.statements
 
ExpectException(Statement, Class<? extends Throwable>) - Constructor for class org.junit.internal.runners.statements.ExpectException
 
expectMessage(String) - Method in class org.junit.rules.ExpectedException
Adds to the list of requirements for any thrown exception that it should contain string substring
expectMessage(Matcher<String>) - Method in class org.junit.rules.ExpectedException
Adds matcher to the list of requirements for the message returned from any thrown exception.
extendStackTrace(Throwable, Thread) - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Extend the stack trace in the throwable by the start stack trace of the thread.
ExternalResource - Class in org.junit.rules
A base class for Rules (like TemporaryFolder) that set up an external resource before a test (a file, socket, server, database connection, etc.), and guarantee to tear it down afterward:
ExternalResource() - Constructor for class org.junit.rules.ExternalResource
 
extractClassName(String) - Method in class junit.runner.BaseTestRunner
Extract the class name from a String in VA/Java style

F

Factory - Annotation Type in org.hamcrest
Marks a Hamcrest static factory method so tools recognise them.
fail(String) - Static method in class junit.framework.Assert
Fails a test with the given message.
fail() - Static method in class junit.framework.Assert
Fails a test with no message.
fail(String) - Static method in class org.junit.Assert
Fails a test with the given message.
fail() - Static method in class org.junit.Assert
Fails a test with no message.
Fail - Class in org.junit.internal.runners.statements
 
Fail(Throwable) - Constructor for class org.junit.internal.runners.statements.Fail
 
failed(Throwable, FrameworkMethod) - Method in class org.junit.rules.TestWatchman
Invoked when a test method fails
failedTest() - Method in class junit.framework.TestFailure
Gets the failed test.
failNotEquals(String, Object, Object) - Static method in class junit.framework.Assert
 
failNotSame(String, Object, Object) - Static method in class junit.framework.Assert
 
FailOnTimeout - Class in org.junit.internal.runners.statements
 
FailOnTimeout(Statement, long) - Constructor for class org.junit.internal.runners.statements.FailOnTimeout
 
failSame(String) - Static method in class junit.framework.Assert
 
Failure - Class in org.junit.runner.notification
A Failure holds a description of the failed test and the exception that was thrown while running it.
Failure(Description, Throwable) - Constructor for class org.junit.runner.notification.Failure
Constructs a Failure with the given description and exception.
FAILURE_EXIT - Static variable in class junit.textui.TestRunner
 
failureCount() - Method in class junit.framework.TestResult
Gets the number of detected failures.
failureCount() - Method in class org.junit.experimental.results.PrintableResult
Returns the number of failures in this result.
failureCountIs(int) - Static method in class org.junit.experimental.results.ResultMatchers
Matches if there are count failures
failures() - Method in class junit.framework.TestResult
Returns an Enumeration for the failures
fDelta - Variable in class org.junit.internal.InexactComparisonCriteria
 
filter(Filter) - Method in class junit.framework.JUnit4TestAdapter
 
filter(Filter) - Method in class org.junit.internal.runners.JUnit38ClassRunner
 
filter(Filter) - Method in class org.junit.internal.runners.JUnit4ClassRunner
Deprecated.  
Filter - Class in org.junit.runner.manipulation
The canonical case of filtering is when you want to run a single test method in a class.
Filter() - Constructor for class org.junit.runner.manipulation.Filter
 
filter(Filter) - Method in interface org.junit.runner.manipulation.Filterable
Remove tests that don't pass the parameter filter.
filter(Filter) - Method in class org.junit.runners.ParentRunner
 
Filterable - Interface in org.junit.runner.manipulation
Runners that allow filtering should implement this interface.
FilterRequest - Class in org.junit.internal.requests
A filtered Request.
FilterRequest(Request, Filter) - Constructor for class org.junit.internal.requests.FilterRequest
Creates a filtered Request
filterWith(Filter) - Method in class org.junit.runner.Request
Returns a Request that only contains those tests that should run when filter is applied
filterWith(Description) - Method in class org.junit.runner.Request
Returns a Request that only runs contains tests whose Description equals desiredDescription
findDeepAnnotation(Class<T>) - Method in class org.junit.experimental.theories.ParameterSignature
 
finished(FrameworkMethod) - Method in class org.junit.rules.TestWatchman
Invoked when a test method finishes (whether passing or failing)
finished() - Method in interface org.junit.runners.model.RunnerScheduler
Override to implement any behavior that must occur after all children have been scheduled (for example, waiting for them all to finish)
fireTestAssumptionFailed(Failure) - Method in class org.junit.runner.notification.RunNotifier
Invoke to tell listeners that an atomic test flagged that it assumed something false.
fireTestFailure(Failure) - Method in class org.junit.runner.notification.RunNotifier
Invoke to tell listeners that an atomic test failed.
fireTestFinished() - Method in class org.junit.internal.runners.model.EachTestNotifier
 
fireTestFinished(Description) - Method in class org.junit.runner.notification.RunNotifier
Invoke to tell listeners that an atomic test finished.
fireTestIgnored() - Method in class org.junit.internal.runners.model.EachTestNotifier
 
fireTestIgnored(Description) - Method in class org.junit.runner.notification.RunNotifier
Invoke to tell listeners that an atomic test was ignored.
fireTestRunFinished(Result) - Method in class org.junit.runner.notification.RunNotifier
Do not invoke.
fireTestRunStarted(Description) - Method in class org.junit.runner.notification.RunNotifier
Do not invoke.
fireTestStarted() - Method in class org.junit.internal.runners.model.EachTestNotifier
 
fireTestStarted(Description) - Method in class org.junit.runner.notification.RunNotifier
Invoke to tell listeners that an atomic test is about to start.
forFolder(String) - Static method in class org.junit.experimental.max.MaxCore
Deprecated. use storedLocally()
forFolder(File) - Static method in class org.junit.experimental.max.MaxHistory
Loads a MaxHistory from file, or generates a new one that will be saved to file.
format(String, Object, Object) - Static method in class junit.framework.Assert
 
forValue(String, Object) - Static method in class org.junit.experimental.theories.PotentialAssignment
 
FrameworkField - Class in org.junit.runners.model
Represents a field on a test class (currently used only for Rules in BlockJUnit4ClassRunner, but custom runners can make other uses)
FrameworkMethod - Class in org.junit.runners.model
Represents a method on a test class to be invoked at the appropriate point in test execution.
FrameworkMethod(Method) - Constructor for class org.junit.runners.model.FrameworkMethod
Returns a new FrameworkMethod for method

G

get() - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
Current value of the counter.
get(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get(long) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Auto-boxing version of NonBlockingHashMapLong.get(long).
get(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get(Object) - Method in class org.junit.runners.model.FrameworkField
Attempts to retrieve the value of this field on target
getActual() - Method in error junit.framework.ComparisonFailure
Gets the actual string value
getActual() - Method in error org.junit.ComparisonFailure
Returns the actual string value
getActualValues(int, int, boolean) - Method in class org.junit.experimental.theories.internal.Assignments
 
getAllArguments(boolean) - Method in class org.junit.experimental.theories.internal.Assignments
 
getAnnotatedFields(Class<? extends Annotation>) - Method in class org.junit.runners.model.TestClass
Returns, efficiently, all the non-overridden fields in this class and its superclasses that are annotated with annotationClass.
getAnnotatedMethods(Class<? extends Annotation>) - Method in class org.junit.internal.runners.TestClass
Deprecated.  
getAnnotatedMethods(Class<? extends Annotation>) - Method in class org.junit.runners.model.TestClass
Returns, efficiently, all the non-overridden methods in this class and its superclasses that are annotated with annotationClass.
getAnnotatedSupplier(ParameterSignature) - Method in class org.junit.experimental.theories.internal.Assignments
 
getAnnotation(Class<T>) - Method in class org.junit.experimental.theories.ParameterSignature
 
getAnnotation(Class<T>) - Method in class org.junit.runner.Description
 
getAnnotation(Class<T>) - Method in class org.junit.runners.model.FrameworkMethod
Returns the annotation of type annotationType on this method, if one exists.
getAnnotations() - Method in class org.junit.experimental.theories.ParameterSignature
 
getAnnotations() - Method in class org.junit.runner.Description
 
getAnnotations() - Method in class org.junit.runners.model.FrameworkField
 
getAnnotations() - Method in class org.junit.runners.model.FrameworkMethod
Returns the annotations on this method
getAnnotations() - Method in class org.junit.runners.model.TestClass
Returns the annotations on this class
getArgumentStrings(boolean) - Method in class org.junit.experimental.theories.internal.Assignments
 
getCauses() - Method in exception org.junit.internal.runners.InitializationError
Deprecated.  
getCauses() - Method in exception org.junit.runners.model.InitializationError
Returns one or more Throwables that led to this initialization error.
getChildren() - Method in class org.junit.runner.Description
 
getClassName() - Method in class org.junit.runner.Description
 
getConstructor() - Method in class org.junit.internal.runners.TestClass
Deprecated.  
getConstructorArguments(boolean) - Method in class org.junit.experimental.theories.internal.Assignments
 
getCreationContext() - Method in error edu.rice.cs.cunit.concJUnit.CreationContextError
Returns the creation context.
getCurrentThreadGroup() - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Get the current thread group so the AWT handler can use it.
getDefault() - Static method in class junit.framework.JUnit4TestAdapterCache
 
getDescription() - Method in class junit.framework.JUnit4TestAdapter
 
getDescription() - Method in class junit.framework.JUnit4TestCaseFacade
 
getDescription() - Method in class org.junit.experimental.theories.PotentialAssignment
 
getDescription() - Method in class org.junit.internal.builders.IgnoredClassRunner
 
getDescription() - Method in class org.junit.internal.runners.ErrorReportingRunner
 
getDescription() - Method in class org.junit.internal.runners.JUnit38ClassRunner
 
getDescription() - Method in class org.junit.internal.runners.JUnit4ClassRunner
Deprecated.  
getDescription() - Method in interface org.junit.runner.Describable
 
getDescription() - Method in class org.junit.runner.notification.Failure
 
getDescription() - Method in class org.junit.runner.Runner
 
getDescription() - Method in class org.junit.runners.ParentRunner
 
getDisplayName() - Method in class org.junit.runner.Description
 
getEvent() - Method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Get the event that gets notified when the test is done.
getException() - Method in class org.junit.runner.notification.Failure
 
getExpected() - Method in error junit.framework.ComparisonFailure
Gets the expected string value
getExpected() - Method in error org.junit.ComparisonFailure
Returns the expected string value
getFailureCount() - Method in class org.junit.runner.Result
 
getFailures() - Method in exception org.junit.internal.runners.model.MultipleFailureException
 
getFailures() - Method in class org.junit.runner.Result
 
getField() - Method in class org.junit.runners.model.FrameworkField
 
getFilteredTrace(Throwable) - Static method in class junit.runner.BaseTestRunner
Returns a filtered stack trace
getFilteredTrace(String) - Static method in class junit.runner.BaseTestRunner
Filters stack frames from internal JUnit classes
getIgnoreCount() - Method in class org.junit.runner.Result
 
getJavaClass() - Method in class org.junit.internal.runners.TestClass
Deprecated.  
getJavaClass() - Method in class org.junit.runners.model.TestClass
Returns the underlying Java class.
getMessage() - Method in error junit.framework.ComparisonFailure
Returns "..." in place of common prefix and "..." in place of common suffix between expected and actual.
getMessage() - Method in error org.junit.ComparisonFailure
Returns "..." in place of common prefix and "..." in place of common suffix between expected and actual.
getMessage() - Method in error org.junit.internal.ArrayComparisonFailure
 
getMessage() - Method in exception org.junit.internal.AssumptionViolatedException
 
getMessage() - Method in class org.junit.runner.notification.Failure
Convenience method
getMethod() - Method in class org.junit.runners.model.FrameworkMethod
Returns the underlying Java method
getMethodArguments(boolean) - Method in class org.junit.experimental.theories.internal.Assignments
 
getMethodName() - Method in class org.junit.rules.TestName
 
getMethodName() - Method in class org.junit.runner.Description
 
getName() - Method in class junit.framework.TestCase
Gets the name of a TestCase
getName() - Method in class junit.framework.TestSuite
Returns the name of the suite.
getName() - Method in class org.junit.internal.runners.TestClass
Deprecated.  
getName() - Method in class org.junit.runners.model.FrameworkMethod
Returns the method's name
getName() - Method in class org.junit.runners.model.TestClass
Returns the class's name.
getNotifier(TestResult, JUnit4TestAdapter) - Method in class junit.framework.JUnit4TestAdapterCache
 
getOnlyConstructor() - Method in class org.junit.runners.model.TestClass
Returns the only public constructor in the class, or throws an AssertionError if there are more or less than one.
getPreference(String) - Static method in class junit.runner.BaseTestRunner
 
getPreference(String, int) - Static method in class junit.runner.BaseTestRunner
 
getRoot() - Method in class org.junit.rules.TemporaryFolder
 
getRunCount() - Method in class org.junit.runner.Result
 
getRunner() - Method in class org.junit.internal.requests.ClassRequest
 
getRunner() - Method in class org.junit.internal.requests.FilterRequest
 
getRunner() - Method in class org.junit.internal.requests.SortingRequest
 
getRunner() - Method in class org.junit.runner.Request
Returns a Runner for this Request
getRunTime() - Method in class org.junit.runner.Result
 
getSuite(RunnerBuilder, Class<?>[]) - Method in class org.junit.experimental.ParallelComputer
 
getSuite(RunnerBuilder, Class<?>[]) - Method in class org.junit.runner.Computer
Create a suite for classes, building Runners with builder.
getSupplier(ParameterSignature) - Method in class org.junit.experimental.theories.internal.Assignments
 
getTest() - Method in class junit.extensions.TestDecorator
 
getTest(String) - Method in class junit.runner.BaseTestRunner
Returns the Test corresponding to the given suite.
getTestClass() - Method in class junit.framework.JUnit4TestAdapter
 
getTestClass() - Method in class org.junit.runner.Description
 
getTestClass() - Method in class org.junit.runners.ParentRunner
Returns a TestClass object wrapping the class to be executed.
getTestConstructor(Class<? extends TestCase>) - Static method in class junit.framework.TestSuite
Gets a constructor which takes a single String as its argument or a no arg constructor.
getTestHeader() - Method in class org.junit.runner.notification.Failure
 
getTestMethods() - Method in class org.junit.internal.runners.TestClass
Deprecated.  
getTests() - Method in class junit.framework.JUnit4TestAdapter
 
getThreadStartStackTrace(Thread) - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Return the start stack trace for the specified thread.
getTimeout() - Method in class org.junit.internal.runners.TestMethod
Deprecated.  
getTrace() - Method in class org.junit.runner.notification.Failure
Convenience method
getType() - Method in class org.junit.experimental.theories.ParameterSignature
 
getUncaughtException() - Method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Get the uncaught exception, or null if none.
getUncaughtThread() - Method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Get the thread that threw the uncaught exception, or null if none.
getValue() - Method in class org.junit.experimental.theories.PotentialAssignment
 
getValueSources(ParameterSignature) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
 
getValueSources(ParameterSignature) - Method in class org.junit.experimental.theories.ParameterSupplier
 
getValueSources(ParameterSignature) - Method in class org.junit.experimental.theories.suppliers.TestedOnSupplier
 
getVersion() - Method in class org.junit.runner.JUnitCore
 
getWriter() - Method in class junit.textui.ResultPrinter
 

H

handle(Throwable) - Method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup.AwtHandler
Handle an uncaught exception.
handle(Throwable) - Method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup.DummyHandler
Handle an uncaught exception just by printing it.
hasAnnotation(Class<? extends Annotation>) - Method in class org.junit.experimental.theories.ParameterSignature
 
hasBeenNotified() - Method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Returns true if the event has already been notified.
hasFailureContaining(String) - Static method in class org.junit.experimental.results.ResultMatchers
Matches if the result has one or more failures, and at least one of them contains string
hashCode() - Method in class org.junit.runner.Description
 
hashCode() - Method in class org.junit.runners.model.FrameworkMethod
 
hasItem(Matcher<? extends T>) - Static method in class org.junit.internal.matchers.IsCollectionContaining
 
hasItem(T) - Static method in class org.junit.internal.matchers.IsCollectionContaining
 
hasItem(T) - Static method in class org.junit.matchers.JUnitMatchers
 
hasItem(Matcher<? extends T>) - Static method in class org.junit.matchers.JUnitMatchers
 
hasItems(Matcher<? extends T>...) - Static method in class org.junit.internal.matchers.IsCollectionContaining
 
hasItems(T...) - Static method in class org.junit.internal.matchers.IsCollectionContaining
 
hasItems(T...) - Static method in class org.junit.matchers.JUnitMatchers
 
hasItems(Matcher<? extends T>...) - Static method in class org.junit.matchers.JUnitMatchers
 
hasMoreElements() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong.IteratorLong
True if there are more keys to iterate over.
hasNext() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong.IteratorLong
True if there are more keys to iterate over.
hasNext() - Method in class org.hamcrest.internal.ArrayIterator
 
hasNext() - Method in class org.hamcrest.internal.SelfDescribingValueIterator
 
hasSingleFailureContaining(String) - Static method in class org.junit.experimental.results.ResultMatchers
Matches if the result has exactly one failure, and it contains string
hasSuiteMethod(Class<?>) - Method in class org.junit.internal.builders.SuiteMethodBuilder
 

I

id() - Static method in class junit.runner.ConcutestVersion
 
id() - Static method in class junit.runner.Version
 
Ignore - Annotation Type in org.junit
Sometimes you want to temporarily disable a test or a group of tests.
IgnoredBuilder - Class in org.junit.internal.builders
 
IgnoredBuilder() - Constructor for class org.junit.internal.builders.IgnoredBuilder
 
IgnoredClassRunner - Class in org.junit.internal.builders
 
IgnoredClassRunner(Class<?>) - Constructor for class org.junit.internal.builders.IgnoredClassRunner
 
increment() - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
ConcurrentAutoTable.add(long) with +1
InexactComparisonCriteria - Class in org.junit.internal
 
InexactComparisonCriteria(double) - Constructor for class org.junit.internal.InexactComparisonCriteria
 
InitializationError - Exception in org.junit.internal.runners
Deprecated. 
InitializationError(List<Throwable>) - Constructor for exception org.junit.internal.runners.InitializationError
Deprecated.  
InitializationError(Throwable...) - Constructor for exception org.junit.internal.runners.InitializationError
Deprecated.  
InitializationError(String) - Constructor for exception org.junit.internal.runners.InitializationError
Deprecated.  
InitializationError - Exception in org.junit.runners.model
Represents one or more problems encountered while initializing a Runner
InitializationError(List<Throwable>) - Constructor for exception org.junit.runners.model.InitializationError
Construct a new InitializationError with one or more errors errors as causes
InitializationError(String) - Constructor for exception org.junit.runners.model.InitializationError
Construct a new InitializationError with one cause with message string
instanceOf(Class<?>) - Static method in class org.hamcrest.core.IsInstanceOf
Is the value an instance of a particular type?
instanceOf(Class<?>) - Static method in class org.hamcrest.CoreMatchers
Is the value an instance of a particular type?
internal_size() - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
Return the internal counter striping factor.
intValue() - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
Same as ConcurrentAutoTable.get(), included for completeness.
invoke(Object) - Method in class org.junit.internal.runners.TestMethod
Deprecated.  
invokeExplosively(Object, Object...) - Method in class org.junit.runners.model.FrameworkMethod
Returns the result of invoking this method on target with parameters params.
InvokeMethod - Class in org.junit.internal.runners.statements
 
InvokeMethod(FrameworkMethod, Object) - Constructor for class org.junit.internal.runners.statements.InvokeMethod
 
Is<T> - Class in org.hamcrest.core
Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
Is(Matcher<T>) - Constructor for class org.hamcrest.core.Is
 
is(Matcher<T>) - Static method in class org.hamcrest.core.Is
Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
is(T) - Static method in class org.hamcrest.core.Is
This is a shortcut to the frequently used is(equalTo(x)).
is(Class<?>) - Static method in class org.hamcrest.core.Is
This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
is(Matcher<T>) - Static method in class org.hamcrest.CoreMatchers
Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
is(T) - Static method in class org.hamcrest.CoreMatchers
This is a shortcut to the frequently used is(equalTo(x)).
is(Class<?>) - Static method in class org.hamcrest.CoreMatchers
This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
IsAnything<T> - Class in org.hamcrest.core
A matcher that always returns true.
IsAnything() - Constructor for class org.hamcrest.core.IsAnything
 
IsAnything(String) - Constructor for class org.hamcrest.core.IsAnything
 
isCheckJoinEnabled() - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
 
isCheckLuckyEnabled() - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
 
isCheckThreadsEnabled() - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
 
IsCollectionContaining<T> - Class in org.junit.internal.matchers
 
IsCollectionContaining(Matcher<? extends T>) - Constructor for class org.junit.internal.matchers.IsCollectionContaining
 
isComplete() - Method in class org.junit.experimental.theories.internal.Assignments
 
isEmpty() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Returns size() == 0.
isEmpty() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Returns size() == 0.
isEmpty() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Returns size() == 0.
isEmpty() - Method in class org.junit.runner.Description
 
IsEqual<T> - Class in org.hamcrest.core
Is the value equal to another value, as tested by the Object.equals(java.lang.Object) invokedMethod?
IsEqual(T) - Constructor for class org.hamcrest.core.IsEqual
 
isFailure() - Method in class junit.framework.TestFailure
 
isIgnored() - Method in class org.junit.internal.runners.TestMethod
Deprecated.  
IsInstanceOf - Class in org.hamcrest.core
Tests whether the value is an instance of a class.
IsInstanceOf(Class<?>) - Constructor for class org.hamcrest.core.IsInstanceOf
Creates a new instance of IsInstanceOf
IsNot<T> - Class in org.hamcrest.core
Calculates the logical negation of a matcher.
IsNot(Matcher<T>) - Constructor for class org.hamcrest.core.IsNot
 
IsNull<T> - Class in org.hamcrest.core
Is the value null?
IsNull() - Constructor for class org.hamcrest.core.IsNull
 
IsSame<T> - Class in org.hamcrest.core
Is the value the same object as another value?
IsSame(T) - Constructor for class org.hamcrest.core.IsSame
 
isShadowedBy(FrameworkField) - Method in class org.junit.runners.model.FrameworkField
 
isShadowedBy(FrameworkMethod) - Method in class org.junit.runners.model.FrameworkMethod
 
isSuccessful() - Static method in class org.junit.experimental.results.ResultMatchers
Matches if the tests are all successful
isSuite() - Method in class org.junit.runner.Description
 
isTest() - Method in class org.junit.runner.Description
 
iterator() - Method in class org.cliffc.high_scale_lib.NonBlockingHashSet
 
iterator() - Method in class org.cliffc.high_scale_lib.NonBlockingSetInt
Standard Java Iterator.

J

join(String, Object...) - Static method in exception org.junit.experimental.theories.internal.ParameterizedAssertionError
 
join(String, Collection<Object>) - Static method in exception org.junit.experimental.theories.internal.ParameterizedAssertionError
 
junit.extensions - package junit.extensions
Provides extended functionality for JUnit v3.x.
junit.framework - package junit.framework
Provides JUnit v3.x core classes.
junit.runner - package junit.runner
Provides JUnit v3.x test runners.
junit.textui - package junit.textui
Provides JUnit v3.x command line based tool to run tests.
JUnit38ClassRunner - Class in org.junit.internal.runners
 
JUnit38ClassRunner(Class<?>) - Constructor for class org.junit.internal.runners.JUnit38ClassRunner
 
JUnit38ClassRunner(Test) - Constructor for class org.junit.internal.runners.JUnit38ClassRunner
 
JUnit3Builder - Class in org.junit.internal.builders
 
JUnit3Builder() - Constructor for class org.junit.internal.builders.JUnit3Builder
 
JUnit4 - Class in org.junit.runners
Aliases the current default JUnit 4 class runner, for future-proofing.
JUnit4(Class<?>) - Constructor for class org.junit.runners.JUnit4
Constructs a new instance of the default runner
JUnit4Builder - Class in org.junit.internal.builders
 
JUnit4Builder() - Constructor for class org.junit.internal.builders.JUnit4Builder
 
JUnit4ClassRunner - Class in org.junit.internal.runners
Deprecated. Included for backwards compatibility with JUnit 4.4. Will be removed in the next release. Please use BlockJUnit4ClassRunner in place of JUnit4ClassRunner. This may disappear as soon as 1 April 2009
JUnit4ClassRunner(Class<?>) - Constructor for class org.junit.internal.runners.JUnit4ClassRunner
Deprecated.  
JUnit4TestAdapter - Class in junit.framework
 
JUnit4TestAdapter(Class<?>) - Constructor for class junit.framework.JUnit4TestAdapter
 
JUnit4TestAdapter(Class<?>, JUnit4TestAdapterCache) - Constructor for class junit.framework.JUnit4TestAdapter
 
JUnit4TestAdapterCache - Class in junit.framework
 
JUnit4TestAdapterCache() - Constructor for class junit.framework.JUnit4TestAdapterCache
 
JUnit4TestCaseFacade - Class in junit.framework
 
JUnitCore - Class in org.junit.runner
JUnitCore is a facade for running tests.
JUnitCore() - Constructor for class org.junit.runner.JUnitCore
Create a new JUnitCore to run tests.
JUnitMatchers - Class in org.junit.matchers
Convenience import class: these are useful matchers for use with the assertThat method, but they are not currently included in the basic CoreMatchers class from hamcrest.
JUnitMatchers() - Constructor for class org.junit.matchers.JUnitMatchers
 
JUnitSystem - Interface in org.junit.internal
 

K

keys() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Returns an enumeration of the keys in this table.
keys() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Returns an enumeration of the auto-boxed keys in this table.
keys() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Returns an enumeration of the keys in this table.
keys() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Returns an enumeration of the keys in this table.
keySet() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Returns a Set view of the keys contained in this map.
keySet() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Returns a Set view of the keys contained in this map; with care the keys may be iterated over without auto-boxing.
keySet() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Returns a Set view of the keys contained in this map.
keySet() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Returns a Set view of the keys contained in this map.

L

listener() - Method in class org.junit.experimental.max.MaxHistory
 
longValue() - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
Same as ConcurrentAutoTable.get(), included for completeness.
LuckyError - Error in edu.rice.cs.cunit.concJUnit
Class representing a conceptual error of a multithreaded test: the thread end before the test was over, but there was no join.
LuckyError(String) - Constructor for error edu.rice.cs.cunit.concJUnit.LuckyError
Constructs a new "lucky" test error with the specified detail message.
LuckyError(String, StackTraceElement[]) - Constructor for error edu.rice.cs.cunit.concJUnit.LuckyError
Constructs a new "lucky" test error with the specified detail message and creation context.
LuckyError(String, String) - Constructor for error edu.rice.cs.cunit.concJUnit.LuckyError
Constructs a new "lucky" test error with the specified detail message and creation context.

M

main(String[]) - Static method in class junit.runner.ConcutestVersion
 
main(String[]) - Static method in class junit.runner.Version
 
main(String[]) - Static method in class junit.textui.TestRunner
 
main(String...) - Static method in class org.junit.runner.JUnitCore
Run the tests contained in the classes named in the args.
Matcher<T> - Interface in org.hamcrest
A matcher over acceptable values.
matches(Object) - Method in class org.hamcrest.core.AllOf
 
matches(Object) - Method in class org.hamcrest.core.AnyOf
 
matches(Object) - Method in class org.hamcrest.core.DescribedAs
 
matches(Object) - Method in class org.hamcrest.core.Is
 
matches(Object) - Method in class org.hamcrest.core.IsAnything
 
matches(Object) - Method in class org.hamcrest.core.IsEqual
 
matches(Object) - Method in class org.hamcrest.core.IsInstanceOf
 
matches(Object) - Method in class org.hamcrest.core.IsNot
 
matches(Object) - Method in class org.hamcrest.core.IsNull
 
matches(Object) - Method in class org.hamcrest.core.IsSame
 
matches(Object) - Method in interface org.hamcrest.Matcher
Evaluates the matcher for argument item.
matches(Object) - Method in class org.junit.internal.matchers.CombinableMatcher
 
matches(Object) - Method in class org.junit.internal.matchers.TypeSafeMatcher
Method made final to prevent accidental override.
matchesSafely(Iterable<T>) - Method in class org.junit.internal.matchers.IsCollectionContaining
 
matchesSafely(String) - Method in class org.junit.internal.matchers.SubstringMatcher
 
matchesSafely(T) - Method in class org.junit.internal.matchers.TypeSafeMatcher
Subclasses should implement this.
matchMethodDescription(Description) - Static method in class org.junit.runner.manipulation.Filter
Returns a Filter that only runs the single method described by desiredDescription
MaxCore - Class in org.junit.experimental.max
A replacement for JUnitCore, which keeps track of runtime and failure history, and reorders tests to maximize the chances that a failing test occurs early in the test run.
MaxHistory - Class in org.junit.experimental.max
Stores a subset of the history of each test: Last failure timestamp Duration of last execution
method(Class<?>, String) - Static method in class org.junit.runner.Request
Create a Request that, when processed, will run a single test.
methodBlock(FrameworkMethod) - Method in class org.junit.experimental.theories.Theories
 
MethodRoadie - Class in org.junit.internal.runners
Deprecated. Included for backwards compatibility with JUnit 4.4. Will be removed in the next release. Please use BlockJUnit4ClassRunner in place of JUnit4ClassRunner.
MethodRoadie(Object, TestMethod, RunNotifier, Description) - Constructor for class org.junit.internal.runners.MethodRoadie
Deprecated.  
MethodRule - Interface in org.junit.rules
A MethodRule is an alteration in how a test method is run and reported.
methods() - Static method in class org.junit.experimental.ParallelComputer
 
MethodValidator - Class in org.junit.internal.runners
Deprecated. Included for backwards compatibility with JUnit 4.4. Will be removed in the next release. Please use BlockJUnit4ClassRunner in place of JUnit4ClassRunner.
MethodValidator(TestClass) - Constructor for class org.junit.internal.runners.MethodValidator
Deprecated.  
MultipleFailureException - Exception in org.junit.internal.runners.model
 
MultipleFailureException(List<Throwable>) - Constructor for exception org.junit.internal.runners.model.MultipleFailureException
 
MultithreadedTestError - Error in edu.rice.cs.cunit.concJUnit
Class representing a conceptual error of a multithreaded test.
MultithreadedTestError(String) - Constructor for error edu.rice.cs.cunit.concJUnit.MultithreadedTestError
Constructs a new multithreaded test error with the specified detail message.
MultithreadedTestError(String, Throwable) - Constructor for error edu.rice.cs.cunit.concJUnit.MultithreadedTestError
Constructs a new multithreaded test error with the specified detail message and cause.

N

newFile(String) - Method in class org.junit.rules.TemporaryFolder
Returns a new fresh file with the given name under the temporary folder.
newFolder(String) - Method in class org.junit.rules.TemporaryFolder
Returns a new fresh folder with the given name under the temporary folder.
next() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong.IteratorLong
Auto-box and return the next key.
next() - Method in class org.hamcrest.internal.ArrayIterator
 
next() - Method in class org.hamcrest.internal.SelfDescribingValueIterator
 
nextElement() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong.IteratorLong
Auto-box and return the next key.
nextLong() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong.IteratorLong
Return the next key as a primitive long.
nextUnassigned() - Method in class org.junit.experimental.theories.internal.Assignments
 
NoJoinError - Error in edu.rice.cs.cunit.concJUnit
Class representing a conceptual error of a multithreaded test: the thread did not end before the test was over.
NoJoinError(String) - Constructor for error edu.rice.cs.cunit.concJUnit.NoJoinError
Constructs a new "no join" test error with the specified detail message.
NoJoinError(String, StackTraceElement[]) - Constructor for error edu.rice.cs.cunit.concJUnit.NoJoinError
Constructs a new "no join" test error with the specified detail message and creation context.
NoJoinError(String, String) - Constructor for error edu.rice.cs.cunit.concJUnit.NoJoinError
Constructs a new "no join" test error with the specified detail message and creation context.
NonBlockingHashMap<TypeK,TypeV> - Class in org.cliffc.high_scale_lib
A lock-free alternate implementation of ConcurrentHashMap with better scaling properties and generally lower costs to mutate the Map.
NonBlockingHashMap() - Constructor for class org.cliffc.high_scale_lib.NonBlockingHashMap
Create a new NonBlockingHashMap with default minimum size (currently set to 8 K/V pairs or roughly 84 bytes on a standard 32-bit JVM).
NonBlockingHashMap(int) - Constructor for class org.cliffc.high_scale_lib.NonBlockingHashMap
Create a new NonBlockingHashMap with initial room for the given number of elements, thus avoiding internal resizing operations to reach an appropriate size.
NonBlockingHashMapLong<TypeV> - Class in org.cliffc.high_scale_lib
A lock-free alternate implementation of ConcurrentHashMap with primitive long keys, better scaling properties and generally lower costs.
NonBlockingHashMapLong() - Constructor for class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Create a new NonBlockingHashMapLong with default minimum size (currently set to 8 K/V pairs or roughly 84 bytes on a standard 32-bit JVM).
NonBlockingHashMapLong(int) - Constructor for class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Create a new NonBlockingHashMapLong with initial room for the given number of elements, thus avoiding internal resizing operations to reach an appropriate size.
NonBlockingHashMapLong(boolean) - Constructor for class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Create a new NonBlockingHashMapLong, setting the space-for-speed tradeoff.
NonBlockingHashMapLong(int, boolean) - Constructor for class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Create a new NonBlockingHashMapLong, setting both the initial size and the space-for-speed tradeoff.
NonBlockingHashMapLong.IteratorLong - Class in org.cliffc.high_scale_lib
A class which implements the Iterator and Enumeration interfaces, generified to the Long class and supporting a non-auto-boxing NonBlockingHashMapLong.IteratorLong.nextLong() function.
NonBlockingHashMapLong.IteratorLong() - Constructor for class org.cliffc.high_scale_lib.NonBlockingHashMapLong.IteratorLong
A new IteratorLong
NonBlockingHashSet<E> - Class in org.cliffc.high_scale_lib
A simple wrapper around NonBlockingHashMap making it implement the Set interface.
NonBlockingHashSet() - Constructor for class org.cliffc.high_scale_lib.NonBlockingHashSet
Make a new empty NonBlockingHashSet.
NonBlockingHashtable<TypeK,TypeV> - Class in org.cliffc.high_scale_lib
A lock-free alternate implementation of ConcurrentHashMap with better scaling properties and generally lower costs to mutate the Map.
NonBlockingHashtable() - Constructor for class org.cliffc.high_scale_lib.NonBlockingHashtable
Create a new NonBlockingHashtable with default minimum size (currently set to 8 K/V pairs or roughly 84 bytes on a standard 32-bit JVM).
NonBlockingHashtable(int) - Constructor for class org.cliffc.high_scale_lib.NonBlockingHashtable
Create a new NonBlockingHashtable with initial room for the given number of elements, thus avoiding internal resizing operations to reach an appropriate size.
NonBlockingIdentityHashMap<TypeK,TypeV> - Class in org.cliffc.high_scale_lib
A lock-free alternate implementation of ConcurrentHashMap with better scaling properties and generally lower costs to mutate the Map.
NonBlockingIdentityHashMap() - Constructor for class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Create a new NonBlockingHashMap with default minimum size (currently set to 8 K/V pairs or roughly 84 bytes on a standard 32-bit JVM).
NonBlockingIdentityHashMap(int) - Constructor for class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Create a new NonBlockingHashMap with initial room for the given number of elements, thus avoiding internal resizing operations to reach an appropriate size.
NonBlockingSetInt - Class in org.cliffc.high_scale_lib
A multi-threaded bit-vector set, implemented as an array of primitive longs.
NonBlockingSetInt() - Constructor for class org.cliffc.high_scale_lib.NonBlockingSetInt
Create a new empty bit-vector
none() - Static method in class org.junit.rules.ExpectedException
 
not(Matcher<T>) - Static method in class org.hamcrest.core.IsNot
Inverts the rule.
not(T) - Static method in class org.hamcrest.core.IsNot
This is a shortcut to the frequently used not(equalTo(x)).
not(Matcher<T>) - Static method in class org.hamcrest.CoreMatchers
Inverts the rule.
not(T) - Static method in class org.hamcrest.CoreMatchers
This is a shortcut to the frequently used not(equalTo(x)).
NoTestsRemainException - Exception in org.junit.runner.manipulation
Thrown when a filter removes all tests from a runner.
NoTestsRemainException() - Constructor for exception org.junit.runner.manipulation.NoTestsRemainException
 
notifyEvent() - Method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Signal that the event has occurred.
notNullValue() - Static method in class org.hamcrest.core.IsNull
Matches if value is not null.
notNullValue(Class<T>) - Static method in class org.hamcrest.core.IsNull
Matches if value is not null.
notNullValue() - Static method in class org.hamcrest.CoreMatchers
Matches if value is not null.
notNullValue(Class<T>) - Static method in class org.hamcrest.CoreMatchers
Matches if value is not null.
NULL - Static variable in class org.junit.runner.manipulation.Sorter
NULL is a Sorter that leaves elements in an undefined order
NullBuilder - Class in org.junit.internal.builders
 
NullBuilder() - Constructor for class org.junit.internal.builders.NullBuilder
 
nullValue() - Static method in class org.hamcrest.core.IsNull
Matches if value is null.
nullValue(Class<T>) - Static method in class org.hamcrest.core.IsNull
Matches if value is null.
nullValue() - Static method in class org.hamcrest.CoreMatchers
Matches if value is null.
nullValue(Class<T>) - Static method in class org.hamcrest.CoreMatchers
Matches if value is null.

O

or(Matcher<? extends T>) - Method in class org.junit.internal.matchers.CombinableMatcher
 
org.cliffc.high_scale_lib - package org.cliffc.high_scale_lib
 
org.hamcrest - package org.hamcrest
The stable API defining Matcher and its associated interfaces and classes.
org.hamcrest.core - package org.hamcrest.core
Fundamental matchers of objects and values, and composite matchers.
org.hamcrest.internal - package org.hamcrest.internal
 
org.junit - package org.junit
Provides JUnit core classes and annotations.
org.junit.experimental - package org.junit.experimental
 
org.junit.experimental.max - package org.junit.experimental.max
 
org.junit.experimental.results - package org.junit.experimental.results
 
org.junit.experimental.runners - package org.junit.experimental.runners
 
org.junit.experimental.theories - package org.junit.experimental.theories
 
org.junit.experimental.theories.internal - package org.junit.experimental.theories.internal
 
org.junit.experimental.theories.suppliers - package org.junit.experimental.theories.suppliers
 
org.junit.internal - package org.junit.internal
 
org.junit.internal.builders - package org.junit.internal.builders
 
org.junit.internal.matchers - package org.junit.internal.matchers
 
org.junit.internal.requests - package org.junit.internal.requests
Provides implementations of Request.
org.junit.internal.runners - package org.junit.internal.runners
Provides implementations of Runner
org.junit.internal.runners.model - package org.junit.internal.runners.model
 
org.junit.internal.runners.statements - package org.junit.internal.runners.statements
 
org.junit.matchers - package org.junit.matchers
Provides useful additional Matchers for use with the Assert.assertThat(Object, org.hamcrest.Matcher) statement
org.junit.rules - package org.junit.rules
 
org.junit.runner - package org.junit.runner
Provides classes used to describe, collect, run and analyze multiple tests.
org.junit.runner.manipulation - package org.junit.runner.manipulation
Provides classes to filter or sort tests.
org.junit.runner.notification - package org.junit.runner.notification
Provides information about a test run.
org.junit.runners - package org.junit.runners
Provides standard Runner implementations.
org.junit.runners.model - package org.junit.runners.model
 
out() - Method in interface org.junit.internal.JUnitSystem
 
out() - Method in class org.junit.internal.RealSystem
 

P

ParallelComputer - Class in org.junit.experimental
 
ParallelComputer(boolean, boolean) - Constructor for class org.junit.experimental.ParallelComputer
 
Parameterized - Class in org.junit.runners
The custom runner Parameterized implements parameterized tests.
Parameterized(Class<?>) - Constructor for class org.junit.runners.Parameterized
Only called reflectively.
Parameterized.Parameters - Annotation Type in org.junit.runners
Annotation for a method which provides parameters to be injected into the test class constructor by Parameterized
ParameterizedAssertionError - Exception in org.junit.experimental.theories.internal
 
ParameterizedAssertionError(Throwable, String, Object...) - Constructor for exception org.junit.experimental.theories.internal.ParameterizedAssertionError
 
ParameterSignature - Class in org.junit.experimental.theories
 
ParametersSuppliedBy - Annotation Type in org.junit.experimental.theories
 
ParameterSupplier - Class in org.junit.experimental.theories
 
ParameterSupplier() - Constructor for class org.junit.experimental.theories.ParameterSupplier
 
ParentRunner<T> - Class in org.junit.runners
Provides most of the functionality specific to a Runner that implements a "parent node" in the test tree, with children defined by objects of some data type T.
parseCreationContextString(String) - Static method in error edu.rice.cs.cunit.concJUnit.CreationContextError
Parse a creation context string.
pleaseStop() - Method in class org.junit.runner.notification.RunNotifier
Ask that the tests run stop before starting the next test.
PotentialAssignment - Class in org.junit.experimental.theories
 
PotentialAssignment() - Constructor for class org.junit.experimental.theories.PotentialAssignment
 
PotentialAssignment.CouldNotGenerateValueException - Exception in org.junit.experimental.theories
 
PotentialAssignment.CouldNotGenerateValueException() - Constructor for exception org.junit.experimental.theories.PotentialAssignment.CouldNotGenerateValueException
 
potentialsForNextUnassigned() - Method in class org.junit.experimental.theories.internal.Assignments
 
print() - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
A more verbose print than ConcurrentAutoTable.toString(), showing internal structure.
print() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Verbose printout of table internals, useful for debugging.
print() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Verbose printout of table internals, useful for debugging.
print() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Verbose printout of table internals, useful for debugging.
print() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Verbose printout of table internals, useful for debugging.
print() - Method in class org.cliffc.high_scale_lib.NonBlockingSetInt
Verbose printout of internal structure for debugging.
PrintableResult - Class in org.junit.experimental.results
A test result that prints nicely in error messages.
PrintableResult(List<Failure>) - Constructor for class org.junit.experimental.results.PrintableResult
A result that includes the given failures
printDefect(TestFailure, int) - Method in class junit.textui.ResultPrinter
 
producesType(Class<?>) - Method in class org.junit.runners.model.FrameworkMethod
Returns true iff this is a no-arg method that returns a value assignable to type
protect() - Method in interface junit.framework.Protectable
Run the the following method protected.
Protectable - Interface in junit.framework
A Protectable can be run and can throw a Throwable.
put(TypeK, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Maps the specified key to the specified value in the table.
put(long, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Maps the specified key to the specified value in the table.
put(Long, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Auto-boxing version of NonBlockingHashMapLong.put(long, TypeV).
put(TypeK, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Maps the specified key to the specified value in the table.
put(TypeK, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Maps the specified key to the specified value in the table.
putAll(Map<? extends TypeK, ? extends TypeV>) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Copies all of the mappings from the specified map to this one, replacing any existing mappings.
putAll(Map<? extends TypeK, ? extends TypeV>) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Copies all of the mappings from the specified map to this one, replacing any existing mappings.
putAll(Map<? extends TypeK, ? extends TypeV>) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Copies all of the mappings from the specified map to this one, replacing any existing mappings.
putIfAbsent(TypeK, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Atomically, do a NonBlockingHashMap.put(TypeK, TypeV) if-and-only-if the key is not mapped.
putIfAbsent(long, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Atomically, do a NonBlockingHashMapLong.put(long, TypeV) if-and-only-if the key is not mapped.
putIfAbsent(Long, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Auto-boxing version of NonBlockingHashMapLong.putIfAbsent(long, TypeV).
putIfAbsent(TypeK, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Atomically, do a NonBlockingHashtable.put(TypeK, TypeV) if-and-only-if the key is not mapped.
putIfAbsent(TypeK, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Atomically, do a NonBlockingIdentityHashMap.put(TypeK, TypeV) if-and-only-if the key is not mapped.

R

readOnly() - Method in class org.cliffc.high_scale_lib.NonBlockingHashSet
Atomically make the set immutable.
RealSystem - Class in org.junit.internal
 
RealSystem() - Constructor for class org.junit.internal.RealSystem
 
ReflectiveCallable - Class in org.junit.internal.runners.model
When invoked, throws the exception from the reflected method, rather than wrapping it in an InvocationTargetException.
ReflectiveCallable() - Constructor for class org.junit.internal.runners.model.ReflectiveCallable
 
remove(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Removes the key (and its corresponding value) from this map.
remove(Object, Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Atomically do a NonBlockingHashMap.remove(Object) if-and-only-if the key is mapped to a value which is equals to the given value.
remove() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong.IteratorLong
Remove last key returned by NonBlockingHashMapLong.IteratorLong.next() or NonBlockingHashMapLong.IteratorLong.nextLong().
remove(long) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Removes the key (and its corresponding value) from this map.
remove(long, Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Atomically do a NonBlockingHashMapLong.remove(long) if-and-only-if the key is mapped to a value which is equals to the given value.
remove(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Auto-boxing version of NonBlockingHashMapLong.remove(long).
remove(Object, Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Auto-boxing version of NonBlockingHashMapLong.remove(long,Object).
remove(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashSet
Remove o from the set.
remove(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Removes the key (and its corresponding value) from this map.
remove(Object, Object) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Atomically do a NonBlockingHashtable.remove(Object) if-and-only-if the key is mapped to a value which is equals to the given value.
remove(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Removes the key (and its corresponding value) from this map.
remove(Object, Object) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Atomically do a NonBlockingIdentityHashMap.remove(Object) if-and-only-if the key is mapped to a value which is equals to the given value.
remove(Object) - Method in class org.cliffc.high_scale_lib.NonBlockingSetInt
Remove o from the set.
remove(int) - Method in class org.cliffc.high_scale_lib.NonBlockingSetInt
Remove i from the set.
remove() - Method in class org.hamcrest.internal.ArrayIterator
 
remove() - Method in class org.hamcrest.internal.SelfDescribingValueIterator
 
removeListener(TestListener) - Method in class junit.framework.TestResult
Unregisters a TestListener
removeListener(RunListener) - Method in class org.junit.runner.JUnitCore
Remove a listener.
removeListener(RunListener) - Method in class org.junit.runner.notification.RunNotifier
Internal use only
RepeatedTest - Class in junit.extensions
A Decorator that runs a test repeatedly.
RepeatedTest(Test, int) - Constructor for class junit.extensions.RepeatedTest
 
replace(TypeK, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Atomically do a put(key,val) if-and-only-if the key is mapped to some value already.
replace(TypeK, TypeV, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Atomically do a put(key,newValue) if-and-only-if the key is mapped a value which is equals to oldValue.
replace(long, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Atomically do a put(key,val) if-and-only-if the key is mapped to some value already.
replace(long, TypeV, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Atomically do a put(key,newValue) if-and-only-if the key is mapped a value which is equals to oldValue.
replace(Long, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Auto-boxing version of NonBlockingHashMapLong.replace(long, TypeV).
replace(Long, TypeV, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Auto-boxing version of NonBlockingHashMapLong.replace(long, TypeV).
replace(TypeK, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Atomically do a put(key,val) if-and-only-if the key is mapped to some value already.
replace(TypeK, TypeV, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Atomically do a put(key,newValue) if-and-only-if the key is mapped a value which is equals to oldValue.
replace(TypeK, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Atomically do a put(key,val) if-and-only-if the key is mapped to some value already.
replace(TypeK, TypeV, TypeV) - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Atomically do a put(key,newValue) if-and-only-if the key is mapped a value which is equals to oldValue.
reprobes() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Get and clear the current count of reprobes.
reprobes() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Get and clear the current count of reprobes.
reprobes() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Get and clear the current count of reprobes.
reprobes() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Get and clear the current count of reprobes.
Request - Class in org.junit.runner
A Request is an abstract description of tests to be run.
Request() - Constructor for class org.junit.runner.Request
 
Result - Class in org.junit.runner
A Result collects and summarizes information from running multiple tests.
Result() - Constructor for class org.junit.runner.Result
 
ResultMatchers - Class in org.junit.experimental.results
Matchers on a PrintableResult, to enable JUnit self-tests.
ResultMatchers() - Constructor for class org.junit.experimental.results.ResultMatchers
 
ResultPrinter - Class in junit.textui
 
ResultPrinter(PrintStream) - Constructor for class junit.textui.ResultPrinter
 
Rule - Annotation Type in org.junit
Annotates fields that contain rules.
run(TestResult) - Method in class junit.extensions.ActiveTestSuite
 
run(TestResult) - Method in class junit.extensions.RepeatedTest
 
run(TestResult) - Method in class junit.extensions.TestDecorator
 
run(TestResult) - Method in class junit.extensions.TestSetup
 
run(TestResult) - Method in class junit.framework.JUnit4TestAdapter
 
run(TestResult) - Method in class junit.framework.JUnit4TestCaseFacade
 
run(TestResult) - Method in interface junit.framework.Test
Runs a test and collects its result in a TestResult instance.
run() - Method in class junit.framework.TestCase
A convenience method to run this test, collecting the results with a default TestResult object.
run(TestResult) - Method in class junit.framework.TestCase
Runs the test case and collects the results in TestResult.
run(TestResult) - Method in class junit.framework.TestSuite
Runs the tests and collects their result in a TestResult.
run(Class<? extends TestCase>) - Static method in class junit.textui.TestRunner
Runs a suite extracted from a TestCase subclass.
run(Test) - Static method in class junit.textui.TestRunner
Runs a single test and collects its results.
run(Class<?>) - Method in class org.junit.experimental.max.MaxCore
Run all the tests in class.
run(Request) - Method in class org.junit.experimental.max.MaxCore
Run all the tests contained in request.
run(Request, JUnitCore) - Method in class org.junit.experimental.max.MaxCore
Run all the tests contained in request.
run(RunNotifier) - Method in class org.junit.internal.builders.IgnoredClassRunner
 
run(RunNotifier) - Method in class org.junit.internal.runners.ErrorReportingRunner
 
run(RunNotifier) - Method in class org.junit.internal.runners.JUnit38ClassRunner
 
run(RunNotifier) - Method in class org.junit.internal.runners.JUnit4ClassRunner
Deprecated.  
run() - Method in class org.junit.internal.runners.MethodRoadie
Deprecated.  
run() - Method in class org.junit.internal.runners.model.ReflectiveCallable
 
run(Class<?>...) - Method in class org.junit.runner.JUnitCore
Run all the tests in classes.
run(Computer, Class<?>...) - Method in class org.junit.runner.JUnitCore
Run all the tests in classes.
run(Request) - Method in class org.junit.runner.JUnitCore
Run all the tests contained in request.
run(Test) - Method in class org.junit.runner.JUnitCore
Run all the tests contained in JUnit 3.8.x test.
run(Runner) - Method in class org.junit.runner.JUnitCore
Do not use.
run(RunNotifier) - Method in class org.junit.runner.Runner
Run the tests for this runner.
run(RunNotifier) - Method in class org.junit.runners.ParentRunner
 
RunAfters - Class in org.junit.internal.runners.statements
 
RunAfters(Statement, List<FrameworkMethod>, Object) - Constructor for class org.junit.internal.runners.statements.RunAfters
 
runAndWait(Test) - Static method in class junit.textui.TestRunner
Runs a single test and waits until the user types RETURN.
runBare() - Method in class junit.framework.TestCase
Runs the bare test sequence.
RunBefores - Class in org.junit.internal.runners.statements
 
RunBefores(Statement, List<FrameworkMethod>, Object) - Constructor for class org.junit.internal.runners.statements.RunBefores
 
runBeforesThenTestThenAfters(Runnable) - Method in class org.junit.internal.runners.MethodRoadie
Deprecated.  
runClasses(Computer, Class<?>...) - Static method in class org.junit.runner.JUnitCore
Run the tests contained in classes.
runClasses(Class<?>...) - Static method in class org.junit.runner.JUnitCore
Run the tests contained in classes.
runCount() - Method in class junit.framework.TestResult
Gets the number of run tests.
runFinished() - Method in class junit.extensions.ActiveTestSuite
 
RunInThreadGroup - Class in edu.rice.cs.cunit.concJUnit
 
RunInThreadGroup(Statement, Method) - Constructor for class edu.rice.cs.cunit.concJUnit.RunInThreadGroup
 
RunInThreadGroup(Statement, Method, boolean, boolean) - Constructor for class edu.rice.cs.cunit.concJUnit.RunInThreadGroup
 
RunListener - Class in org.junit.runner.notification
If you need to respond to the events during a test run, extend RunListener and override the appropriate methods.
RunListener() - Constructor for class org.junit.runner.notification.RunListener
 
runMain(JUnitSystem, String...) - Method in class org.junit.runner.JUnitCore
Do not use.
runMainAndExit(JUnitSystem, String...) - Static method in class org.junit.runner.JUnitCore
Do not use.
runner(Runner) - Static method in class org.junit.runner.Request
 
Runner - Class in org.junit.runner
A Runner runs tests and notifies a RunNotifier of significant events as it does so.
Runner() - Constructor for class org.junit.runner.Runner
 
RunnerBuilder - Class in org.junit.runners.model
A RunnerBuilder is a strategy for constructing runners for classes.
RunnerBuilder() - Constructor for class org.junit.runners.model.RunnerBuilder
 
runnerForClass(Class<?>) - Method in class org.junit.internal.builders.AllDefaultPossibilitiesBuilder
 
runnerForClass(Class<?>) - Method in class org.junit.internal.builders.AnnotatedBuilder
 
runnerForClass(Class<?>) - Method in class org.junit.internal.builders.IgnoredBuilder
 
runnerForClass(Class<?>) - Method in class org.junit.internal.builders.JUnit3Builder
 
runnerForClass(Class<?>) - Method in class org.junit.internal.builders.JUnit4Builder
 
runnerForClass(Class<?>) - Method in class org.junit.internal.builders.NullBuilder
 
runnerForClass(Class<?>) - Method in class org.junit.internal.builders.SuiteMethodBuilder
 
runnerForClass(Class<?>) - Method in class org.junit.runners.model.RunnerBuilder
Override to calculate the correct runner for a test class at runtime.
runners(Class<?>, Class<?>[]) - Method in class org.junit.runners.model.RunnerBuilder
Constructs and returns a list of Runners, one for each child class in children.
RunnerScheduler - Interface in org.junit.runners.model
Represents a strategy for scheduling when individual test methods should be run (in serial or parallel) WARNING: still experimental, may go away.
RunNotifier - Class in org.junit.runner.notification
If you write custom runners, you may need to notify JUnit of your progress running tests.
RunNotifier() - Constructor for class org.junit.runner.notification.RunNotifier
 
runProtected(Test, Protectable) - Method in class junit.framework.TestResult
Runs a TestCase.
runProtected() - Method in class org.junit.internal.runners.ClassRoadie
Deprecated.  
runTest(Test, TestResult) - Method in class junit.extensions.ActiveTestSuite
 
runTest(Test, TestResult) - Method in class junit.framework.TestSuite
 
runTest() - Method in class org.junit.internal.runners.MethodRoadie
Deprecated.  
RunWith - Annotation Type in org.junit.runner
When a class is annotated with @RunWith or extends a class annotated with @RunWith, JUnit will invoke the class it references to run the tests in that class instead of the runner built into JUnit.

S

safeRunnerForClass(Class<?>) - Method in class org.junit.runners.model.RunnerBuilder
Always returns a runner, even if it is just one that prints an error instead of running tests.
sameInstance(T) - Static method in class org.hamcrest.core.IsSame
Creates a new instance of IsSame
sameInstance(T) - Static method in class org.hamcrest.CoreMatchers
Creates a new instance of IsSame
savePreferences() - Static method in class junit.runner.BaseTestRunner
 
schedule(Runnable) - Method in interface org.junit.runners.model.RunnerScheduler
Schedule a child statement to run
SelfDescribing - Interface in org.hamcrest
The ability of an object to describe itself.
SelfDescribingValue<T> - Class in org.hamcrest.internal
 
SelfDescribingValue(T) - Constructor for class org.hamcrest.internal.SelfDescribingValue
 
SelfDescribingValueIterator<T> - Class in org.hamcrest.internal
 
SelfDescribingValueIterator(Iterator<T>) - Constructor for class org.hamcrest.internal.SelfDescribingValueIterator
 
serial() - Static method in class org.junit.runner.Computer
Returns a new default computer, which runs tests in serial order
set(long) - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
Atomically set the sum of the striped counters to specified value.
setCurrentThreadGroup(TestThreadGroup) - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Set the current thread group so the AWT handler can use it.
setLoading(boolean) - Method in class junit.runner.BaseTestRunner
Sets the loading behaviour of the test runner
setName(String) - Method in class junit.framework.TestCase
Sets the name of a TestCase
setName(String) - Method in class junit.framework.TestSuite
Sets the name of the suite.
setNotified() - Method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Sets the notified flag to true.
setPreference(String, String) - Static method in class junit.runner.BaseTestRunner
 
setPrinter(ResultPrinter) - Method in class junit.textui.TestRunner
 
setScheduler(RunnerScheduler) - Method in class org.junit.runners.ParentRunner
Sets a scheduler that determines the order and parallelization of children.
shouldIgnoreThread(Thread) - Static method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Return true if the specified thread should be ignored because it is a system thread or a daemon.
shouldRun(Description) - Method in class org.junit.runner.manipulation.Filter
 
shouldStop() - Method in class junit.framework.TestResult
Checks whether the test run should stop
signatures(Method) - Static method in class org.junit.experimental.theories.ParameterSignature
 
signatures(Constructor<?>) - Static method in class org.junit.experimental.theories.ParameterSignature
 
size() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Returns the number of key-value mappings in this map.
size() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Returns the number of key-value mappings in this map.
size() - Method in class org.cliffc.high_scale_lib.NonBlockingHashSet
Current count of elements in the set.
size() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Returns the number of key-value mappings in this map.
size() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Returns the number of key-value mappings in this map.
size() - Method in class org.cliffc.high_scale_lib.NonBlockingSetInt
Current count of elements in the set.
sort(Sorter) - Method in class junit.framework.JUnit4TestAdapter
 
sort(Sorter) - Method in class org.junit.internal.runners.JUnit38ClassRunner
 
sort(Sorter) - Method in class org.junit.internal.runners.JUnit4ClassRunner
Deprecated.  
sort(Sorter) - Method in interface org.junit.runner.manipulation.Sortable
Sorts the tests using sorter
sort(Sorter) - Method in class org.junit.runners.ParentRunner
 
Sortable - Interface in org.junit.runner.manipulation
Interface for runners that allow sorting of tests.
sortedLeavesForTest(Request) - Method in class org.junit.experimental.max.MaxCore
 
Sorter - Class in org.junit.runner.manipulation
A Sorter orders tests.
Sorter(Comparator<Description>) - Constructor for class org.junit.runner.manipulation.Sorter
Creates a Sorter that uses comparator to sort tests
SortingRequest - Class in org.junit.internal.requests
 
SortingRequest(Request, Comparator<Description>) - Constructor for class org.junit.internal.requests.SortingRequest
 
sortRequest(Request) - Method in class org.junit.experimental.max.MaxCore
 
sortWith(Comparator<Description>) - Method in class org.junit.runner.Request
Returns a Request whose Tests can be run in a certain order, defined by comparator For example, here is code to run a test suite in alphabetical order:
start(String[]) - Method in class junit.textui.TestRunner
Starts a test run.
starting(FrameworkMethod) - Method in class org.junit.rules.TestName
 
starting(FrameworkMethod) - Method in class org.junit.rules.TestWatchman
Invoked when a test method is about to start
startTest(Test) - Method in interface junit.framework.TestListener
A test started.
startTest(Test) - Method in class junit.framework.TestResult
Informs the result that a test will be started.
startTest(Test) - Method in class junit.runner.BaseTestRunner
 
startTest(Test) - Method in class junit.textui.ResultPrinter
 
Statement - Class in org.junit.runners.model
Represents one or more actions to be taken at runtime in the course of running a JUnit test suite.
Statement() - Constructor for class org.junit.runners.model.Statement
 
STATUS_ERROR - Static variable in interface junit.runner.TestRunListener
 
STATUS_FAILURE - Static variable in interface junit.runner.TestRunListener
 
stop() - Method in class junit.framework.TestResult
Marks that the test run should stop.
StoppedByUserException - Exception in org.junit.runner.notification
Thrown when a user has requested that the test run stop.
StoppedByUserException() - Constructor for exception org.junit.runner.notification.StoppedByUserException
 
storedLocally(File) - Static method in class org.junit.experimental.max.MaxCore
Create a new MaxCore from a serialized file stored at storedResults
StringContains - Class in org.junit.internal.matchers
Tests if the argument is a string that contains a substring.
StringContains(String) - Constructor for class org.junit.internal.matchers.StringContains
 
StringDescription - Class in org.hamcrest
A Description that is stored as a string.
StringDescription() - Constructor for class org.hamcrest.StringDescription
 
StringDescription(Appendable) - Constructor for class org.hamcrest.StringDescription
 
SubstringMatcher - Class in org.junit.internal.matchers
 
succeeded(FrameworkMethod) - Method in class org.junit.rules.TestWatchman
Invoked when a test method succeeds
SUCCESS_EXIT - Static variable in class junit.textui.TestRunner
 
Suite - Class in org.junit.runners
Using Suite as a runner allows you to manually build a suite containing tests from many classes.
Suite(Class<?>, RunnerBuilder) - Constructor for class org.junit.runners.Suite
Called reflectively on classes annotated with @RunWith(Suite.class)
Suite(RunnerBuilder, Class<?>[]) - Constructor for class org.junit.runners.Suite
Call this when there is no single root class (for example, multiple class names passed on the command line to JUnitCore
Suite.SuiteClasses - Annotation Type in org.junit.runners
The SuiteClasses annotation specifies the classes to be run when a class annotated with @RunWith(Suite.class) is run.
SUITE_METHODNAME - Static variable in class junit.runner.BaseTestRunner
 
SuiteMethod - Class in org.junit.internal.runners
Runner for use with JUnit 3.8.x-style AllTests classes (those that only implement a static suite() method).
SuiteMethod(Class<?>) - Constructor for class org.junit.internal.runners.SuiteMethod
 
SuiteMethodBuilder - Class in org.junit.internal.builders
 
SuiteMethodBuilder() - Constructor for class org.junit.internal.builders.SuiteMethodBuilder
 

T

TemporaryFolder - Class in org.junit.rules
The TemporaryFolder Rule allows creation of files and folders that are guaranteed to be deleted when the test method finishes (whether it passes or fails):
TemporaryFolder() - Constructor for class org.junit.rules.TemporaryFolder
 
Test - Interface in junit.framework
A Test can be run and collect its results.
Test - Annotation Type in org.junit
The Test annotation tells JUnit that the public void method to which it is attached can be run as a test case.
Test.None - Class in org.junit
Default empty exception
TEST_MECHANISM - Static variable in class org.junit.runner.Description
Describes a step in the test-running mechanism that goes so wrong no other description can be used (for example, an exception thrown from a Runner's constructor
testAssumptionFailure(Failure) - Method in class org.junit.runner.notification.RunListener
Called when an atomic test flags that it assumes a condition that is false
testAt(int) - Method in class junit.framework.TestSuite
Returns the test at the given index
TestCase - Class in junit.framework
A test case defines the fixture to run multiple tests.
TestCase() - Constructor for class junit.framework.TestCase
No-arg constructor to enable serialization.
TestCase(String) - Constructor for class junit.framework.TestCase
Constructs a test case with the given name.
TestCase.WrappedException - Exception in junit.framework
Exception class to get a checked exception out of a Runnable.
TestCase.WrappedException(Throwable) - Constructor for exception junit.framework.TestCase.WrappedException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
TestClass - Class in org.junit.internal.runners
Deprecated. Included for backwards compatibility with JUnit 4.4. Will be removed in the next release. Please use BlockJUnit4ClassRunner in place of JUnit4ClassRunner.
TestClass(Class<?>) - Constructor for class org.junit.internal.runners.TestClass
Deprecated.  
TestClass - Class in org.junit.runners.model
Wraps a class to be run, providing method validation and annotation searching
TestClass(Class<?>) - Constructor for class org.junit.runners.model.TestClass
Creates a TestClass wrapping klass.
testComparator() - Method in class org.junit.experimental.max.MaxHistory
 
testCount() - Method in class junit.framework.TestSuite
Returns the number of tests in this suite
testCount() - Method in class org.junit.runner.Description
 
testCount() - Method in class org.junit.runner.Runner
 
TestDecorator - Class in junit.extensions
A Decorator for Tests.
TestDecorator(Test) - Constructor for class junit.extensions.TestDecorator
 
TestedOn - Annotation Type in org.junit.experimental.theories.suppliers
 
TestedOnSupplier - Class in org.junit.experimental.theories.suppliers
 
TestedOnSupplier() - Constructor for class org.junit.experimental.theories.suppliers.TestedOnSupplier
 
testEnded(String) - Method in class junit.runner.BaseTestRunner
 
testEnded(String) - Method in interface junit.runner.TestRunListener
 
testEnded(String) - Method in class junit.textui.TestRunner
 
testFailed(int, Test, Throwable) - Method in class junit.runner.BaseTestRunner
 
testFailed(int, String, String) - Method in interface junit.runner.TestRunListener
 
testFailed(int, Test, Throwable) - Method in class junit.textui.TestRunner
 
TestFailure - Class in junit.framework
A TestFailure collects a failed test together with the caught exception.
TestFailure(Test, Throwable) - Constructor for class junit.framework.TestFailure
Constructs a TestFailure with the given test and exception.
testFailure(Failure) - Method in class org.junit.internal.TextListener
 
testFailure(Failure) - Method in class org.junit.runner.notification.RunListener
Called when an atomic test fails.
testFinished(Description) - Method in class org.junit.runner.notification.RunListener
Called when an atomic test has finished, whether the test succeeds or fails.
testFromSuiteMethod(Class<?>) - Static method in class org.junit.internal.runners.SuiteMethod
 
testIgnored(Description) - Method in class org.junit.internal.TextListener
 
testIgnored(Description) - Method in class org.junit.runner.notification.RunListener
Called when a test will not be run, generally because a test method is annotated with Ignore.
TestListener - Interface in junit.framework
A Listener for test progress
TestMethod - Class in org.junit.internal.runners
Deprecated. Included for backwards compatibility with JUnit 4.4. Will be removed in the next release. Please use BlockJUnit4ClassRunner in place of JUnit4ClassRunner.
TestMethod(Method, TestClass) - Constructor for class org.junit.internal.runners.TestMethod
Deprecated.  
TestName - Class in org.junit.rules
The TestName Rule makes the current test name available inside test methods:
TestName() - Constructor for class org.junit.rules.TestName
 
TestResult - Class in junit.framework
A TestResult collects the results of executing a test case.
TestResult() - Constructor for class junit.framework.TestResult
 
testResult(Class<?>) - Static method in class org.junit.experimental.results.PrintableResult
The result of running JUnit on type
testRunEnded(long) - Method in interface junit.runner.TestRunListener
 
testRunFinished(Result) - Method in class org.junit.internal.TextListener
 
testRunFinished(Result) - Method in class org.junit.runner.notification.RunListener
Called when all tests have finished
TestRunListener - Interface in junit.runner
A listener interface for observing the execution of a test run.
TestRunner - Class in junit.textui
A command line based tool to run tests.
TestRunner() - Constructor for class junit.textui.TestRunner
Constructs a TestRunner.
TestRunner(PrintStream) - Constructor for class junit.textui.TestRunner
Constructs a TestRunner using the given stream for all the output
TestRunner(ResultPrinter) - Constructor for class junit.textui.TestRunner
Constructs a TestRunner using the given ResultPrinter all the output
testRunStarted(String, int) - Method in interface junit.runner.TestRunListener
 
testRunStarted(Description) - Method in class org.junit.runner.notification.RunListener
Called before any tests have been run.
testRunStopped(long) - Method in interface junit.runner.TestRunListener
 
tests() - Method in class junit.framework.TestSuite
Returns the tests as an enumeration
TestSetup - Class in junit.extensions
A Decorator to set up and tear down additional fixture state.
TestSetup(Test) - Constructor for class junit.extensions.TestSetup
 
testStarted(String) - Method in class junit.runner.BaseTestRunner
 
testStarted(String) - Method in interface junit.runner.TestRunListener
 
testStarted(String) - Method in class junit.textui.TestRunner
 
testStarted(Description) - Method in class org.junit.internal.TextListener
 
testStarted(Description) - Method in class org.junit.runner.notification.RunListener
Called when an atomic test is about to be started.
TestSuite - Class in junit.framework
A TestSuite is a Composite of Tests.
TestSuite() - Constructor for class junit.framework.TestSuite
Constructs an empty TestSuite.
TestSuite(Class<? extends TestCase>) - Constructor for class junit.framework.TestSuite
Constructs a TestSuite from the given class.
TestSuite(Class<? extends TestCase>, String) - Constructor for class junit.framework.TestSuite
Constructs a TestSuite from the given class with the given name.
TestSuite(String) - Constructor for class junit.framework.TestSuite
Constructs an empty TestSuite.
TestSuite(Class<?>...) - Constructor for class junit.framework.TestSuite
Constructs a TestSuite from the given array of classes.
TestSuite(Class<? extends TestCase>[], String) - Constructor for class junit.framework.TestSuite
Constructs a TestSuite from the given array of classes with the given name.
TestThreadGroup - Class in edu.rice.cs.cunit.concJUnit
Test thread group.
TestThreadGroup() - Constructor for class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Create a new test thread group.
TestThreadGroup.AwtHandler - Class in edu.rice.cs.cunit.concJUnit
"sun.awt.exception.handler" handler.
TestThreadGroup.AwtHandler() - Constructor for class edu.rice.cs.cunit.concJUnit.TestThreadGroup.AwtHandler
 
TestThreadGroup.DummyHandler - Class in edu.rice.cs.cunit.concJUnit
"sun.awt.exception.handler" dummy handler.
TestThreadGroup.DummyHandler() - Constructor for class edu.rice.cs.cunit.concJUnit.TestThreadGroup.DummyHandler
 
TestThreadGroup.LuckyWarningsDisabledException - Exception in edu.rice.cs.cunit.concJUnit
Exception indicating that "lucky" warnings can't be used.
TestThreadGroup.LuckyWarningsDisabledException(String, Throwable) - Constructor for exception edu.rice.cs.cunit.concJUnit.TestThreadGroup.LuckyWarningsDisabledException
Constructor for a new exception.
TestWatchman - Class in org.junit.rules
TestWatchman is a base class for Rules that take note of the testing action, without modifying it.
TestWatchman() - Constructor for class org.junit.rules.TestWatchman
 
TextListener - Class in org.junit.internal
 
TextListener(JUnitSystem) - Constructor for class org.junit.internal.TextListener
 
TextListener(PrintStream) - Constructor for class org.junit.internal.TextListener
 
Theories - Class in org.junit.experimental.theories
 
Theories(Class<?>) - Constructor for class org.junit.experimental.theories.Theories
 
Theories.TheoryAnchor - Class in org.junit.experimental.theories
 
Theories.TheoryAnchor(FrameworkMethod) - Constructor for class org.junit.experimental.theories.Theories.TheoryAnchor
 
Theory - Annotation Type in org.junit.experimental.theories
 
thrownException() - Method in class junit.framework.TestFailure
Gets the thrown exception.
Timeout - Class in org.junit.rules
The Timeout Rule applies the same timeout to all test methods in a class:
Timeout(int) - Constructor for class org.junit.rules.Timeout
 
toString() - Method in class junit.extensions.RepeatedTest
 
toString() - Method in class junit.extensions.TestDecorator
 
toString() - Method in class junit.framework.JUnit4TestAdapter
 
toString() - Method in class junit.framework.JUnit4TestCaseFacade
 
toString() - Method in class junit.framework.TestCase
Returns a string representation of the test case
toString() - Method in class junit.framework.TestFailure
Returns a short description of the failure.
toString() - Method in class junit.framework.TestSuite
 
toString() - Method in class org.cliffc.high_scale_lib.ConcurrentAutoTable
Return the counter's long value converted to a string.
toString() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Returns a string representation of this map.
toString() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Returns a string representation of this map.
toString() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Returns a string representation of this map.
toString() - Method in class org.hamcrest.BaseMatcher
 
toString(SelfDescribing) - Static method in class org.hamcrest.StringDescription
Return the description of a SelfDescribing object as a String.
toString() - Method in class org.hamcrest.StringDescription
Returns the description as a string.
toString() - Method in class org.junit.experimental.results.PrintableResult
 
toString() - Method in error org.junit.internal.ArrayComparisonFailure
toString() - Method in class org.junit.runner.Description
 
toString() - Method in class org.junit.runner.notification.Failure
 
trace() - Method in class junit.framework.TestFailure
 
truncate(String) - Static method in class junit.runner.BaseTestRunner
Truncates a String to the maximum length.
TypeSafeMatcher<T> - Class in org.junit.internal.matchers
Convenient base class for Matchers that require a non-null value of a specific type.

U

uncaughtException(Thread, Throwable) - Method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Catch and register an uncaught exception.

V

validateInstanceMethods() - Method in class org.junit.internal.runners.MethodValidator
Deprecated.  
validateMethodsForDefaultRunner() - Method in class org.junit.internal.runners.MethodValidator
Deprecated.  
validateNoArgConstructor() - Method in class org.junit.internal.runners.MethodValidator
Deprecated.  
validatePublicVoid(boolean, List<Throwable>) - Method in class org.junit.runners.model.FrameworkMethod
Adds to errors if this method: is not public, or returns something other than void, or is static (given isStatic is false), or is not static (given isStatic is true).
validatePublicVoidNoArg(boolean, List<Throwable>) - Method in class org.junit.runners.model.FrameworkMethod
Adds to errors if this method: is not public, or takes parameters, or returns something other than void, or is static (given isStatic is false), or is not static (given isStatic is true).
validateStaticMethods() - Method in class org.junit.internal.runners.MethodValidator
Deprecated.  
values() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMap
Returns a Collection view of the values contained in this map.
values() - Method in class org.cliffc.high_scale_lib.NonBlockingHashMapLong
Returns a Collection view of the values contained in this map.
values() - Method in class org.cliffc.high_scale_lib.NonBlockingHashtable
Returns a Collection view of the values contained in this map.
values() - Method in class org.cliffc.high_scale_lib.NonBlockingIdentityHashMap
Returns a Collection view of the values contained in this map.
Verifier - Class in org.junit.rules
Verifier is a base class for Rules like ErrorCollector, which can turn otherwise passing test methods into failing tests if a verification check is failed
Verifier() - Constructor for class org.junit.rules.Verifier
 
Version - Class in junit.runner
This class defines the current version of JUnit

W

waitForEvent() - Method in class edu.rice.cs.cunit.concJUnit.TestThreadGroup
Wait for the event to occur, if it hasn't already occurred.
warning(String) - Static method in class junit.framework.TestSuite
Returns a test which will fail and log a warning message.
wasSuccessful() - Method in class junit.framework.TestResult
Returns whether the entire test was successful or not.
wasSuccessful() - Method in class org.junit.runner.Result
 

_

_dont_implement_Matcher___instead_extend_BaseMatcher_() - Method in class org.hamcrest.BaseMatcher
 
_dont_implement_Matcher___instead_extend_BaseMatcher_() - Method in interface org.hamcrest.Matcher
This method simply acts a friendly reminder not to implement Matcher directly and instead extend BaseMatcher.

A B C D E F G H I J K L M N O P R S T U V W _