- accept(FrameworkMember<?>, T) - Method in class org.junit.runners.BlockJUnit4ClassRunner.RuleCollector
-
- accept(FrameworkMember<?>, T) - Method in interface org.junit.runners.model.MemberValueConsumer
-
Receives the next value and its declaring member.
- accept(FrameworkMember<?>, TestRule) - Method in class org.junit.runners.ParentRunner.ClassRuleCollector
-
- 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
-
- actual - Variable in class org.junit.ComparisonFailure.ComparisonCompactor
-
- actualDiff() - Method in class org.junit.ComparisonFailure.ComparisonCompactor.DiffExtractor
-
- add(Matcher<?>) - Method in class org.junit.rules.ExpectedExceptionMatcherBuilder
-
- add(MethodRule) - Method in class org.junit.runners.RuleContainer
-
- add(TestRule) - Method in class org.junit.runners.RuleContainer
-
- addArrayValues(ParameterSignature, String, List<PotentialAssignment>, Object) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- addChild(Description) - Method in class org.junit.runner.Description
-
Add Description
as a child of the receiver.
- addDataPointsValues(Class<?>, ParameterSignature, String, List<PotentialAssignment>, Object) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- 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(Test, Throwable) - Method in class org.junit.internal.runners.JUnit38ClassRunner.OldTestClassAdaptingListener
-
- addError(Throwable) - Method in class org.junit.rules.ErrorCollector
-
Adds a Throwable to the table.
- addErrorMessage(List<Exception>, Class<?>) - Method in class org.junit.experimental.categories.CategoryValidator
-
- 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.ClassRoadie
-
Deprecated.
- addFailure(Test, AssertionFailedError) - Method in class org.junit.internal.runners.JUnit38ClassRunner.OldTestClassAdaptingListener
-
- addFailure(Throwable) - Method in class org.junit.internal.runners.MethodRoadie
-
Deprecated.
- addFailure(Throwable) - Method in class org.junit.internal.runners.model.EachTestNotifier
-
- addFirstListener(RunListener) - Method in class org.junit.runner.notification.RunNotifier
-
Internal use only.
- addIterableValues(ParameterSignature, String, List<PotentialAssignment>, Iterable<?>) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- 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
- addMultipleFailureException(MultipleFailureException) - Method in class org.junit.internal.runners.model.EachTestNotifier
-
- addMultiPointFields(ParameterSignature, List<PotentialAssignment>) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- addMultiPointMethods(ParameterSignature, List<PotentialAssignment>) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- addParent(Class<?>) - Method in class org.junit.runners.model.RunnerBuilder
-
- addSinglePointFields(ParameterSignature, List<PotentialAssignment>) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- addSinglePointMethods(ParameterSignature, List<PotentialAssignment>) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- addTest(Test) - Method in class junit.framework.TestSuite
-
Adds a test to the suite.
- addTestMethod(Method, List<String>, Class<?>) - Method in class junit.framework.TestSuite
-
- addTestsFromTestCase(Class<?>) - Method in class junit.framework.TestSuite
-
- addTestSuite(Class<? extends TestCase>) - Method in class junit.framework.TestSuite
-
Adds the tests from the given class to the suite.
- addToAnnotationLists(T, Map<Class<? extends Annotation>, List<T>>) - Static method in class org.junit.runners.model.TestClass
-
- After - Annotation Type in org.junit
-
If you allocate external resources in a
Before
method you need to release them
after the test runs.
- after() - Method in class org.junit.rules.ExternalResource
-
Override to tear down your specific external resource.
- after() - Method in class org.junit.rules.TemporaryFolder
-
- 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.
- afters - Variable in class org.junit.internal.runners.statements.RunAfters
-
- 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() - Constructor for class org.junit.internal.builders.AllDefaultPossibilitiesBuilder
-
- 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
- AllMembersSupplier.MethodParameterValue - Class in org.junit.experimental.theories.internal
-
- allOfTheMatchers() - Method in class org.junit.rules.ExpectedExceptionMatcherBuilder
-
- allParameters - Variable in class org.junit.runners.Parameterized.RunnersFactory
-
- allParameters(TestClass, FrameworkMethod) - Static method in class org.junit.runners.Parameterized.RunnersFactory
-
- 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.
- Alphanumeric - Class in org.junit.runner.manipulation
-
A sorter that orders tests alphanumerically by test name.
- Alphanumeric() - Constructor for class org.junit.runner.manipulation.Alphanumeric
-
- Annotatable - Interface in org.junit.runners.model
-
A model element that may have annotations.
- AnnotatableValidator() - Constructor for class org.junit.validator.AnnotationsValidator.AnnotatableValidator
-
- annotatedBuilder() - Method in class org.junit.internal.builders.AllDefaultPossibilitiesBuilder
-
- AnnotatedBuilder - Class in org.junit.internal.builders
-
The AnnotatedBuilder
is a strategy for constructing runners for test class that have been annotated with the
@RunWith
annotation.
- AnnotatedBuilder(RunnerBuilder) - Constructor for class org.junit.internal.builders.AnnotatedBuilder
-
- annotation - Variable in class org.junit.internal.runners.rules.RuleMemberValidator
-
- annotation - Variable in class org.junit.internal.runners.rules.RuleMemberValidator.Builder
-
- ANNOTATION_VALIDATOR_FACTORY - Static variable in class org.junit.validator.AnnotationsValidator.AnnotatableValidator
-
- annotations - Variable in class org.junit.experimental.theories.ParameterSignature
-
- AnnotationsValidator - Class in org.junit.validator
-
An AnnotationsValidator
validates all annotations of a test class,
including its annotated fields and methods.
- AnnotationsValidator() - Constructor for class org.junit.validator.AnnotationsValidator
-
- AnnotationsValidator.AnnotatableValidator<T extends Annotatable> - Class in org.junit.validator
-
- AnnotationsValidator.ClassValidator - Class in org.junit.validator
-
- AnnotationsValidator.FieldValidator - Class in org.junit.validator
-
- AnnotationsValidator.MethodValidator - Class in org.junit.validator
-
- AnnotationValidator - Class in org.junit.validator
-
Validates annotations on classes and methods.
- AnnotationValidator() - Constructor for class org.junit.validator.AnnotationValidator
-
- AnnotationValidatorFactory - Class in org.junit.validator
-
Creates instances of Annotation Validators.
- AnnotationValidatorFactory() - Constructor for class org.junit.validator.AnnotationValidatorFactory
-
- appendStackTraceLines(List<String>, StringBuilder) - Static method in class org.junit.internal.Throwables
-
- apply(Statement, Description) - Method in class org.junit.rules.DisableOnDebug
-
- apply(Statement, Description) - Method in class org.junit.rules.ExpectedException
-
- apply(Statement, Description) - 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, Description) - Method in class org.junit.rules.RuleChain
-
Modifies the method-running
Statement
to implement this
test-running rule.
- apply(Statement, Description) - Method in class org.junit.rules.Stopwatch
-
- apply(Statement, Description) - Method in interface org.junit.rules.TestRule
-
Modifies the method-running
Statement
to implement this
test-running rule.
- apply(Statement, Description) - Method in class org.junit.rules.TestWatcher
-
- apply(Statement, FrameworkMethod, Object) - Method in class org.junit.rules.TestWatchman
-
Deprecated.
- apply(Statement, Description) - Method in class org.junit.rules.Timeout
-
- apply(Statement, Description) - 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.Orderer
-
Order the tests in target
.
- apply(Object) - Method in class org.junit.runner.manipulation.Ordering
-
Order the tests in target
using this ordering.
- apply(Object) - Method in class org.junit.runner.manipulation.Sorter
-
Sorts the tests in target
using comparator
.
- apply(FrameworkMethod, Description, Object, Statement) - Method in class org.junit.runners.RuleContainer
-
Applies all the rules ordered accordingly to the specified statement
.
- applyAll(Statement, Iterable<TestRule>, Description) - Static method in class org.junit.rules.RunRules
-
- applyFilterSpecs(Request) - Method in class org.junit.runner.JUnitCommandLineParseResult
-
- applyValidators(List<Throwable>) - Method in class org.junit.runners.ParentRunner
-
- areAllChildrenIgnored() - Method in class org.junit.runners.ParentRunner
-
- areStringsEqual() - Method in class junit.framework.ComparisonCompactor
-
- args - Variable in class org.junit.runner.FilterFactoryParams
-
- around(TestRule) - Method in class org.junit.rules.RuleChain
-
Create a new
RuleChain
, which encloses the given
TestRule
with
the rules of the current
RuleChain
.
- 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.
- arrayEquals(String, Object, Object, boolean) - Method in class org.junit.internal.ComparisonCriteria
-
- asDescription(Test) - Method in class org.junit.internal.runners.JUnit38ClassRunner.OldTestClassAdaptingListener
-
- asReversedList(List<T>) - Static method in class org.junit.internal.Throwables
-
- Assert - Class in junit.framework
-
- Assert() - Constructor for class junit.framework.Assert
-
Deprecated.
Protect constructor since it is a static only class
- Assert - Class in org.junit
-
A set of assertion methods useful for writing tests.
- Assert() - Constructor for class org.junit.Assert
-
Protect constructor since it is a static only class
- 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, boolean[], boolean[]) - Static method in class org.junit.Assert
-
Asserts that two boolean arrays are equal.
- assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.Assert
-
Asserts that two boolean 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.
- assertElementsEqual(Object, Object) - Method in class org.junit.internal.ComparisonCriteria
-
- assertElementsEqual(Object, Object) - Method in class org.junit.internal.ExactComparisonCriteria
-
- assertElementsEqual(Object, Object) - Method in class org.junit.internal.InexactComparisonCriteria
-
- assertEmpty(List<Throwable>) - Static method in exception org.junit.runners.model.MultipleFailureException
-
Asserts that a list of throwables is empty.
- assertEquals(String, Object, Object) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two objects are equal.
- assertEquals(Object, Object) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two objects are equal.
- assertEquals(String, String, String) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two Strings are equal.
- assertEquals(String, String) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two Strings are equal.
- assertEquals(String, double, double, double) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two doubles are equal concerning a delta.
- assertEquals(double, double, double) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two doubles are equal concerning a delta.
- assertEquals(String, float, float, float) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two floats are equal concerning a positive delta.
- assertEquals(float, float, float) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two floats are equal concerning a delta.
- assertEquals(String, long, long) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two longs are equal.
- assertEquals(long, long) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two longs are equal.
- assertEquals(String, boolean, boolean) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two booleans are equal.
- assertEquals(boolean, boolean) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two booleans are equal.
- assertEquals(String, byte, byte) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two bytes are equal.
- assertEquals(byte, byte) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two bytes are equal.
- assertEquals(String, char, char) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two chars are equal.
- assertEquals(char, char) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two chars are equal.
- assertEquals(String, short, short) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two shorts are equal.
- assertEquals(short, short) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two shorts are equal.
- assertEquals(String, int, int) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two ints are equal.
- assertEquals(int, int) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two ints are equal.
- assertEquals(String, Object, Object) - Static method in class junit.framework.TestCase
-
Asserts that two objects are equal.
- assertEquals(Object, Object) - Static method in class junit.framework.TestCase
-
Asserts that two objects are equal.
- assertEquals(String, String, String) - Static method in class junit.framework.TestCase
-
Asserts that two Strings are equal.
- assertEquals(String, String) - Static method in class junit.framework.TestCase
-
Asserts that two Strings are equal.
- assertEquals(String, double, double, double) - Static method in class junit.framework.TestCase
-
Asserts that two doubles are equal concerning a delta.
- assertEquals(double, double, double) - Static method in class junit.framework.TestCase
-
Asserts that two doubles are equal concerning a delta.
- assertEquals(String, float, float, float) - Static method in class junit.framework.TestCase
-
Asserts that two floats are equal concerning a positive delta.
- assertEquals(float, float, float) - Static method in class junit.framework.TestCase
-
Asserts that two floats are equal concerning a delta.
- assertEquals(String, long, long) - Static method in class junit.framework.TestCase
-
Asserts that two longs are equal.
- assertEquals(long, long) - Static method in class junit.framework.TestCase
-
Asserts that two longs are equal.
- assertEquals(String, boolean, boolean) - Static method in class junit.framework.TestCase
-
Asserts that two booleans are equal.
- assertEquals(boolean, boolean) - Static method in class junit.framework.TestCase
-
Asserts that two booleans are equal.
- assertEquals(String, byte, byte) - Static method in class junit.framework.TestCase
-
Asserts that two bytes are equal.
- assertEquals(byte, byte) - Static method in class junit.framework.TestCase
-
Asserts that two bytes are equal.
- assertEquals(String, char, char) - Static method in class junit.framework.TestCase
-
Asserts that two chars are equal.
- assertEquals(char, char) - Static method in class junit.framework.TestCase
-
Asserts that two chars are equal.
- assertEquals(String, short, short) - Static method in class junit.framework.TestCase
-
Asserts that two shorts are equal.
- assertEquals(short, short) - Static method in class junit.framework.TestCase
-
Asserts that two shorts are equal.
- assertEquals(String, int, int) - Static method in class junit.framework.TestCase
-
Asserts that two ints are equal.
- assertEquals(int, int) - Static method in class junit.framework.TestCase
-
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 are equal to within a positive delta.
- assertEquals(String, float, float, float) - Static method in class org.junit.Assert
-
Asserts that two 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
-
- assertEquals(String, double, double) - Static method in class org.junit.Assert
-
- assertEquals(double, double, double) - Static method in class org.junit.Assert
-
Asserts that two doubles are equal to within a positive delta.
- assertEquals(float, float, float) - Static method in class org.junit.Assert
-
Asserts that two floats are equal to within a positive delta.
- assertEquals(String, Object[], Object[]) - Static method in class org.junit.Assert
-
- assertEquals(Object[], Object[]) - Static method in class org.junit.Assert
-
- assertFalse(String, boolean) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that a condition is false.
- assertFalse(boolean) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that a condition is false.
- assertFalse(String, boolean) - Static method in class junit.framework.TestCase
-
Asserts that a condition is false.
- assertFalse(boolean) - Static method in class junit.framework.TestCase
-
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
-
Constructs a new AssertionFailedError without a detail message.
- AssertionFailedError(String) - Constructor for error junit.framework.AssertionFailedError
-
Constructs a new AssertionFailedError with the specified detail message.
- assertNotEquals(String, Object, Object) - Static method in class org.junit.Assert
-
Asserts that two objects are not equals.
- assertNotEquals(Object, Object) - Static method in class org.junit.Assert
-
Asserts that two objects are not equals.
- assertNotEquals(String, long, long) - Static method in class org.junit.Assert
-
Asserts that two longs are not equals.
- assertNotEquals(long, long) - Static method in class org.junit.Assert
-
Asserts that two longs are not equals.
- assertNotEquals(String, double, double, double) - Static method in class org.junit.Assert
-
Asserts that two doubles are not equal to within a positive delta.
- assertNotEquals(double, double, double) - Static method in class org.junit.Assert
-
Asserts that two doubles are not equal to within a positive delta.
- assertNotEquals(float, float, float) - Static method in class org.junit.Assert
-
Asserts that two floats are not equal to within a positive delta.
- assertNotEquals(String, float, float, float) - Static method in class org.junit.Assert
-
Asserts that two floats are not equal to within a positive delta.
- assertNotNull(Object) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that an object isn't null.
- assertNotNull(String, Object) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that an object isn't null.
- assertNotNull(Object) - Static method in class junit.framework.TestCase
-
Asserts that an object isn't null.
- assertNotNull(String, Object) - Static method in class junit.framework.TestCase
-
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
-
Deprecated.
Asserts that two objects do not refer to the same object.
- assertNotSame(Object, Object) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two objects do not refer to the same object.
- assertNotSame(String, Object, Object) - Static method in class junit.framework.TestCase
-
Asserts that two objects do not refer to the same object.
- assertNotSame(Object, Object) - Static method in class junit.framework.TestCase
-
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
-
Deprecated.
Asserts that an object is null.
- assertNull(String, Object) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that an object is null.
- assertNull(Object) - Static method in class junit.framework.TestCase
-
Asserts that an object is null.
- assertNull(String, Object) - Static method in class junit.framework.TestCase
-
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
-
Deprecated.
Asserts that two objects refer to the same object.
- assertSame(Object, Object) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that two objects refer to the same object.
- assertSame(String, Object, Object) - Static method in class junit.framework.TestCase
-
Asserts that two objects refer to the same object.
- assertSame(Object, Object) - Static method in class junit.framework.TestCase
-
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<? super T>) - Static method in class org.junit.Assert
-
- assertThat(String, T, Matcher<? super T>) - Static method in class org.junit.Assert
-
- assertThrows(Class<T>, ThrowingRunnable) - Static method in class org.junit.Assert
-
Asserts that runnable
throws an exception of type expectedThrowable
when
executed.
- assertThrows(String, Class<T>, ThrowingRunnable) - Static method in class org.junit.Assert
-
Asserts that runnable
throws an exception of type expectedThrowable
when
executed.
- assertTrue(String, boolean) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that a condition is true.
- assertTrue(boolean) - Static method in class junit.framework.Assert
-
Deprecated.
Asserts that a condition is true.
- assertTrue(String, boolean) - Static method in class junit.framework.TestCase
-
Asserts that a condition is true.
- assertTrue(boolean) - Static method in class junit.framework.TestCase
-
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.
- assigned - Variable in class org.junit.experimental.theories.internal.Assignments
-
- Assignments - Class in org.junit.experimental.theories.internal
-
A potentially incomplete list of value assignments for a method's formal
parameters
- Assignments(List<PotentialAssignment>, List<ParameterSignature>, TestClass) - Constructor for class org.junit.experimental.theories.internal.Assignments
-
- assignNext(PotentialAssignment) - Method in class org.junit.experimental.theories.internal.Assignments
-
- 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
-
- assumeFalse(boolean) - Static method in class org.junit.Assume
-
- assumeFalse(String, boolean) - Static method in class org.junit.Assume
-
- assumeNoException(Throwable) - Static method in class org.junit.Assume
-
Use to assume that an operation completes normally.
- assumeNoException(String, Throwable) - Static method in class org.junit.Assume
-
Attempts to halt the test and ignore it if Throwable e
is
not null
.
- assumeNotNull(Object...) - Static method in class org.junit.Assume
-
If called with a null
array or 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
.
- assumeThat(String, 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.
- assumeTrue(String, boolean) - Static method in class org.junit.Assume
-
If called with an expression evaluating to false
, the test will halt and be ignored.
- assumptionFailureCount - Variable in class org.junit.runner.Result
-
- assumptionFailureCount - Variable in class org.junit.runner.Result.SerializedForm
-
- AssumptionViolatedException - Exception in org.junit
-
An exception class used to implement assumptions (state in which a given test
is meaningful and should or should not be executed).
- AssumptionViolatedException(T, Matcher<T>) - Constructor for exception org.junit.AssumptionViolatedException
-
An assumption exception with the given actual value and a matcher describing
the expectation that failed.
- AssumptionViolatedException(String, T, Matcher<T>) - Constructor for exception org.junit.AssumptionViolatedException
-
An assumption exception with a message with the given actual value and a
matcher describing the expectation that failed.
- AssumptionViolatedException(String) - Constructor for exception org.junit.AssumptionViolatedException
-
An assumption exception with the given message only.
- AssumptionViolatedException(String, Throwable) - Constructor for exception org.junit.AssumptionViolatedException
-
An assumption exception with the given message and a cause.
- AssumptionViolatedException - Exception in org.junit.internal
-
An exception class used to implement assumptions (state in which a given test
is meaningful and should or should not be executed).
- AssumptionViolatedException(String, boolean, Object, Matcher<?>) - Constructor for exception org.junit.internal.AssumptionViolatedException
-
- AssumptionViolatedException(Object, Matcher<?>) - Constructor for exception org.junit.internal.AssumptionViolatedException
-
- AssumptionViolatedException(String, Object, Matcher<?>) - Constructor for exception org.junit.internal.AssumptionViolatedException
-
- AssumptionViolatedException(String) - Constructor for exception org.junit.internal.AssumptionViolatedException
-
- AssumptionViolatedException(String, Throwable) - Constructor for exception org.junit.internal.AssumptionViolatedException
-
- AssumptionViolationRunner(TestClass, String, AssumptionViolatedException) - Constructor for class org.junit.runners.Parameterized.AssumptionViolationRunner
-
- assureDeletion - Variable in class org.junit.rules.TemporaryFolder
-
- assureDeletion - Variable in class org.junit.rules.TemporaryFolder.Builder
-
- assureDeletion() - Method in class org.junit.rules.TemporaryFolder.Builder
-
Setting this flag assures that no resources are left undeleted.
- asTest(Description) - Method in class junit.framework.JUnit4TestAdapterCache
-
- asTestList(Description) - Method in class junit.framework.JUnit4TestAdapterCache
-
- awaitStarted() - Method in class org.junit.internal.runners.statements.FailOnTimeout.CallableStatement
-
- call() - Method in class org.junit.internal.runners.statements.FailOnTimeout.CallableStatement
-
- CallableStatement() - Constructor for class org.junit.internal.runners.statements.FailOnTimeout.CallableStatement
-
- canAcceptType(Class<?>) - Method in class org.junit.experimental.theories.ParameterSignature
-
- canAcceptValue(Object) - Method in class org.junit.experimental.theories.ParameterSignature
-
- canPotentiallyAcceptType(Class<?>) - Method in class org.junit.experimental.theories.ParameterSignature
-
- canUseSuiteMethod - Variable in class org.junit.internal.builders.AllDefaultPossibilitiesBuilder
-
- canUseSuiteMethod - Variable in class org.junit.internal.requests.ClassRequest
-
- cast(Matcher<?>) - Method in class org.junit.rules.ExpectedExceptionMatcherBuilder
-
- castedMatchers() - Method in class org.junit.rules.ExpectedExceptionMatcherBuilder
-
- Categories - Class in org.junit.experimental.categories
-
From a given set of test classes, runs only the classes and methods that are
annotated with either the category given with the @IncludeCategory
annotation, or a subtype of that category.
- Categories(Class<?>, RunnerBuilder) - Constructor for class org.junit.experimental.categories.Categories
-
- categories(Description) - Static method in class org.junit.experimental.categories.Categories.CategoryFilter
-
- Categories.CategoryFilter - Class in org.junit.experimental.categories
-
- Categories.ExcludeCategory - Annotation Type in org.junit.experimental.categories
-
- Categories.IncludeCategory - Annotation Type in org.junit.experimental.categories
-
- Category - Annotation Type in org.junit.experimental.categories
-
Marks a test class or test method as belonging to one or more categories of tests.
- CategoryFilter(Class<?>, Class<?>) - Constructor for class org.junit.experimental.categories.Categories.CategoryFilter
-
Deprecated.
- CategoryFilter(boolean, Set<Class<?>>, boolean, Set<Class<?>>) - Constructor for class org.junit.experimental.categories.Categories.CategoryFilter
-
- CategoryFilter(boolean, Class<?>[], boolean, Class<?>[]) - Constructor for class org.junit.experimental.categories.Categories.CategoryFilter
-
- categoryFilter(boolean, Set<Class<?>>, boolean, Set<Class<?>>) - Static method in class org.junit.experimental.categories.Categories.CategoryFilter
-
- CategoryFilterFactory - Class in org.junit.experimental.categories
-
Implementation of FilterFactory for Category filtering.
- CategoryFilterFactory() - Constructor for class org.junit.experimental.categories.CategoryFilterFactory
-
- CategoryValidator - Class in org.junit.experimental.categories
-
Validates that there are no errors in the use of the Category
annotation.
- CategoryValidator() - Constructor for class org.junit.experimental.categories.CategoryValidator
-
- causeMatcher - Variable in class org.junit.internal.matchers.ThrowableCauseMatcher
-
- causes - Variable in class org.junit.internal.runners.ErrorReportingRunner
-
- Checks - Class in org.junit.internal
-
- Checks() - Constructor for class org.junit.internal.Checks
-
- checkSucceeds(Callable<T>) - 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
.
- checkThat(String, T, Matcher<T>) - Method in class org.junit.rules.ErrorCollector
-
Adds a failure with the given reason
to the table if matcher
does not match value
.
- checkThrows(Class<? extends Throwable>, ThrowingRunnable) - Method in class org.junit.rules.ErrorCollector
-
Adds a failure to the table if runnable
does not throw an
exception of type expectedThrowable
when executed.
- childlessCopy() - Method in class org.junit.runner.Description
-
- childrenInvoker(RunNotifier) - Method in class org.junit.runners.ParentRunner
-
- childrenLock - Variable in class org.junit.runners.ParentRunner
-
- CLASS_RULE_METHOD_VALIDATOR - Static variable in class org.junit.internal.runners.rules.RuleMemberValidator
-
Validates methods with a
ClassRule
annotation.
- CLASS_RULE_VALIDATOR - Static variable in class org.junit.internal.runners.rules.RuleMemberValidator
-
Validates fields with a
ClassRule
annotation.
- classAnnotations() - Method in class org.junit.internal.runners.JUnit4ClassRunner
-
Deprecated.
- classBlock(RunNotifier) - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters
-
- classBlock(RunNotifier) - Method in class org.junit.runners.ParentRunner
-
Constructs a Statement
to run all of the tests in the test class.
- classes - Variable in class org.junit.experimental.ParallelComputer
-
- classes() - Static method in class org.junit.experimental.ParallelComputer
-
- Classes - Class in org.junit.internal
-
Miscellaneous functions dealing with classes.
- Classes() - Constructor for class org.junit.internal.Classes
-
- classes - Variable in class org.junit.runner.JUnitCommandLineParseResult
-
- 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
.
- classNames - Variable in class org.junit.internal.runners.ErrorReportingRunner
-
- 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
-
- ClassRequest.CustomAllDefaultPossibilitiesBuilder - Class in org.junit.internal.requests
-
- ClassRequest.CustomSuiteMethodBuilder - Class in org.junit.internal.requests
-
- ClassRoadie - Class in org.junit.internal.runners
-
- ClassRoadie(RunNotifier, TestClass, Description, Runnable) - Constructor for class org.junit.internal.runners.ClassRoadie
-
Deprecated.
- ClassRule - Annotation Type in org.junit
-
Annotates static fields that reference rules or methods that return them.
- ClassRuleCollector() - Constructor for class org.junit.runners.ParentRunner.ClassRuleCollector
-
- classRules() - Method in class org.junit.runners.ParentRunner
-
- classRuleValidatorBuilder() - Static method in class org.junit.internal.runners.rules.RuleMemberValidator
-
- ClassValidator() - Constructor for class org.junit.validator.AnnotationsValidator.ClassValidator
-
- classWithoutSuiteMethod(Class<?>) - Static method in class org.junit.runner.Request
-
Create a Request
that, when processed, will run all the tests
in a class.
- clazz - Variable in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- clazz - Variable in class org.junit.experimental.theories.internal.Assignments
-
- clazz - Variable in class org.junit.internal.builders.IgnoredClassRunner
-
- clazz - Variable in class org.junit.runners.model.TestClass
-
- clearStatus() - Method in class junit.runner.BaseTestRunner
-
Clears the status message.
- clock - Variable in class org.junit.rules.Stopwatch
-
- Clock() - Constructor for class org.junit.rules.Stopwatch.Clock
-
- cloneListeners() - Method in class junit.framework.TestResult
-
Returns a copy of the listeners.
- collectAnnotatedFieldValues(Object, Class<? extends Annotation>, Class<T>, MemberValueConsumer<T>) - Method in class org.junit.runners.model.TestClass
-
Finds the fields annotated with the specified annotation and having the specified type,
retrieves the values and passes those to the specified consumer.
- collectAnnotatedMethodValues(Object, Class<? extends Annotation>, Class<T>, MemberValueConsumer<T>) - Method in class org.junit.runners.model.TestClass
-
Finds the methods annotated with the specified annotation and returning the specified type,
invokes it and pass the return value to the specified consumer.
- collectInitializationErrors(List<Throwable>) - Method in class org.junit.experimental.theories.Theories
-
- collectInitializationErrors(List<Throwable>) - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
- collectInitializationErrors(List<Throwable>) - Method in class org.junit.runners.ParentRunner
-
- collectValues(Map<?, List<T>>) - Method in class org.junit.runners.model.TestClass
-
- CommandLineParserError(String) - Constructor for exception org.junit.runner.JUnitCommandLineParseResult.CommandLineParserError
-
- compact(String) - Method in class junit.framework.ComparisonCompactor
-
- compact(String) - Method in class org.junit.ComparisonFailure.ComparisonCompactor
-
- compactPrefix() - Method in class org.junit.ComparisonFailure.ComparisonCompactor.DiffExtractor
-
- compactString(String) - Method in class junit.framework.ComparisonCompactor
-
- compactSuffix() - Method in class org.junit.ComparisonFailure.ComparisonCompactor.DiffExtractor
-
- comparator - Variable in class org.junit.internal.requests.SortingRequest
-
- COMPARATOR - Static variable in class org.junit.runner.manipulation.Alphanumeric
-
- comparator - Variable in class org.junit.runner.manipulation.Sorter
-
- comparator - Variable in enum org.junit.runners.MethodSorters
-
- comparator(Sorter) - Method in class org.junit.runners.ParentRunner
-
- compare(Description, Description) - Method in class org.junit.experimental.max.MaxHistory.TestComparator
-
- compare(Description, Description) - Method in class org.junit.runner.manipulation.Sorter
-
- compare(Field, Field) - Method in class org.junit.runners.model.TestClass.FieldComparator
-
- compare(FrameworkMethod, FrameworkMethod) - Method in class org.junit.runners.model.TestClass.MethodComparator
-
- ComparisonCompactor - Class in junit.framework
-
- ComparisonCompactor(int, String, String) - Constructor for class junit.framework.ComparisonCompactor
-
- ComparisonCompactor(int, String, String) - Constructor for class org.junit.ComparisonFailure.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
-
- ComparisonFailure(String, String, String) - Constructor for error org.junit.ComparisonFailure
-
Constructs a comparison failure.
- ComparisonFailure.ComparisonCompactor - Class in org.junit
-
- ComparisonFailure.ComparisonCompactor.DiffExtractor - Class in org.junit
-
- componentTypeName(Class<?>) - Method in class org.junit.internal.ComparisonCriteria
-
- computeCommonPrefix() - Method in class junit.framework.ComparisonCompactor
-
- computeCommonSuffix() - Method in class junit.framework.ComparisonCompactor
-
- Computer - Class in org.junit.runner
-
Represents a strategy for computing runners and suites.
- Computer() - Constructor for class org.junit.runner.Computer
-
- computeTestMethods() - Method in class org.junit.experimental.theories.Theories
-
- computeTestMethods() - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
Returns the methods that run tests.
- configureRunner(Runner) - Method in class org.junit.runners.model.RunnerBuilder
-
- constructLeafRequest(List<Description>) - Method in class org.junit.experimental.max.MaxCore
-
- CONSTRUCTOR_ERROR_FORMAT - Static variable in class org.junit.internal.builders.AnnotatedBuilder
-
- CONSTRUCTOR_ERROR_FORMAT - Static variable in class org.junit.runner.manipulation.Ordering
-
- containsString(String) - Static method in class org.junit.matchers.JUnitMatchers
-
- Context(Description) - Constructor for class org.junit.runner.manipulation.Ordering.Context
-
- contextLength - Variable in class org.junit.ComparisonFailure.ComparisonCompactor
-
The maximum length for expected
and actual
strings to show.
- CONVERTABLE_TYPES_MAP - Static variable in class org.junit.experimental.theories.ParameterSignature
-
- copyAndRefine(Set<Class<?>>) - Static method in class org.junit.experimental.categories.Categories.CategoryFilter
-
- copyArray(String[], int, int) - Method in class org.junit.runner.JUnitCommandLineParseResult
-
- CouldNotGenerateValueException() - Constructor for exception org.junit.experimental.theories.PotentialAssignment.CouldNotGenerateValueException
-
- CouldNotGenerateValueException(Throwable) - Constructor for exception org.junit.experimental.theories.PotentialAssignment.CouldNotGenerateValueException
-
- 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
- count - Variable in class org.junit.runner.Result
-
- 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.
- cpuTime(Thread) - Method in class org.junit.internal.runners.statements.FailOnTimeout
-
Returns the CPU time used by a thread, if possible.
- create() - Method in class org.junit.rules.TemporaryFolder
-
for testing purposes only.
- create(Ordering.Context) - Method in class org.junit.runner.manipulation.Alphanumeric
-
- create(Ordering.Context) - Method in interface org.junit.runner.manipulation.Ordering.Factory
-
Creates an Ordering instance using the given context.
- createAdaptingListener(RunNotifier) - Method in class org.junit.internal.runners.JUnit38ClassRunner
-
- createAnnotationValidator(ValidateWith) - Method in class org.junit.validator.AnnotationValidatorFactory
-
Creates the AnnotationValidator specified by the value in
ValidateWith
.
- createFailOnTimeoutStatement(Statement) - Method in class org.junit.rules.Timeout
-
Creates a
Statement
that will run the given
statement
, and timeout the operation based
on the values configured in this rule.
- createFilter(FilterFactoryParams) - Method in class org.junit.experimental.categories.CategoryFilterFactory
-
- createFilter(List<Class<?>>) - Method in class org.junit.experimental.categories.CategoryFilterFactory
-
- createFilter(List<Class<?>>) - Method in class org.junit.experimental.categories.ExcludeCategories
-
Creates a
Filter
which is only passed by tests that are
not categorized with any of the specified categories.
- createFilter(List<Class<?>>) - Method in class org.junit.experimental.categories.IncludeCategories
-
Creates a
Filter
which is only passed by tests that are
categorized with any of the specified categories.
- createFilter(String, FilterFactoryParams) - Static method in class org.junit.runner.FilterFactories
-
- createFilter(Class<? extends FilterFactory>, FilterFactoryParams) - Static method in class org.junit.runner.FilterFactories
-
- createFilter(FilterFactoryParams) - Method in interface org.junit.runner.FilterFactory
-
- createFilterFactory(String) - Static method in class org.junit.runner.FilterFactories
-
- createFilterFactory(Class<? extends FilterFactory>) - Static method in class org.junit.runner.FilterFactories
-
- createFilterFromFilterSpec(Request, String) - Static method in class org.junit.runner.FilterFactories
-
- createListener() - Method in class org.junit.runner.Result
-
Internal use only.
- createMessage(Class<?>, List<Throwable>) - Static method in exception org.junit.runners.model.InvalidTestClassError
-
- createRequest(Computer) - Method in class org.junit.runner.JUnitCommandLineParseResult
-
- createResult() - Method in class junit.framework.TestCase
-
Creates a default TestResult object.
- createRunner() - Method in class org.junit.internal.requests.ClassRequest
-
- createRunner() - Method in class org.junit.internal.requests.MemoizingRequest
-
- createRunner() - Method in class org.junit.internal.requests.OrderingRequest
-
- createRunnerForTestWithParameters(TestWithParameters) - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParametersFactory
-
- createRunnerForTestWithParameters(TestWithParameters) - Method in interface org.junit.runners.parameterized.ParametersRunnerFactory
-
- createRunners() - Method in class org.junit.runners.Parameterized.RunnersFactory
-
- createRunnersForParameters(Iterable<Object>, String, ParametersRunnerFactory) - Method in class org.junit.runners.Parameterized.RunnersFactory
-
- createSet(Class<?>[]) - Static method in class org.junit.experimental.categories.Categories
-
- createSuiteDescription(TestSuite) - Static method in class org.junit.internal.runners.JUnit38ClassRunner
-
- createSuiteDescription(String, Annotation...) - Static method in class org.junit.runner.Description
-
Create a Description
named name
.
- createSuiteDescription(String, Serializable, 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
- createSuiteDescription(Class<?>, Annotation...) - Static method in class org.junit.runner.Description
-
Create a Description
named after testClass
- createTemporaryFolderIn(File) - Static method in class org.junit.rules.TemporaryFolder
-
- createTemporaryFolderWithFileApi(File) - Static method in class org.junit.rules.TemporaryFolder
-
- createTemporaryFolderWithNioApi(File) - Static method in class org.junit.rules.TemporaryFolder
-
- createTest(Description) - Method in class junit.framework.JUnit4TestAdapterCache
-
- createTest(Class<?>, String) - Static method in class junit.framework.TestSuite
-
...as the moon sets over the early morning Merlin, Oregon
mountains, our intrepid adventurers type...
- createTest() - Method in class org.junit.internal.runners.JUnit4ClassRunner
-
Deprecated.
- createTest() - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
Returns a new fixture for running a test.
- createTest(FrameworkMethod) - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
Returns a new fixture to run a particular test method
against.
- createTest() - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters
-
- createTestClass(Class<?>) - Method in class org.junit.runners.ParentRunner
-
- createTestDescription(String, String, Annotation...) - Static method in class org.junit.runner.Description
-
Create a Description
of a single test named name
in the 'class' named
className
.
- 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
.
- createTestDescription(String, String, Serializable) - Static method in class org.junit.runner.Description
-
Create a Description
of a single test named name
in the class clazz
.
- createTestResult() - Method in class junit.textui.TestRunner
-
Creates the TestResult to be used for the test run.
- createTestsForParameters(Iterable<Object>, String) - Method in class org.junit.runners.Parameterized.RunnersFactory
-
- createTestUsingConstructorInjection() - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters
-
- createTestUsingFieldInjection() - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters
-
- createTestWithNotNormalizedParameters(String, int, Object) - Method in class org.junit.runners.Parameterized.RunnersFactory
-
- createTestWithParameters(TestClass, String, int, Object[]) - Method in class org.junit.runners.Parameterized.RunnersFactory
-
- createTimeoutException(Thread) - Method in class org.junit.internal.runners.statements.FailOnTimeout
-
- CURRENT_RULE_CONTAINER - Static variable in class org.junit.runners.BlockJUnit4ClassRunner
-
- currentListeners - Variable in class org.junit.runner.notification.RunNotifier.SafeNotifier
-
- CustomAllDefaultPossibilitiesBuilder() - Constructor for class org.junit.internal.requests.ClassRequest.CustomAllDefaultPossibilitiesBuilder
-
- CustomSuiteMethodBuilder() - Constructor for class org.junit.internal.requests.ClassRequest.CustomSuiteMethodBuilder
-
- fActiveTestDeathCount - Variable in class junit.extensions.ActiveTestSuite
-
- FactoryHolder() - Constructor for class org.junit.internal.management.ManagementFactory.FactoryHolder
-
- fActual - Variable in class junit.framework.ComparisonCompactor
-
- fActual - Variable in error junit.framework.ComparisonFailure
-
- fActual - Variable in error org.junit.ComparisonFailure
-
- fail(String) - Static method in class junit.framework.Assert
-
Deprecated.
Fails a test with the given message.
- fail() - Static method in class junit.framework.Assert
-
Deprecated.
Fails a test with no message.
- fail(String) - Static method in class junit.framework.TestCase
-
Fails a test with the given message.
- fail() - Static method in class junit.framework.TestCase
-
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
-
- failDueToMissingException() - Method in class org.junit.rules.ExpectedException
-
- failed(long, Throwable, Description) - Method in class org.junit.rules.Stopwatch
-
Invoked when a test fails
- failed(Throwable, Description) - Method in class org.junit.rules.Stopwatch.InternalWatcher
-
- failed(Throwable, Description) - Method in class org.junit.rules.TestWatcher
-
Invoked when a test fails
- failed(Throwable, FrameworkMethod) - Method in class org.junit.rules.TestWatchman
-
Deprecated.
Invoked when a test method fails
- FailedBefore - Exception in org.junit.internal.runners
-
- FailedBefore() - Constructor for exception org.junit.internal.runners.FailedBefore
-
Deprecated.
- failedQuietly(Throwable, Description, List<Throwable>) - Method in class org.junit.rules.TestWatcher
-
- failedTest() - Method in class junit.framework.TestFailure
-
Gets the failed test.
- failEquals(String, Object) - Static method in class org.junit.Assert
-
- failNotEquals(String, Object, Object) - Static method in class junit.framework.Assert
-
Deprecated.
- failNotEquals(String, Object, Object) - Static method in class junit.framework.TestCase
-
- failNotEquals(String, Object, Object) - Static method in class org.junit.Assert
-
- failNotNull(String, Object) - Static method in class org.junit.Assert
-
- failNotSame(String, Object, Object) - Static method in class junit.framework.Assert
-
Deprecated.
- failNotSame(String, Object, Object) - Static method in class junit.framework.TestCase
-
- failNotSame(String, Object, Object) - Static method in class org.junit.Assert
-
- FailOnTimeout - Class in org.junit.internal.runners.statements
-
- FailOnTimeout(Statement, long) - Constructor for class org.junit.internal.runners.statements.FailOnTimeout
-
- FailOnTimeout(FailOnTimeout.Builder, Statement) - Constructor for class org.junit.internal.runners.statements.FailOnTimeout
-
- FailOnTimeout.Builder - Class in org.junit.internal.runners.statements
-
- FailOnTimeout.CallableStatement - Class in org.junit.internal.runners.statements
-
- failSame(String) - Static method in class junit.framework.Assert
-
Deprecated.
- failSame(String) - Static method in class junit.framework.TestCase
-
- failSame(String) - Static method in class org.junit.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
-
- FAILURE_MESSAGE - Static variable in class org.junit.internal.management.ReflectiveThreadMXBean.Holder
-
- 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
- FailureList - Class in org.junit.experimental.results
-
- FailureList(List<Failure>) - Constructor for class org.junit.experimental.results.FailureList
-
- failures() - Method in class junit.framework.TestResult
-
Returns an Enumeration for the failures.
- failures - Variable in class org.junit.experimental.results.FailureList
-
- failures() - Method in class org.junit.experimental.results.PrintableResult
-
Returns the failures in this result.
- failures - Variable in class org.junit.runner.Result
-
- FakeRuntimeMXBean - Class in org.junit.internal.management
-
No-op implementation of RuntimeMXBean when the platform doesn't provide it.
- FakeRuntimeMXBean() - Constructor for class org.junit.internal.management.FakeRuntimeMXBean
-
- FakeThreadMXBean - Class in org.junit.internal.management
-
No-op implementation of ThreadMXBean when the platform doesn't provide it.
- FakeThreadMXBean() - Constructor for class org.junit.internal.management.FakeThreadMXBean
-
- fAnnotations - Variable in class org.junit.runner.Description
-
- fAssumption - Variable in exception org.junit.internal.AssumptionViolatedException
-
- fCache - Variable in class junit.framework.JUnit4TestAdapter
-
- fCause - Variable in error org.junit.internal.ArrayComparisonFailure
-
- fChildren - Variable in class org.junit.runner.Description
-
- fColumn - Variable in class junit.textui.ResultPrinter
-
- fContextLength - Variable in class junit.framework.ComparisonCompactor
-
- fCount - Variable in class org.junit.runner.Result.SerializedForm
-
- fDelta - Variable in class org.junit.internal.InexactComparisonCriteria
-
- fDescription - Variable in class junit.framework.JUnit4TestCaseFacade
-
- fDescription - Variable in class org.junit.runner.notification.Failure
-
- fDisplayName - Variable in class org.junit.runner.Description
-
- fDurations - Variable in class org.junit.experimental.max.MaxHistory
-
- fErrors - Variable in class junit.framework.TestResult
-
- fErrors - Variable in exception org.junit.internal.runners.InitializationError
-
Deprecated.
- fErrors - Variable in exception org.junit.runners.model.InitializationError
-
- fErrors - Variable in exception org.junit.runners.model.MultipleFailureException
-
- fExpected - Variable in class junit.framework.ComparisonCompactor
-
- fExpected - Variable in error junit.framework.ComparisonFailure
-
- fExpected - Variable in error org.junit.ComparisonFailure
-
- fFailedTest - Variable in class junit.framework.TestFailure
-
- fFailures - Variable in class junit.framework.TestResult
-
- fFailures - Variable in class org.junit.runner.Result.SerializedForm
-
- fFailureTimestamps - Variable in class org.junit.experimental.max.MaxHistory
-
- fFilter - Variable in class org.junit.internal.requests.FilterRequest
-
- fgFilterStack - Static variable in class junit.runner.BaseTestRunner
-
- fgMaxMessageLength - Static variable in class junit.runner.BaseTestRunner
-
- fHistoryStore - Variable in class org.junit.experimental.max.MaxHistory
-
- field - Variable in class org.junit.runners.model.FrameworkField
-
- FIELD_COMPARATOR - Static variable in class org.junit.runners.model.TestClass
-
- FieldComparator() - Constructor for class org.junit.runners.model.TestClass.FieldComparator
-
- FieldMustBeARule() - Constructor for class org.junit.internal.runners.rules.RuleMemberValidator.FieldMustBeARule
-
- FieldMustBeATestRule() - Constructor for class org.junit.internal.runners.rules.RuleMemberValidator.FieldMustBeATestRule
-
- fieldsAreAnnotated() - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters
-
- fieldsForAnnotations - Variable in class org.junit.runners.model.TestClass
-
- FieldValidator() - Constructor for class org.junit.validator.AnnotationsValidator.FieldValidator
-
- fIgnoreCount - Variable in class org.junit.runner.Result.SerializedForm
-
- 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.
- filterAbstractClasses(Class<?>[]) - Static method in class org.junit.experimental.runners.Enclosed
-
- filteredChildren - Variable in class org.junit.runners.ParentRunner
-
- FilterFactories - Class in org.junit.runner
-
- FilterFactories() - Constructor for class org.junit.runner.FilterFactories
-
- FilterFactory - Interface in org.junit.runner
-
Extend this class to create a factory that creates
Filter
.
- FilterFactory.FilterNotCreatedException - Exception in org.junit.runner
-
Exception thrown if the
Filter
cannot be created.
- FilterFactoryParams - Class in org.junit.runner
-
- FilterFactoryParams(Description, String) - Constructor for class org.junit.runner.FilterFactoryParams
-
- filterLine(String) - Static method in class junit.runner.BaseTestRunner
-
- FilterNotCreatedException(Exception) - Constructor for exception org.junit.runner.FilterFactory.FilterNotCreatedException
-
- FilterRequest - Class in org.junit.internal.requests
-
- FilterRequest(Request, Filter) - Constructor for class org.junit.internal.requests.FilterRequest
-
Creates a filtered Request
- filterSpecs - Variable in class org.junit.runner.JUnitCommandLineParseResult
-
- 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 tests whose
Description
matches the given description.
- findCommonPrefix() - Method in class junit.framework.ComparisonCompactor
-
- findCommonSuffix() - Method in class junit.framework.ComparisonCompactor
-
- findDeepAnnotation(Class<T>) - Method in class org.junit.experimental.theories.ParameterSignature
-
- findDeepAnnotation(Annotation[], Class<T>, int) - Method in class org.junit.experimental.theories.ParameterSignature
-
- findExpectedType(Class<?>) - Static method in class org.junit.internal.matchers.TypeSafeMatcher
-
Deprecated.
- fIndices - Variable in error org.junit.internal.ArrayComparisonFailure
-
- findLeaves(Request) - Method in class org.junit.experimental.max.MaxCore
-
- findLeaves(Description, Description, List<Description>) - Method in class org.junit.experimental.max.MaxCore
-
- finished(long, Description) - Method in class org.junit.rules.Stopwatch
-
Invoked when a test method finishes (whether passing or failing)
- finished(Description) - Method in class org.junit.rules.Stopwatch.InternalWatcher
-
- finished(Description) - Method in class org.junit.rules.TestWatcher
-
Invoked when a test method finishes (whether passing or failing)
- finished(FrameworkMethod) - Method in class org.junit.rules.TestWatchman
-
Deprecated.
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)
- finishedQuietly(Description, List<Throwable>) - Method in class org.junit.rules.TestWatcher
-
- fInstance - Static variable in class junit.framework.JUnit4TestAdapterCache
-
- fInvalidParameters - Variable in class org.junit.experimental.theories.Theories.TheoryAnchor
-
- 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.
- fireTestFailures(List<RunListener>, List<Failure>) - Method in class org.junit.runner.notification.RunNotifier
-
- 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.
- fireTestSuiteFinished() - Method in class org.junit.internal.runners.model.EachTestNotifier
-
- fireTestSuiteFinished(Description) - Method in class org.junit.runner.notification.RunNotifier
-
Invoke to tell listeners that a test suite is about to finish.
- fireTestSuiteStarted() - Method in class org.junit.internal.runners.model.EachTestNotifier
-
- fireTestSuiteStarted(Description) - Method in class org.junit.runner.notification.RunNotifier
-
Invoke to tell listeners that a test suite is about to start.
- FixMethodOrder - Annotation Type in org.junit
-
This class allows the user to choose the order of execution of the methods within a test class.
- fListeners - Variable in class junit.framework.TestResult
-
- fLoading - Variable in class junit.runner.BaseTestRunner
-
- floatIsDifferent(float, float, float) - Static method in class org.junit.Assert
-
- fMatcher - Variable in exception org.junit.internal.AssumptionViolatedException
-
- fMessage - Variable in error org.junit.internal.ArrayComparisonFailure
-
- fName - Variable in class junit.framework.TestCase
-
the name of the test case
- fName - Variable in class junit.framework.TestSuite
-
- fNewTestClass - Variable in class junit.framework.JUnit4TestAdapter
-
- folder - Variable in class org.junit.rules.TemporaryFolder
-
- forFolder(String) - Static method in class org.junit.experimental.max.MaxCore
-
- 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
-
Deprecated.
- format(String, Object, Object) - Static method in class junit.framework.TestCase
-
- format(String, Object, Object) - Static method in class org.junit.Assert
-
- formatClass(Class<?>) - Static method in class org.junit.Assert
-
- formatClassAndValue(Object, String) - Static method in class org.junit.Assert
-
- formatDisplayName(String, String) - Static method in class org.junit.runner.Description
-
- forMethods() - Method in class org.junit.internal.runners.rules.RuleMemberValidator.Builder
-
- forValue(String, Object) - Static method in class org.junit.experimental.theories.PotentialAssignment
-
- fPreferences - Static variable in class junit.runner.BaseTestRunner
-
- fPrefix - Variable in class junit.framework.ComparisonCompactor
-
- fPrinter - Variable in class junit.textui.TestRunner
-
- 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)
- FrameworkField(Field) - Constructor for class org.junit.runners.model.FrameworkField
-
Returns a new FrameworkField
for field
.
- FrameworkMember<T extends FrameworkMember<T>> - Class in org.junit.runners.model
-
- FrameworkMember() - Constructor for class org.junit.runners.model.FrameworkMember
-
- 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
- FromDataPoints - Annotation Type in org.junit.experimental.theories
-
Annotating a parameter of a
@Theory
method with
@FromDataPoints
will limit the
datapoints considered as potential values for that parameter to just the
DataPoints
with the given
name.
- fRunner - Variable in class junit.framework.JUnit4TestAdapter
-
- fRunTests - Variable in class junit.framework.TestResult
-
- fRunTime - Variable in class org.junit.runner.Result.SerializedForm
-
- fStartTime - Variable in class org.junit.runner.Result.SerializedForm
-
- fStop - Variable in class junit.framework.TestResult
-
- fSuffix - Variable in class junit.framework.ComparisonCompactor
-
- fTest - Variable in class junit.extensions.TestDecorator
-
- fTestClass - Variable in class org.junit.internal.requests.ClassRequest
-
- fTestClass - Variable in class org.junit.runner.Description
-
- fTests - Variable in class junit.framework.TestSuite
-
- fThrownException - Variable in class junit.framework.TestFailure
-
- fThrownException - Variable in class org.junit.runner.notification.Failure
-
- fTimesRepeat - Variable in class junit.extensions.RepeatedTest
-
- fUniqueId - Variable in class org.junit.runner.Description
-
- fValue - Variable in exception org.junit.internal.AssumptionViolatedException
-
- fValueMatcher - Variable in exception org.junit.internal.AssumptionViolatedException
-
- fWriter - Variable in class junit.textui.ResultPrinter
-
- generateAssignmentsFromTypeAlone(ParameterSignature) - Method in class org.junit.experimental.theories.internal.Assignments
-
- 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) - Method in class org.junit.experimental.theories.internal.Assignments
-
- getAfters() - Method in class org.junit.internal.runners.TestClass
-
Deprecated.
- getAfters() - Method in class org.junit.internal.runners.TestMethod
-
Deprecated.
- getAllArguments() - Method in class org.junit.experimental.theories.internal.Assignments
-
- getAnnotatablesForTestClass(TestClass) - Method in class org.junit.validator.AnnotationsValidator.AnnotatableValidator
-
- getAnnotatablesForTestClass(TestClass) - Method in class org.junit.validator.AnnotationsValidator.ClassValidator
-
- getAnnotatablesForTestClass(TestClass) - Method in class org.junit.validator.AnnotationsValidator.FieldValidator
-
- getAnnotatablesForTestClass(TestClass) - Method in class org.junit.validator.AnnotationsValidator.MethodValidator
-
- getAnnotatedClasses(Class<?>) - Static method in class org.junit.runners.Suite
-
- getAnnotatedFields() - Method in class org.junit.runners.model.TestClass
-
Returns, efficiently, all the non-overridden fields in this class and its
superclasses that are annotated.
- 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
.
- getAnnotatedFieldsByParameter() - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters
-
- getAnnotatedFieldValues(Object, Class<? extends Annotation>, Class<T>) - Method in class org.junit.runners.model.TestClass
-
- getAnnotatedMembers(Map<Class<? extends Annotation>, List<T>>, Class<? extends Annotation>, boolean) - Static method in class org.junit.runners.model.TestClass
-
- getAnnotatedMethods(Class<? extends Annotation>) - Method in class org.junit.internal.runners.TestClass
-
Deprecated.
- getAnnotatedMethods() - Method in class org.junit.runners.model.TestClass
-
Returns, efficiently, all the non-overridden methods in this class and
its superclasses that are annotated}.
- 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
.
- getAnnotatedMethodValues(Object, Class<? extends Annotation>, Class<T>) - Method in class org.junit.runners.model.TestClass
-
- 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 interface org.junit.runners.model.Annotatable
-
Returns the annotation on the model element of the given type, or @code{null}
- getAnnotation(Class<T>) - Method in class org.junit.runners.model.FrameworkField
-
- getAnnotation(Class<T>) - Method in class org.junit.runners.model.FrameworkMethod
-
Returns the annotation of type annotationType
on this method, if
one exists.
- getAnnotation(Class<T>) - Method in class org.junit.runners.model.TestClass
-
- getAnnotations() - Method in class org.junit.experimental.theories.ParameterSignature
-
- getAnnotations(TestCase) - Static method in class org.junit.internal.runners.JUnit38ClassRunner
-
Get the annotations associated with given TestCase.
- getAnnotations() - Method in class org.junit.runner.Description
-
- getAnnotations() - Method in interface org.junit.runners.model.Annotatable
-
Returns the model elements' annotations.
- 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
- getArgs() - Method in class org.junit.runner.FilterFactoryParams
-
- getArgumentStrings(boolean) - Method in class org.junit.experimental.theories.internal.Assignments
-
- getAssumptionFailureCount() - Method in class org.junit.runner.Result
-
Returns the number of tests skipped because of an assumption failure
- getBean(Object) - Static method in class org.junit.internal.management.ManagementFactory.RuntimeHolder
-
- getBean(Object) - Static method in class org.junit.internal.management.ManagementFactory.ThreadHolder
-
- getBeanObject(String) - Static method in class org.junit.internal.management.ManagementFactory.FactoryHolder
-
- getBefores() - Method in class org.junit.internal.runners.TestClass
-
Deprecated.
- getBefores() - Method in class org.junit.internal.runners.TestMethod
-
Deprecated.
- getCause() - Method in error org.junit.internal.ArrayComparisonFailure
-
- getCauses(Throwable) - Method in class org.junit.internal.runners.ErrorReportingRunner
-
- 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.
- getCauseStackTraceLines(Throwable) - Static method in class org.junit.internal.Throwables
-
- getChildren() - Method in class org.junit.runner.Description
-
Gets the copy of the children of this Description
.
- getChildren() - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
- getChildren() - Method in class org.junit.runners.ParentRunner
-
Returns a list of objects that define the children of this Runner.
- getChildren() - Method in class org.junit.runners.Suite
-
- getClass(String) - Static method in class org.junit.internal.Classes
-
Returns Class.forName for className
using the current thread's class loader.
- getClass(String, Class<?>) - Static method in class org.junit.internal.Classes
-
Returns Class.forName for className
using the current thread's class loader.
- getClasses() - Method in class org.junit.runner.JUnitCommandLineParseResult
-
Returns test classes parsed from command line.
- getClassName() - Method in class org.junit.runner.Description
-
- getClassName(Class<?>) - Static method in class org.junit.runner.manipulation.Ordering
-
- getClassNames(Class<?>...) - Method in class org.junit.internal.runners.ErrorReportingRunner
-
- getComparator() - Method in enum org.junit.runners.MethodSorters
-
- getConstructor() - Method in class org.junit.internal.runners.TestClass
-
Deprecated.
- getConstructorArguments() - Method in class org.junit.experimental.theories.internal.Assignments
-
- getConstructorParameterCount() - Method in class org.junit.experimental.theories.internal.Assignments
-
- getDataPointsFields(ParameterSignature) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- getDataPointsFields(ParameterSignature) - Method in class org.junit.experimental.theories.internal.SpecificDataPointsSupplier
-
- getDataPointsMethods(ParameterSignature) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- getDataPointsMethods(ParameterSignature) - Method in class org.junit.experimental.theories.internal.SpecificDataPointsSupplier
-
- getDeclaredMethods(Class<?>) - Static method in class org.junit.internal.MethodSorter
-
Gets declared methods of a class in a predictable order, unless @FixMethodOrder(MethodSorters.JVM) is specified.
- getDeclaringClass() - Method in class org.junit.runners.model.FrameworkField
-
- getDeclaringClass() - Method in class org.junit.runners.model.FrameworkMember
-
- getDeclaringClass() - Method in class org.junit.runners.model.FrameworkMethod
-
Returns the class where the method is actually declared
- 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.internal.AllMembersSupplier.MethodParameterValue
-
- 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.Parameterized.AssumptionViolationRunner
-
- getDescription() - Method in class org.junit.runners.ParentRunner
-
- getDisplayName() - Method in class org.junit.runner.Description
-
- getEffectiveClass(Test) - Method in class org.junit.internal.runners.JUnit38ClassRunner.OldTestClassAdaptingListener
-
- getEnclosingClassForNonStaticMemberClass(Class<?>) - Method in class org.junit.internal.builders.AnnotatedBuilder
-
- getException() - Method in class org.junit.runner.notification.Failure
-
- getExcludedCategory(Class<?>) - Static method in class org.junit.experimental.categories.Categories
-
- getExpected() - Method in error junit.framework.ComparisonFailure
-
Gets the expected string value
- getExpected() - Method in error org.junit.ComparisonFailure
-
Returns the expected string value
- getExpectedException() - Method in class org.junit.internal.runners.TestMethod
-
Deprecated.
- getExpectedException(Test) - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
- getFailure(Description) - Method in class org.junit.experimental.max.MaxHistory.TestComparator
-
- getFailureCount() - Method in class org.junit.runner.Result
-
Returns the number of tests that failed during the run
- getFailures() - Method in class org.junit.runner.Result
-
Returns the
Failure
s describing tests that failed and the problems they encountered
- getFailures() - Method in exception org.junit.runners.model.MultipleFailureException
-
- getFailureTimestamp(Description) - Method in class org.junit.experimental.max.MaxHistory
-
- getField() - Method in class org.junit.runners.model.FrameworkField
-
- getFilteredChildren() - Method in class org.junit.runners.ParentRunner
-
- 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
- getFilterSpecs() - Method in class org.junit.runner.JUnitCommandLineParseResult
-
Returns filter specs parsed from command line.
- getFullStackTrace(Throwable) - Static method in class org.junit.internal.Throwables
-
- getIgnoreCount() - Method in class org.junit.runner.Result
-
- getIncludedCategory(Class<?>) - Static method in class org.junit.experimental.categories.Categories
-
- getInjectionType() - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters
-
- getInputArguments() - Method in class org.junit.internal.management.FakeRuntimeMXBean
- getInputArguments() - Method in class org.junit.internal.management.ReflectiveRuntimeMXBean
- getInputArguments() - Method in interface org.junit.internal.management.RuntimeMXBean
-
- getInputArgumentsMethod - Static variable in class org.junit.internal.management.ReflectiveRuntimeMXBean.Holder
-
- getJavaClass() - Method in class org.junit.internal.runners.TestClass
-
Deprecated.
- getJavaClass() - Method in class org.junit.runners.model.TestClass
-
Returns the underlying Java class.
- getLookingForStuckThread() - Method in class org.junit.rules.Timeout.Builder
-
- getLookingForStuckThread() - Method in class org.junit.rules.Timeout
-
Gets whether this Timeout
will look for a stuck thread
when the test times out.
- getMalformedTestClass(Description) - Method in class org.junit.experimental.max.MaxCore
-
- 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
- getMessage() - Method in exception org.junit.runners.model.InvalidTestClassError
-
- getMessage() - Method in exception org.junit.runners.model.MultipleFailureException
-
- getMethod() - Method in class org.junit.runners.model.FrameworkMethod
-
Returns the underlying Java method
- getMethodArguments() - 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
-
- getModifiers() - Method in class org.junit.runners.model.FrameworkField
-
- getModifiers() - Method in class org.junit.runners.model.FrameworkMember
-
- getModifiers() - Method in class org.junit.runners.model.FrameworkMethod
-
- 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(Test) - Method in class org.junit.internal.runners.JUnit38ClassRunner.OldTestClassAdaptingListener
-
- getName() - Method in class org.junit.internal.runners.JUnit4ClassRunner
-
Deprecated.
- getName() - Method in class org.junit.internal.runners.TestClass
-
Deprecated.
- getName() - Method in class org.junit.runners.model.FrameworkField
-
- getName() - Method in class org.junit.runners.model.FrameworkMember
-
- 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.
- getName() - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters
-
- getName() - Method in class org.junit.runners.parameterized.TestWithParameters
-
- getName() - Method in class org.junit.runners.ParentRunner
-
Returns a name used to describe this Runner
- getNanos() - Method in class org.junit.rules.Stopwatch
-
- 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.
- getOrderedRules() - Method in class org.junit.runners.ParentRunner.ClassRuleCollector
-
- getParameters() - Method in class org.junit.runners.parameterized.TestWithParameters
-
- getParametersMethod(TestClass) - Static method in class org.junit.runners.Parameterized.RunnersFactory
-
- getParametersRunnerFactory() - Method in class org.junit.runners.Parameterized.RunnersFactory
-
- getParameterTypes() - Method in class org.junit.runners.model.FrameworkMethod
-
- getPreference(String) - Static method in class junit.runner.BaseTestRunner
-
- getPreference(String, int) - Static method in class junit.runner.BaseTestRunner
-
- getPreferences() - Static method in class junit.runner.BaseTestRunner
-
- getPreferencesFile() - Static method in class junit.runner.BaseTestRunner
-
- getResult(FutureTask<Throwable>, Thread) - Method in class org.junit.internal.runners.statements.FailOnTimeout
-
Wait for the test task, returning the exception thrown by the test if the
test failed, an exception indicating a timeout if the test timed out, or
null
if the test passed.
- getReturnType() - Method in class org.junit.runners.model.FrameworkMethod
-
Returns the return type of the method
- getRoot() - Method in class org.junit.rules.TemporaryFolder
-
- getRunCount() - Method in class org.junit.runner.Result
-
Returns the number of tests run
- getRunner(RunnerBuilder, Class<?>) - Method in class org.junit.experimental.ParallelComputer
-
- getRunner() - Method in class org.junit.internal.requests.FilterRequest
-
- getRunner() - Method in class org.junit.internal.requests.MemoizingRequest
-
- getRunner() - Method in class org.junit.internal.requests.SortingRequest
-
- getRunner(RunnerBuilder, Class<?>) - Method in class org.junit.runner.Computer
-
Create a single-class runner for testClass
, using builder
- getRunner() - Method in class org.junit.runner.Request
-
Returns a
Runner
for this Request
- getRunnerAnnotations() - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters
-
- getRunnerAnnotations() - Method in class org.junit.runners.ParentRunner
-
- getRunTime() - Method in class org.junit.runner.Result
-
Returns the number of milliseconds it took to run the entire suite to run
- getRuntimeMXBean() - Static method in class org.junit.internal.management.ManagementFactory
-
- getSingleDataPointFields(ParameterSignature) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- getSingleDataPointFields(ParameterSignature) - Method in class org.junit.experimental.theories.internal.SpecificDataPointsSupplier
-
- getSingleDataPointMethods(ParameterSignature) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- getSingleDataPointMethods(ParameterSignature) - Method in class org.junit.experimental.theories.internal.SpecificDataPointsSupplier
-
- getSortedDeclaredFields(Class<?>) - Static method in class org.junit.runners.model.TestClass
-
- getSortedEntries() - Method in class org.junit.runners.RuleContainer
-
Returns entries in the order how they should be applied, i.e.
- getSortedRules() - Method in class org.junit.runners.RuleContainer
-
Returns rule instances in the order how they should be applied, i.e.
- getSorter(FixMethodOrder) - Static method in class org.junit.internal.MethodSorter
-
- getStackTrace(Thread) - Method in class org.junit.internal.runners.statements.FailOnTimeout
-
Retrieves the stack trace for a given thread.
- getStacktrace(Throwable) - Static method in class org.junit.internal.Throwables
-
Returns the stacktrace of the given Throwable as a String.
- getStaticFieldValue(Field) - Method in class org.junit.experimental.theories.internal.AllMembersSupplier
-
- getStuckThread(Thread) - Method in class org.junit.internal.runners.statements.FailOnTimeout
-
Determines whether the test appears to be stuck in some thread other than
the "main thread" (the one created to run the test).
- 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
.
- getSuperClasses(Class<?>) - Method in class org.junit.internal.runners.TestClass
-
Deprecated.
- getSuperClasses(Class<?>) - Static method in class org.junit.runners.model.TestClass
-
- getSupplier(ParameterSignature) - Method in class org.junit.experimental.theories.internal.Assignments
-
- getSuppressed - Static variable in class org.junit.internal.Throwables
-
- getTarget() - Method in class org.junit.runner.manipulation.Ordering.Context
-
Gets the description for the top-level target being ordered.
- getTest() - Method in class junit.extensions.TestDecorator
-
- getTest(String) - Method in class junit.runner.BaseTestRunner
-
Returns the Test corresponding to the given suite.
- getTest() - Method in class org.junit.internal.runners.JUnit38ClassRunner
-
- getTestClass() - Method in class junit.framework.JUnit4TestAdapter
-
- getTestClass() - Method in class org.junit.experimental.theories.Theories.TheoryAnchor
-
- getTestClass() - Method in class org.junit.internal.runners.JUnit4ClassRunner
-
Deprecated.
- getTestClass() - Method in class org.junit.runner.Description
-
- getTestClass() - Method in class org.junit.runners.parameterized.TestWithParameters
-
- getTestClass() - Method in class org.junit.runners.ParentRunner
-
Returns a
TestClass
object wrapping the class to be executed.
- getTestConstructor(Class<?>) - Static method in class junit.framework.TestSuite
-
Gets a constructor which takes a single String as
its argument or a no arg constructor.
- getTestDuration(Description) - Method in class org.junit.experimental.max.MaxHistory
-
- getTestHeader() - Method in class org.junit.runner.notification.Failure
-
- getTestMethods() - Method in class org.junit.internal.runners.JUnit4ClassRunner
-
Deprecated.
- getTestMethods() - Method in class org.junit.internal.runners.TestClass
-
Deprecated.
- getTestRules(Object) - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
- getTests() - Method in class junit.framework.JUnit4TestAdapter
-
- getThreadCpuTime(long) - Method in class org.junit.internal.management.FakeThreadMXBean
- getThreadCpuTime(long) - Method in class org.junit.internal.management.ReflectiveThreadMXBean
- getThreadCpuTime(long) - Method in interface org.junit.internal.management.ThreadMXBean
-
- getThreadCpuTimeMethod - Static variable in class org.junit.internal.management.ReflectiveThreadMXBean.Holder
-
- getThreadMXBean() - Static method in class org.junit.internal.management.ManagementFactory
-
- getThreadsInGroup(ThreadGroup) - Method in class org.junit.internal.runners.statements.FailOnTimeout
-
Returns all active threads belonging to a thread group.
- getTimeout() - Method in class org.junit.internal.runners.TestMethod
-
Deprecated.
- getTimeout() - Method in class org.junit.rules.Timeout.Builder
-
- getTimeout(TimeUnit) - Method in class org.junit.rules.Timeout
-
Gets the timeout configured for this rule, in the given units.
- getTimeout(Test) - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
- getTimeout() - Method in exception org.junit.runners.model.TestTimedOutException
-
Gets the time passed before the test was interrupted
- getTimeUnit() - Method in class org.junit.rules.Timeout.Builder
-
- getTimeUnit() - Method in exception org.junit.runners.model.TestTimedOutException
-
Gets the time unit for the timeout value
- getTopLevelDescription() - Method in class org.junit.runner.FilterFactoryParams
-
- getToStringableArrayElement(Object, int, int) - Method in class org.junit.internal.ComparisonCriteria
-
- getTrace() - Method in class org.junit.runner.notification.Failure
-
Gets the printed form of the exception and its stack trace.
- getTrimmedStackTrace(Throwable) - Static method in class org.junit.internal.Throwables
-
Gets a trimmed version of the stack trace of the given exception.
- getTrimmedStackTraceLines(Throwable) - Static method in class org.junit.internal.Throwables
-
- getTrimmedTrace() - Method in class org.junit.runner.notification.Failure
-
Gets a the printed form of the exception, with a trimmed version of the stack trace.
- getType() - Method in class org.junit.experimental.theories.ParameterSignature
-
- getType() - Method in class org.junit.runners.model.FrameworkField
-
- getType() - Method in class org.junit.runners.model.FrameworkMember
-
- getType() - Method in class org.junit.runners.model.FrameworkMethod
-
Returns the return type of the method
- getValue() - Method in class org.junit.experimental.theories.internal.AllMembersSupplier.MethodParameterValue
-
- 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.internal.BooleanSupplier
-
- getValueSources(ParameterSignature) - Method in class org.junit.experimental.theories.internal.EnumSupplier
-
- 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
-
- getWriter() - Method in class org.junit.internal.TextListener
-
- readHistory(File) - Static method in class org.junit.experimental.max.MaxHistory
-
- readObject(ObjectInputStream) - Method in class org.junit.runner.Result
-
- readPreferences() - Static method in class junit.runner.BaseTestRunner
-
- readResolve() - Method in class org.junit.runner.Result
-
- readStacktrace(Throwable) - Method in class org.junit.internal.matchers.StacktracePrintingMatcher
-
- RealSystem - Class in org.junit.internal
-
- RealSystem() - Constructor for class org.junit.internal.RealSystem
-
- recursiveDelete(File) - Method in class org.junit.rules.TemporaryFolder
-
- REFLECTION_METHOD_NAME_PREFIXES - Static variable in class org.junit.internal.Throwables
-
- 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
-
- ReflectiveRuntimeMXBean - Class in org.junit.internal.management
-
- ReflectiveRuntimeMXBean(Object) - Constructor for class org.junit.internal.management.ReflectiveRuntimeMXBean
-
- ReflectiveRuntimeMXBean.Holder - Class in org.junit.internal.management
-
- ReflectiveThreadMXBean - Class in org.junit.internal.management
-
- ReflectiveThreadMXBean(Object) - Constructor for class org.junit.internal.management.ReflectiveThreadMXBean
-
- ReflectiveThreadMXBean.Holder - Class in org.junit.internal.management
-
- RememberingListener() - Constructor for class org.junit.experimental.max.MaxHistory.RememberingListener
-
- removeIgnored(Description) - Method in class junit.framework.JUnit4TestAdapter
-
- 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
- removeParent(Class<?>) - Method in class org.junit.runners.model.RunnerBuilder
-
- RepeatedTest - Class in junit.extensions
-
A Decorator that runs a test repeatedly.
- RepeatedTest(Test, int) - Constructor for class junit.extensions.RepeatedTest
-
- reportMissingExceptionWithMessage(String) - Method in class org.junit.rules.ExpectedException
-
Specifies the failure message for tests that are expected to throw
an exception but do not throw any.
- reportParameterizedError(Throwable, Object...) - Method in class org.junit.experimental.theories.Theories.TheoryAnchor
-
- request - Variable in class org.junit.internal.requests.FilterRequest
-
- request - Variable in class org.junit.internal.requests.OrderingRequest
-
- request - Variable in class org.junit.internal.requests.SortingRequest
-
- 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() - Method in class org.junit.experimental.results.FailureList
-
- result - Variable in class org.junit.experimental.results.PrintableResult
-
- Result - Class in org.junit.runner
-
A Result
collects and summarizes information from running multiple tests.
- Result() - Constructor for class org.junit.runner.Result
-
- Result(Result.SerializedForm) - Constructor for class org.junit.runner.Result
-
- result - Variable in class org.junit.runners.BlockJUnit4ClassRunner.RuleCollector
-
- Result.Listener - Class in org.junit.runner
-
- Result.SerializedForm - Class in org.junit.runner
-
Represents the serialized output of 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
-
- rethrow(Throwable) - Static method in class org.junit.internal.Throwables
-
- rethrowAsException(Throwable) - Static method in class org.junit.internal.Throwables
-
Rethrows the given Throwable
, allowing the caller to
declare that it throws Exception
.
- Rule - Annotation Type in org.junit
-
Annotates fields that reference rules or methods that return a rule.
- rule - Variable in class org.junit.rules.DisableOnDebug
-
- rule - Variable in class org.junit.runners.RuleContainer.RuleEntry
-
- RULE_METHOD_VALIDATOR - Static variable in class org.junit.internal.runners.rules.RuleMemberValidator
-
Validates methods with a
Rule
annotation.
- RULE_VALIDATOR - Static variable in class org.junit.internal.runners.rules.RuleMemberValidator
-
Validates fields with a
Rule
annotation.
- RuleChain - Class in org.junit.rules
-
The RuleChain
can be used for creating composite rules.
- RuleChain(List<TestRule>) - Constructor for class org.junit.rules.RuleChain
-
- RuleCollector() - Constructor for class org.junit.runners.BlockJUnit4ClassRunner.RuleCollector
-
- RuleContainer - Class in org.junit.runners
-
- RuleContainer() - Constructor for class org.junit.runners.RuleContainer
-
- RuleContainer.RuleEntry - Class in org.junit.runners
-
- RuleEntry(Object, int, Integer) - Constructor for class org.junit.runners.RuleContainer.RuleEntry
-
- RuleMemberValidator - Class in org.junit.internal.runners.rules
-
A RuleMemberValidator validates the rule fields/methods of a
TestClass
.
- RuleMemberValidator(RuleMemberValidator.Builder) - Constructor for class org.junit.internal.runners.rules.RuleMemberValidator
-
- RuleMemberValidator.Builder - Class in org.junit.internal.runners.rules
-
- RuleMemberValidator.DeclaringClassMustBePublic - Class in org.junit.internal.runners.rules
-
Requires the member's declaring class to be public
- RuleMemberValidator.FieldMustBeARule - Class in org.junit.internal.runners.rules
-
- RuleMemberValidator.FieldMustBeATestRule - Class in org.junit.internal.runners.rules
-
Requires the member is a field implementing
TestRule
- RuleMemberValidator.MemberMustBeNonStaticOrAlsoClassRule - Class in org.junit.internal.runners.rules
-
Requires the validated member to be non-static
- RuleMemberValidator.MemberMustBePublic - Class in org.junit.internal.runners.rules
-
Requires the member to be public
- RuleMemberValidator.MemberMustBeStatic - Class in org.junit.internal.runners.rules
-
Requires the member to be static
- RuleMemberValidator.MethodMustBeARule - Class in org.junit.internal.runners.rules
-
- RuleMemberValidator.MethodMustBeATestRule - Class in org.junit.internal.runners.rules
-
Require the member to return an implementation of
TestRule
- RuleMemberValidator.RuleValidator - Interface in org.junit.internal.runners.rules
-
Encapsulates a single piece of validation logic, used to determine if
Rule
and
ClassRule
annotations have been used correctly
- rules(Object) - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
- rulesStartingWithInnerMost - Variable in class org.junit.rules.RuleChain
-
- 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(TestCase) - Method in class junit.framework.TestResult
-
Runs a TestCase.
- 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() - Method in interface org.junit.function.ThrowingRunnable
-
- 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() - Method in class org.junit.runner.notification.RunNotifier.SafeNotifier
-
- run(RunNotifier) - Method in class org.junit.runner.Runner
-
Run the tests for this runner.
- run(RunNotifier) - Method in class org.junit.runners.Parameterized.AssumptionViolationRunner
-
- run(RunNotifier) - Method in class org.junit.runners.ParentRunner
-
- RunAfterParams(Statement, List<FrameworkMethod>) - Constructor for class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters.RunAfterParams
-
- runAfters() - Method in class org.junit.internal.runners.ClassRoadie
-
Deprecated.
- runAfters() - Method in class org.junit.internal.runners.MethodRoadie
-
Deprecated.
- 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.
- RunBeforeParams(Statement, List<FrameworkMethod>) - Constructor for class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters.RunBeforeParams
-
- runBefores() - Method in class org.junit.internal.runners.ClassRoadie
-
Deprecated.
- runBefores() - Method in class org.junit.internal.runners.MethodRoadie
-
Deprecated.
- 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.
- runCause(Throwable, RunNotifier) - Method in class org.junit.internal.runners.ErrorReportingRunner
-
- runChild(FrameworkMethod, RunNotifier) - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
- runChild(T, RunNotifier) - Method in class org.junit.runners.ParentRunner
-
- runChild(Runner, RunNotifier) - Method in class org.junit.runners.Suite
-
- runChildren(RunNotifier) - Method in class org.junit.runners.ParentRunner
-
- runClasses(Class<?>...) - Static method in class org.junit.runner.JUnitCore
-
Run the tests contained in classes
.
- runClasses(Computer, 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.
- runFailed(String) - Method in class junit.runner.BaseTestRunner
-
Override to define how to handle a failed loading of
a test suite.
- runFailed(String) - Method in class junit.textui.TestRunner
-
- runFinished() - Method in class junit.extensions.ActiveTestSuite
-
- runLeaf(Statement, Description, RunNotifier) - Method in class org.junit.runners.ParentRunner
-
Runs a
Statement
that represents a leaf (aka atomic) test.
- RunListener - Class in org.junit.runner.notification
-
Register an instance of this class with
RunNotifier
to be notified
of events that occur during a test run.
- RunListener() - Constructor for class org.junit.runner.notification.RunListener
-
- RunListener.ThreadSafe - Annotation Type in org.junit.runner.notification
-
Indicates a RunListener
that can have its methods called
concurrently.
- runMain(JUnitSystem, String...) - Method in class org.junit.runner.JUnitCore
-
- runMethods(RunNotifier) - Method in class org.junit.internal.runners.JUnit4ClassRunner
-
Deprecated.
- runnable - Variable in class org.junit.internal.runners.ClassRoadie
-
Deprecated.
- runner - Variable in class org.junit.internal.requests.MemoizingRequest
-
- 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.internal.requests.ClassRequest.CustomSuiteMethodBuilder
-
- runnerForClass(Class<?>) - Method in class org.junit.runners.model.RunnerBuilder
-
Override to calculate the correct runner for a test class at runtime.
- runnerLock - Variable in class org.junit.internal.requests.MemoizingRequest
-
- runnerOverride - Variable in class org.junit.runners.Parameterized.RunnersFactory
-
- 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
.
- runners(Class<?>, List<Class<?>>) - Method in class org.junit.runners.model.RunnerBuilder
-
- runners(Class<?>[]) - Method in class org.junit.runners.model.RunnerBuilder
-
- runners - Variable in class org.junit.runners.Suite
-
- 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.
- RunnersFactory(Class<?>) - Constructor for class org.junit.runners.Parameterized.RunnersFactory
-
- 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
-
- RunNotifier.SafeNotifier - Class in org.junit.runner.notification
-
- runProtected(Test, Protectable) - Method in class junit.framework.TestResult
-
Runs a TestCase.
- runProtected() - Method in class org.junit.internal.runners.ClassRoadie
-
Deprecated.
- runReflectiveCall() - Method in class org.junit.internal.runners.model.ReflectiveCallable
-
- RunRules - Class in org.junit.rules
-
Runs a collection of rules on a statement.
- RunRules(Statement, Iterable<TestRule>, Description) - Constructor for class org.junit.rules.RunRules
-
- runSingleMethod(String, String, boolean) - Method in class junit.textui.TestRunner
-
- runsTopToBottom(Class<? extends Annotation>) - Method in class org.junit.internal.runners.TestClass
-
Deprecated.
- runsTopToBottom(Class<? extends Annotation>) - Static method in class org.junit.runners.model.TestClass
-
- runTest(Test, TestResult) - Method in class junit.extensions.ActiveTestSuite
-
- runTest() - Method in class junit.framework.TestCase
-
Override to run the test and assert its state.
- runTest(Test, TestResult) - Method in class junit.framework.TestSuite
-
- runTest() - Method in class org.junit.internal.runners.MethodRoadie
-
Deprecated.
- runTestMethod() - Method in class org.junit.internal.runners.MethodRoadie
-
Deprecated.
- runtime(TimeUnit) - Method in class org.junit.rules.Stopwatch
-
Gets the runtime for the test.
- runTime - Variable in class org.junit.runner.Result
-
- RUNTIME_MX_BEAN - Static variable in class org.junit.internal.management.ManagementFactory.RuntimeHolder
-
- RuntimeHolder() - Constructor for class org.junit.internal.management.ManagementFactory.RuntimeHolder
-
- runtimeMxBean - Variable in class org.junit.internal.management.ReflectiveRuntimeMXBean
-
- RuntimeMXBean - Interface in org.junit.internal.management
-
Wrapper for java.lang.management.RuntimeMXBean
.
- runUnprotected() - Method in class org.junit.internal.runners.ClassRoadie
-
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.
- runWithAssignment(Assignments) - Method in class org.junit.experimental.theories.Theories.TheoryAnchor
-
- runWithCompleteAssignment(Assignments) - Method in class org.junit.experimental.theories.Theories.TheoryAnchor
-
- runWithIncompleteAssignment(Assignments) - Method in class org.junit.experimental.theories.Theories.TheoryAnchor
-
- runWithTimeout(long) - Method in class org.junit.internal.runners.MethodRoadie
-
Deprecated.
- SafeNotifier() - Constructor for class org.junit.runner.notification.RunNotifier.SafeNotifier
-
- SafeNotifier(List<RunListener>) - Constructor for class org.junit.runner.notification.RunNotifier.SafeNotifier
-
- safeRunnerForClass(Class<?>) - Method in class org.junit.runners.model.RunnerBuilder
-
Always returns a runner for the given test class.
- save() - Method in class org.junit.experimental.max.MaxHistory
-
- savePreferences() - Static method in class junit.runner.BaseTestRunner
-
- scanAnnotatedMembers(Map<Class<? extends Annotation>, List<FrameworkMethod>>, Map<Class<? extends Annotation>, List<FrameworkField>>) - Method in class org.junit.runners.model.TestClass
-
- schedule(Runnable) - Method in interface org.junit.runners.model.RunnerScheduler
-
Schedule a child statement to run
- scheduler - Variable in class org.junit.runners.ParentRunner
-
- seconds(long) - Static method in class org.junit.rules.Timeout
-
Creates a
Timeout
that will timeout a test after the
given duration, in seconds.
- serial() - Static method in class org.junit.runner.Computer
-
Returns a new default computer, which runs tests in serial order
- serialize(ObjectOutputStream) - Method in class org.junit.runner.Result.SerializedForm
-
- serializedForm - Variable in class org.junit.runner.Result
-
Only set during deserialization process.
- SerializedForm(Result) - Constructor for class org.junit.runner.Result.SerializedForm
-
- SerializedForm(ObjectInputStream.GetField) - Constructor for class org.junit.runner.Result.SerializedForm
-
- serialPersistentFields - Static variable in class org.junit.runner.Result
-
- serialVersionUID - Static variable in error junit.framework.AssertionFailedError
-
- serialVersionUID - Static variable in error junit.framework.ComparisonFailure
-
- serialVersionUID - Static variable in class junit.framework.JUnit4TestAdapterCache
-
- serialVersionUID - Static variable in exception org.junit.AssumptionViolatedException
-
- serialVersionUID - Static variable in error org.junit.ComparisonFailure
-
- serialVersionUID - Static variable in exception org.junit.experimental.max.CouldNotReadCoreException
-
- serialVersionUID - Static variable in class org.junit.experimental.max.MaxHistory
-
- serialVersionUID - Static variable in error org.junit.experimental.theories.internal.ParameterizedAssertionError
-
- serialVersionUID - Static variable in exception org.junit.experimental.theories.PotentialAssignment.CouldNotGenerateValueException
-
- serialVersionUID - Static variable in error org.junit.internal.ArrayComparisonFailure
-
- serialVersionUID - Static variable in exception org.junit.internal.AssumptionViolatedException
-
- serialVersionUID - Static variable in exception org.junit.internal.runners.FailedBefore
-
Deprecated.
- serialVersionUID - Static variable in exception org.junit.internal.runners.InitializationError
-
Deprecated.
- serialVersionUID - Static variable in exception org.junit.internal.runners.model.MultipleFailureException
-
Deprecated.
- serialVersionUID - Static variable in exception org.junit.internal.runners.rules.ValidationError
-
- serialVersionUID - Static variable in class org.junit.runner.Description
-
- serialVersionUID - Static variable in exception org.junit.runner.JUnitCommandLineParseResult.CommandLineParserError
-
- serialVersionUID - Static variable in exception org.junit.runner.manipulation.InvalidOrderingException
-
- serialVersionUID - Static variable in exception org.junit.runner.manipulation.NoTestsRemainException
-
- serialVersionUID - Static variable in class org.junit.runner.notification.Failure
-
- serialVersionUID - Static variable in exception org.junit.runner.notification.StoppedByUserException
-
- serialVersionUID - Static variable in class org.junit.runner.Result.SerializedForm
-
- serialVersionUID - Static variable in class org.junit.runner.Result
-
- serialVersionUID - Static variable in exception org.junit.runners.model.InitializationError
-
- serialVersionUID - Static variable in exception org.junit.runners.model.InvalidTestClassError
-
- serialVersionUID - Static variable in exception org.junit.runners.model.MultipleFailureException
-
- serialVersionUID - Static variable in exception org.junit.runners.model.TestTimedOutException
-
- serialVersionUID - Static variable in class org.junit.Test.None
-
- serialVersionUID - Static variable in exception org.junit.TestCouldNotBeSkippedException
-
- 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.
- setOrder(Object, int) - Method in class org.junit.runners.RuleContainer
-
Sets order value for the specified rule.
- setPreference(String, String) - Static method in class junit.runner.BaseTestRunner
-
- setPreferences(Properties) - 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.
- setTest(Test) - Method in class org.junit.internal.runners.JUnit38ClassRunner
-
- setUp() - Method in class junit.extensions.TestSetup
-
Sets up the fixture.
- setUp() - Method in class junit.framework.TestCase
-
Sets up the fixture, for example, open a network connection.
- sharedPrefix - Variable in class org.junit.ComparisonFailure.ComparisonCompactor.DiffExtractor
-
- sharedPrefix() - Method in class org.junit.ComparisonFailure.ComparisonCompactor
-
- sharedSuffix - Variable in class org.junit.ComparisonFailure.ComparisonCompactor.DiffExtractor
-
- sharedSuffix(String) - Method in class org.junit.ComparisonFailure.ComparisonCompactor
-
- shouldNotReorder() - Method in class org.junit.runners.ParentRunner
-
- shouldRun(Description) - Method in class org.junit.experimental.categories.Categories.CategoryFilter
-
- shouldRun(Description) - Method in class org.junit.runner.manipulation.Filter
-
- shouldRun(Filter, T) - Method in class org.junit.runners.ParentRunner
-
- shouldStop() - Method in class junit.framework.TestResult
-
Checks whether the test run should stop.
- showStackRaw() - Static method in class junit.runner.BaseTestRunner
-
- shuffledBy(Random) - Static method in class org.junit.runner.manipulation.Ordering
-
Creates an
Ordering
that shuffles the items using the given
Random
instance.
- signatures(Method) - Static method in class org.junit.experimental.theories.ParameterSignature
-
- signatures(Constructor<?>) - Static method in class org.junit.experimental.theories.ParameterSignature
-
- signatures(Class<?>[], Annotation[][]) - Static method in class org.junit.experimental.theories.ParameterSignature
-
- skipped(AssumptionViolatedException, Description) - Method in class org.junit.rules.Stopwatch.InternalWatcher
-
- skipped(long, AssumptionViolatedException, Description) - Method in class org.junit.rules.Stopwatch
-
Invoked when a test is skipped due to a failed assumption.
- skipped(AssumptionViolatedException, Description) - Method in class org.junit.rules.TestWatcher
-
Invoked when a test is skipped due to a failed assumption.
- skipped(AssumptionViolatedException, Description) - Method in class org.junit.rules.TestWatcher
-
- skippedQuietly(AssumptionViolatedException, Description, List<Throwable>) - Method in class org.junit.rules.TestWatcher
-
- 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
- SpecificDataPointsSupplier - Class in org.junit.experimental.theories.internal
-
- SpecificDataPointsSupplier(TestClass) - Constructor for class org.junit.experimental.theories.internal.SpecificDataPointsSupplier
-
- StacktracePrintingMatcher<T extends java.lang.Throwable> - Class in org.junit.internal.matchers
-
A matcher that delegates to throwableMatcher and in addition appends the
stacktrace of the actual Throwable in case of a mismatch.
- StacktracePrintingMatcher(Matcher<T>) - Constructor for class org.junit.internal.matchers.StacktracePrintingMatcher
-
- start(String[]) - Method in class junit.textui.TestRunner
-
Starts a test run.
- starting(Description) - Method in class org.junit.rules.Stopwatch.InternalWatcher
-
- starting() - Method in class org.junit.rules.Stopwatch
-
- starting(Description) - Method in class org.junit.rules.TestName
-
- starting(Description) - Method in class org.junit.rules.TestWatcher
-
Invoked when a test is about to start
- starting(FrameworkMethod) - Method in class org.junit.rules.TestWatchman
-
Deprecated.
Invoked when a test method is about to start
- startingQuietly(Description, List<Throwable>) - Method in class org.junit.rules.TestWatcher
-
- startLatch - Variable in class org.junit.internal.runners.statements.FailOnTimeout.CallableStatement
-
- startNanos - Variable in class org.junit.rules.Stopwatch
-
- starts - Variable in class org.junit.experimental.max.MaxHistory.RememberingListener
-
- 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
-
- startTest(Test) - Method in class org.junit.internal.runners.JUnit38ClassRunner.OldTestClassAdaptingListener
-
- startTime - Variable in class org.junit.runner.Result
-
- State() - Constructor for enum org.junit.internal.Throwables.State
-
- statement(Statement) - Method in class org.junit.rules.ExternalResource
-
- statement - Variable in class org.junit.rules.RunRules
-
- 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
-
- stopping() - Method in class org.junit.rules.Stopwatch
-
- Stopwatch - Class in org.junit.rules
-
The Stopwatch Rule notifies one of its own protected methods of the time spent by a test.
- Stopwatch() - Constructor for class org.junit.rules.Stopwatch
-
- Stopwatch(Stopwatch.Clock) - Constructor for class org.junit.rules.Stopwatch
-
- Stopwatch.Clock - Class in org.junit.rules
-
- Stopwatch.InternalWatcher - Class in org.junit.rules
-
- storedLocally(File) - Static method in class org.junit.experimental.max.MaxCore
-
Create a new MaxCore from a serialized file stored at storedResults
- stringValueOf(Object) - Static method in error org.junit.experimental.theories.internal.ParameterizedAssertionError
-
- succeeded(Description) - Method in class org.junit.rules.Stopwatch.InternalWatcher
-
- succeeded(long, Description) - Method in class org.junit.rules.Stopwatch
-
Invoked when a test succeeds
- succeeded(Description) - Method in class org.junit.rules.TestWatcher
-
Invoked when a test succeeds
- succeeded(FrameworkMethod) - Method in class org.junit.rules.TestWatchman
-
Deprecated.
Invoked when a test method succeeds
- succeededQuietly(Description, List<Throwable>) - Method in class org.junit.rules.TestWatcher
-
- SUCCESS_EXIT - Static variable in class junit.textui.TestRunner
-
- successes - Variable in class org.junit.experimental.theories.Theories.TheoryAnchor
-
- 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(Class<?>, Class<?>[]) - Constructor for class org.junit.runners.Suite
-
Call this when the default builder is good enough.
- Suite(RunnerBuilder, Class<?>, Class<?>[]) - Constructor for class org.junit.runners.Suite
-
Called by this class and subclasses once the classes making up the suite have been determined
- Suite(Class<?>, List<Runner>) - Constructor for class org.junit.runners.Suite
-
Called by this class and subclasses once the runners making up the suite have been determined
- 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
-
- suiteBuilder - Variable in class org.junit.internal.builders.AnnotatedBuilder
-
- 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() - Method in class org.junit.internal.builders.AllDefaultPossibilitiesBuilder
-
- SuiteMethodBuilder - Class in org.junit.internal.builders
-
- SuiteMethodBuilder() - Constructor for class org.junit.internal.builders.SuiteMethodBuilder
-
- suiteMethodBuilder() - Method in class org.junit.internal.requests.ClassRequest.CustomAllDefaultPossibilitiesBuilder
-
- SynchronizedRunListener - Class in org.junit.runner.notification
-
Thread-safe decorator for
RunListener
implementations that synchronizes
calls to the delegate.
- SynchronizedRunListener(RunListener, Object) - Constructor for class org.junit.runner.notification.SynchronizedRunListener
-
- target - Variable in class org.junit.internal.runners.statements.InvokeMethod
-
- target - Variable in class org.junit.internal.runners.statements.RunAfters
-
- target - Variable in class org.junit.internal.runners.statements.RunBefores
-
- tearDown() - Method in class junit.extensions.TestSetup
-
Tears down the fixture.
- tearDown() - Method in class junit.framework.TestCase
-
Tears down the fixture, for example, close a network connection.
- TEMP_DIR_ATTEMPTS - Static variable in class org.junit.rules.TemporaryFolder
-
- TemporaryFolder - Class in org.junit.rules
-
The TemporaryFolder Rule allows creation of files and folders that should
be deleted when the test method finishes (whether it passes or
fails).
- TemporaryFolder() - Constructor for class org.junit.rules.TemporaryFolder
-
Create a temporary folder which uses system default temporary-file
directory to create temporary resources.
- TemporaryFolder(File) - Constructor for class org.junit.rules.TemporaryFolder
-
Create a temporary folder which uses the specified directory to create
temporary resources.
- TemporaryFolder(TemporaryFolder.Builder) - Constructor for class org.junit.rules.TemporaryFolder
-
- TemporaryFolder.Builder - Class in org.junit.rules
-
- Test - Interface in junit.framework
-
A Test can be run and collect its results.
- test - Variable in class org.junit.internal.runners.JUnit38ClassRunner
-
- test - Variable in class org.junit.internal.runners.MethodRoadie
-
Deprecated.
- 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_FRAMEWORK_METHOD_NAME_PREFIXES - Static variable in class org.junit.internal.Throwables
-
- TEST_FRAMEWORK_TEST_METHOD_NAME_PREFIXES - Static variable in class org.junit.internal.Throwables
-
- 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
- testAborted(RunNotifier, Description, Throwable) - Method in class org.junit.internal.runners.JUnit4ClassRunner
-
Deprecated.
- testAnnotations(Method) - Method in class org.junit.internal.runners.JUnit4ClassRunner
-
Deprecated.
- testAssumptionFailure(Failure) - Method in class org.junit.runner.notification.RunListener
-
Called when an atomic test flags that it assumes a condition that is
false
- testAssumptionFailure(Failure) - Method in class org.junit.runner.notification.SynchronizedRunListener
-
- testAssumptionFailure(Failure) - Method in class org.junit.runner.Result.Listener
-
- 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.
- testCaseForClass(Class<?>) - Method in class junit.framework.TestSuite
-
- testClass - Variable in class org.junit.experimental.theories.Theories.TheoryAnchor
-
- testClass - Variable in class org.junit.internal.runners.ClassRoadie
-
Deprecated.
- testClass - Variable in class org.junit.internal.runners.JUnit4ClassRunner
-
Deprecated.
- testClass - Variable in class org.junit.internal.runners.MethodValidator
-
Deprecated.
- TestClass - Class in org.junit.internal.runners
-
- TestClass(Class<?>) - Constructor for class org.junit.internal.runners.TestClass
-
Deprecated.
- testClass - Variable in class org.junit.internal.runners.TestMethod
-
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 clazz
.
- testClass - Variable in class org.junit.runners.Parameterized.RunnersFactory
-
- testClass - Variable in class org.junit.runners.parameterized.TestWithParameters
-
- testClass - Variable in class org.junit.runners.ParentRunner
-
- TestClass.FieldComparator - Class in org.junit.runners.model
-
Compares two fields by its name.
- TestClass.MethodComparator - Class in org.junit.runners.model
-
Compares two methods by its name.
- TestClassValidator - Interface in org.junit.validator
-
Validates a single facet of a test class.
- testComparator() - Method in class org.junit.experimental.max.MaxHistory
-
- TestComparator() - Constructor for class org.junit.experimental.max.MaxHistory.TestComparator
-
- TestCouldNotBeSkippedException - Exception in org.junit
-
Indicates that a test that indicated that it should be skipped could not be skipped.
- TestCouldNotBeSkippedException(AssumptionViolatedException) - Constructor for exception org.junit.TestCouldNotBeSkippedException
-
Creates an instance using the given assumption failure.
- 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
-
Annotating a
Theory
method int
parameter with @TestedOn causes it to be supplied with values from the
ints array given when run as a theory by the
Theories
runner.
- 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.experimental.max.MaxHistory.RememberingListener
-
- 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, or when a listener throws an exception.
- testFailure(Failure) - Method in class org.junit.runner.notification.SynchronizedRunListener
-
- testFailure(Failure) - Method in class org.junit.runner.Result.Listener
-
- testFinished(Description) - Method in class org.junit.experimental.max.MaxHistory.RememberingListener
-
- testFinished(Description) - Method in class org.junit.runner.notification.RunListener
-
Called when an atomic test has finished, whether the test succeeds or fails.
- testFinished(Description) - Method in class org.junit.runner.notification.SynchronizedRunListener
-
- testFinished(Description) - Method in class org.junit.runner.Result.Listener
-
- 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
.
- testIgnored(Description) - Method in class org.junit.runner.notification.SynchronizedRunListener
-
- testIgnored(Description) - Method in class org.junit.runner.Result.Listener
-
- TestListener - Interface in junit.framework
-
A Listener for test progress
- testMethod - Variable in class org.junit.experimental.theories.Theories.TheoryAnchor
-
- testMethod - Variable in class org.junit.internal.runners.MethodRoadie
-
Deprecated.
- testMethod - Variable in class org.junit.internal.runners.statements.InvokeMethod
-
- TestMethod - Class in org.junit.internal.runners
-
- TestMethod(Method, TestClass) - Constructor for class org.junit.internal.runners.TestMethod
-
Deprecated.
- testMethods - Variable in class org.junit.internal.runners.JUnit4ClassRunner
-
Deprecated.
- testName(Method) - Method in class org.junit.internal.runners.JUnit4ClassRunner
-
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
-
- testName(FrameworkMethod) - Method in class org.junit.runners.BlockJUnit4ClassRunner
-
Returns the name that describes
method
for
Description
s.
- testName(FrameworkMethod) - Method in class org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters
-
- 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
- testResult(Request) - Static method in class org.junit.experimental.results.PrintableResult
-
The result of running JUnit on Request request
- TestRule - Interface in org.junit.rules
-
A TestRule is an alteration in how a test method, or set of test methods,
is run and reported.
- testRules - Variable in class org.junit.runners.RuleContainer
-
- testRuleValidatorBuilder() - Static method in class org.junit.internal.runners.rules.RuleMemberValidator
-
- testRunEnded(long) - Method in interface junit.runner.TestRunListener
-
- testRunFinished(Result) - Method in class org.junit.experimental.max.MaxHistory.RememberingListener
-
- 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.
- testRunFinished(Result) - Method in class org.junit.runner.notification.SynchronizedRunListener
-
- testRunFinished(Result) - Method in class org.junit.runner.Result.Listener
-
- 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.
- testRunStarted(Description) - Method in class org.junit.runner.notification.SynchronizedRunListener
-
- testRunStarted(Description) - Method in class org.junit.runner.Result.Listener
-
- 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.experimental.max.MaxHistory.RememberingListener
-
- 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.
- testStarted(Description) - Method in class org.junit.runner.notification.SynchronizedRunListener
-
- 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<?>) - 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.
- testSuiteFinished(Description) - Method in class org.junit.runner.notification.RunListener
-
Called when a test suite has finished, whether the test suite succeeds or fails.
- testSuiteFinished(Description) - Method in class org.junit.runner.notification.SynchronizedRunListener
-
Called when a test suite has finished, whether the test suite succeeds or fails.
- testSuiteStarted(Description) - Method in class org.junit.runner.notification.RunListener
-
Called when a test suite is about to be started.
- testSuiteStarted(Description) - Method in class org.junit.runner.notification.SynchronizedRunListener
-
Called when a test suite is about to be started.
- TestTimedOutException - Exception in org.junit.runners.model
-
Exception thrown when a test fails on timeout.
- TestTimedOutException(long, TimeUnit) - Constructor for exception org.junit.runners.model.TestTimedOutException
-
Creates exception with a standard message "test timed out after [timeout] [timeUnit]"
- TestWatcher - Class in org.junit.rules
-
TestWatcher is a base class for Rules that take note of the testing
action, without modifying it.
- TestWatcher() - Constructor for class org.junit.rules.TestWatcher
-
- TestWatchman - Class in org.junit.rules
-
- TestWatchman() - Constructor for class org.junit.rules.TestWatchman
-
Deprecated.
- TestWithParameters - Class in org.junit.runners.parameterized
-
A TestWithParameters
keeps the data together that are needed for
creating a runner for a single data set of a parameterized test.
- TestWithParameters(String, TestClass, List<Object>) - Constructor for class org.junit.runners.parameterized.TestWithParameters
-
- 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
-
The Theories runner allows to test a certain functionality against a subset of an infinite set of data points.
- Theories(Class<?>) - Constructor for class org.junit.experimental.theories.Theories
-
- Theories(TestClass) - Constructor for class org.junit.experimental.theories.Theories
-
- Theories.TheoryAnchor - Class in org.junit.experimental.theories
-
- Theory - Annotation Type in org.junit.experimental.theories
-
Marks test methods that should be read as theories by the
Theories
runner.
- TheoryAnchor(FrameworkMethod, TestClass) - Constructor for class org.junit.experimental.theories.Theories.TheoryAnchor
-
- THREAD_MX_BEAN - Static variable in class org.junit.internal.management.ManagementFactory.ThreadHolder
-
- ThreadHolder() - Constructor for class org.junit.internal.management.ManagementFactory.ThreadHolder
-
- threadMxBean - Variable in class org.junit.internal.management.ReflectiveThreadMXBean
-
- ThreadMXBean - Interface in org.junit.internal.management
-
Wrapper for java.lang.management.ThreadMXBean
.
- ThrowableCauseMatcher<T extends java.lang.Throwable> - Class in org.junit.internal.matchers
-
A matcher that applies a delegate matcher to the cause of the current Throwable, returning the result of that
match.
- ThrowableCauseMatcher(Matcher<?>) - Constructor for class org.junit.internal.matchers.ThrowableCauseMatcher
-
- throwableMatcher - Variable in class org.junit.internal.matchers.StacktracePrintingMatcher
-
- ThrowableMessageMatcher<T extends java.lang.Throwable> - Class in org.junit.internal.matchers
-
- ThrowableMessageMatcher(Matcher<String>) - Constructor for class org.junit.internal.matchers.ThrowableMessageMatcher
-
- Throwables - Class in org.junit.internal
-
Miscellaneous functions dealing with Throwable
.
- Throwables() - Constructor for class org.junit.internal.Throwables
-
- Throwables.State - Enum in org.junit.internal
-
- ThrowingRunnable - Interface in org.junit.function
-
- thrownException() - Method in class junit.framework.TestFailure
-
Gets the thrown exception.
- timeout - Variable in class org.junit.internal.runners.statements.FailOnTimeout.Builder
-
- timeout - Variable in class org.junit.internal.runners.statements.FailOnTimeout
-
- 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
-
Deprecated.
- Timeout(long, TimeUnit) - Constructor for class org.junit.rules.Timeout
-
Create a Timeout
instance with the timeout specified
at the timeUnit of granularity of the provided TimeUnit
.
- Timeout(Timeout.Builder) - Constructor for class org.junit.rules.Timeout
-
Create a Timeout
instance initialized with values from
a builder.
- timeout - Variable in class org.junit.rules.Timeout.Builder
-
- timeout - Variable in class org.junit.rules.Timeout
-
- timeout - Variable in exception org.junit.runners.model.TestTimedOutException
-
- Timeout.Builder - Class in org.junit.rules
-
- timeUnit - Variable in class org.junit.internal.runners.statements.FailOnTimeout
-
- timeUnit - Variable in class org.junit.rules.Timeout.Builder
-
- timeUnit - Variable in class org.junit.rules.Timeout
-
- timeUnit - Variable in exception org.junit.runners.model.TestTimedOutException
-
- TMP_PREFIX - Static variable in class org.junit.rules.TemporaryFolder
-
- topLevelDescription - Variable in class org.junit.runner.FilterFactoryParams
-
- 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.junit.experimental.categories.Categories.CategoryFilter
-
Returns string in the form "[included categories] - [excluded categories]", where both
sets have comma separated names of categories.
- 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
-
- toString() - Method in class org.junit.runner.notification.SynchronizedRunListener
-
- toString() - Method in class org.junit.runners.model.FrameworkField
-
- toString() - Method in class org.junit.runners.model.FrameworkMethod
-
- toString() - Method in class org.junit.runners.parameterized.TestWithParameters
-
- trace() - Method in class junit.framework.TestFailure
-
Returns a String containing the stack trace of the error
thrown by TestFailure.
- truncate(String) - Static method in class junit.runner.BaseTestRunner
-
Truncates a String to the maximum length.
- tryDelete() - Method in class org.junit.rules.TemporaryFolder
-
Tries to delete all files and folders under the temporary folder and
returns whether deletion was successful or not.
- type - Variable in class org.junit.experimental.theories.ParameterSignature
-
- type - Variable in class org.junit.runners.RuleContainer.RuleEntry
-
- TYPE_METHOD_RULE - Static variable in class org.junit.runners.RuleContainer.RuleEntry
-
- TYPE_TEST_RULE - Static variable in class org.junit.runners.RuleContainer.RuleEntry
-
- TypeSafeMatcher<T> - Class in org.junit.internal.matchers
-
- TypeSafeMatcher() - Constructor for class org.junit.internal.matchers.TypeSafeMatcher
-
Deprecated.
- TypeSafeMatcher(Class<T>) - Constructor for class org.junit.internal.matchers.TypeSafeMatcher
-
Deprecated.