Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addDimension(int) - Method in error org.junit.internal.ArrayComparisonFailure
- After - Annotation Interface in org.junit
-
If you allocate external resources in a
Beforemethod you need to release them after the test runs. - AfterClass - Annotation Interface in org.junit
-
If you allocate expensive external resources in a
BeforeClassmethod you need to release them after all the tests in the class have run. - 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
ArrayComparisonFailurewith 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.
- Assert - Class in junit.framework
-
Deprecated.
- Assert - Class in org.junit
-
A set of assertion methods useful for writing tests.
- Assert() - Constructor for class junit.framework.Assert
-
Deprecated.Protect constructor since it is a static only class
- Assert() - Constructor for class org.junit.Assert
-
Protect constructor since it is a static only class
- assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.Assert
-
Asserts that two boolean arrays are equal.
- assertArrayEquals(byte[], byte[]) - Static method in class org.junit.Assert
-
Asserts that two byte arrays are equal.
- assertArrayEquals(char[], char[]) - Static method in class org.junit.Assert
-
Asserts that two char arrays are equal.
- assertArrayEquals(double[], double[], double) - Static method in class org.junit.Assert
-
Asserts that two double arrays are equal.
- assertArrayEquals(float[], float[], float) - Static method in class org.junit.Assert
-
Asserts that two float arrays are equal.
- assertArrayEquals(int[], int[]) - Static method in class org.junit.Assert
-
Asserts that two int arrays are equal.
- assertArrayEquals(long[], long[]) - Static method in class org.junit.Assert
-
Asserts that two long arrays are equal.
- assertArrayEquals(short[], short[]) - Static method in class org.junit.Assert
-
Asserts that two short 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(String, 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(String, 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(String, 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(String, short[], short[]) - Static method in class org.junit.Assert
-
Asserts that two short arrays are equal.
- assertArrayEquals(String, Object[], Object[]) - Static method in class org.junit.Assert
-
Asserts that two object 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
- assertEquals(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.TestCase
-
Asserts that two booleans are equal.
- assertEquals(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.TestCase
-
Asserts that two bytes are equal.
- assertEquals(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.TestCase
-
Asserts that two chars are equal.
- assertEquals(double, double) - Static method in class org.junit.Assert
-
Deprecated.Use
assertEquals(double expected, double actual, double delta)instead - assertEquals(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.TestCase
-
Asserts that two doubles are equal concerning a delta.
- 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 junit.framework.Assert
-
Deprecated.Asserts that two floats are equal concerning a delta.
- assertEquals(float, float, float) - Static method in class junit.framework.TestCase
-
Asserts that two floats are equal concerning a delta.
- assertEquals(float, float, float) - Static method in class org.junit.Assert
-
Asserts that two floats are equal to within a positive delta.
- assertEquals(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.TestCase
-
Asserts that two ints are equal.
- assertEquals(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.TestCase
-
Asserts that two longs are equal.
- assertEquals(long, long) - Static method in class org.junit.Assert
-
Asserts that two longs are equal.
- assertEquals(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.TestCase
-
Asserts that two shorts are equal.
- assertEquals(Object[], Object[]) - Static method in class org.junit.Assert
-
Deprecated.use assertArrayEquals
- assertEquals(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.TestCase
-
Asserts that two objects are equal.
- assertEquals(Object, Object) - Static method in class org.junit.Assert
-
Asserts that two objects are equal.
- assertEquals(String, boolean, boolean) - Static method in class junit.framework.Assert
-
Deprecated.Asserts that two booleans are equal.
- assertEquals(String, 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.Assert
-
Deprecated.Asserts that two bytes are equal.
- assertEquals(String, 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.Assert
-
Deprecated.Asserts that two chars are equal.
- assertEquals(String, char, char) - Static method in class junit.framework.TestCase
-
Asserts that two chars are equal.
- assertEquals(String, double, double) - Static method in class org.junit.Assert
-
Deprecated.Use
assertEquals(String message, double expected, double actual, double delta)instead - assertEquals(String, double, double, double) - Static method in class junit.framework.Assert
-
Deprecated.Asserts that two doubles are equal concerning a delta.
- assertEquals(String, double, double, double) - Static method in class junit.framework.TestCase
-
Asserts that two doubles are equal concerning a delta.
- 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 junit.framework.Assert
-
Deprecated.Asserts that two floats are equal concerning a positive delta.
- assertEquals(String, float, float, float) - Static method in class junit.framework.TestCase
-
Asserts that two floats are equal concerning 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(String, int, int) - Static method in class junit.framework.Assert
-
Deprecated.Asserts that two ints are equal.
- assertEquals(String, int, int) - Static method in class junit.framework.TestCase
-
Asserts that two ints are equal.
- assertEquals(String, long, long) - Static method in class junit.framework.Assert
-
Deprecated.Asserts that two longs are equal.
- assertEquals(String, long, long) - Static method in class junit.framework.TestCase
-
Asserts that two longs are equal.
- assertEquals(String, long, long) - Static method in class org.junit.Assert
-
Asserts that two longs are equal.
- assertEquals(String, short, short) - Static method in class junit.framework.Assert
-
Deprecated.Asserts that two shorts are equal.
- assertEquals(String, short, short) - Static method in class junit.framework.TestCase
-
Asserts that two shorts are equal.
- assertEquals(String, Object[], Object[]) - Static method in class org.junit.Assert
-
Deprecated.use assertArrayEquals
- assertEquals(String, Object, Object) - Static method in class junit.framework.Assert
-
Deprecated.Asserts that two objects are equal.
- assertEquals(String, Object, Object) - Static method in class junit.framework.TestCase
-
Asserts that two objects are equal.
- assertEquals(String, Object, Object) - Static method in class org.junit.Assert
-
Asserts that two objects are equal.
- assertEquals(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.TestCase
-
Asserts that two Strings are equal.
- assertEquals(String, String, String) - Static method in class junit.framework.Assert
-
Deprecated.Asserts that two Strings are equal.
- assertEquals(String, String, String) - Static method in class junit.framework.TestCase
-
Asserts that two Strings are equal.
- assertFalse(boolean) - Static method in class junit.framework.Assert
-
Deprecated.Asserts that a condition is false.
- assertFalse(boolean) - Static method in class junit.framework.TestCase
-
Asserts that a condition is false.
- assertFalse(boolean) - Static method in class org.junit.Assert
-
Asserts that a condition is false.
- assertFalse(String, 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(String, 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(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(long, long) - Static method in class org.junit.Assert
-
Asserts that two longs are not equals.
- assertNotEquals(Object, Object) - Static method in class org.junit.Assert
-
Asserts that two objects 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(String, float, float, float) - Static method in class org.junit.Assert
-
Asserts that two floats are not equal to within a positive delta.
- assertNotEquals(String, long, long) - Static method in class org.junit.Assert
-
Asserts that two longs are not equals.
- assertNotEquals(String, Object, Object) - Static method in class org.junit.Assert
-
Asserts that two objects are not equals.
- assertNotNull(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(Object) - Static method in class org.junit.Assert
-
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(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.
- assertNotSame(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.TestCase
-
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.
- assertNotSame(String, 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(String, 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(Object) - Static method in class junit.framework.TestCase
-
Asserts that an object is null.
- assertNull(Object) - Static method in class org.junit.Assert
-
Asserts that an object is null.
- assertNull(String, Object) - Static method in class junit.framework.Assert
-
Deprecated.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.
- assertSame(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.TestCase
-
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.
- assertSame(String, 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(String, Object, Object) - Static method in class org.junit.Assert
-
Asserts that two objects refer to the same object.
- assertThrows(Class<T>, ThrowingRunnable) - Static method in class org.junit.Assert
-
Asserts that
runnablethrows an exception of typeexpectedThrowablewhen executed. - assertThrows(String, Class<T>, ThrowingRunnable) - Static method in class org.junit.Assert
-
Asserts that
runnablethrows an exception of typeexpectedThrowablewhen executed. - assertTrue(boolean) - Static method in class junit.framework.Assert
-
Deprecated.Asserts that a condition is true.
- assertTrue(boolean) - Static method in class junit.framework.TestCase
-
Asserts that a condition is true.
- assertTrue(boolean) - Static method in class org.junit.Assert
-
Asserts that a condition is true.
- assertTrue(String, 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(String, boolean) - Static method in class org.junit.Assert
-
Asserts that a condition is true.
- 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
-
Deprecated.since 4.13.
- assumeFalse(boolean) - Static method in class org.junit.Assume
-
The inverse of
Assume.assumeTrue(boolean). - assumeFalse(String, boolean) - Static method in class org.junit.Assume
-
The inverse of
Assume.assumeTrue(String, boolean). - assumeNoException(String, Throwable) - Static method in class org.junit.Assume
-
Attempts to halt the test and ignore it if Throwable
eis notnull. - assumeNoException(Throwable) - Static method in class org.junit.Assume
-
Use to assume that an operation completes normally.
- assumeNotNull(Object...) - Static method in class org.junit.Assume
-
If called with a
nullarray or one or morenullelements inobjects, the test will halt and be ignored. - 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. - 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(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.
B
- Before - Annotation Interface in org.junit
-
When writing tests, it is common to find that several tests need similar objects created before they can run.
- BeforeClass - Annotation Interface in org.junit
-
Sometimes several tests need to share computationally expensive setup (like logging into a database).
- BlockJUnit4ClassRunner - Class in org.junit.runners
-
Implements the JUnit 4 standard test case class model, as defined by the annotations in the org.junit package.
- BlockJUnit4ClassRunner(Class<?>) - Constructor for class org.junit.runners.BlockJUnit4ClassRunner
C
- compact(String) - Method in class junit.framework.ComparisonCompactor
- ComparisonCompactor - Class in junit.framework
- ComparisonCompactor(int, String, String) - Constructor for class junit.framework.ComparisonCompactor
- ComparisonCriteria - Class in org.junit.internal
-
Defines criteria for finding two items "equal enough".
- ComparisonCriteria() - Constructor for class org.junit.internal.ComparisonCriteria
- ComparisonFailure - Error in junit.framework
-
Thrown when an assert equals for Strings failed.
- ComparisonFailure - Error in org.junit
-
Thrown when an
assertEquals(String, String)fails. - ComparisonFailure(String, String, String) - Constructor for error junit.framework.ComparisonFailure
-
Constructs a comparison failure.
- ComparisonFailure(String, String, String) - Constructor for error org.junit.ComparisonFailure
-
Constructs a comparison failure.
D
- DEFAULT - Enum constant in enum class org.junit.runners.MethodSorters
-
Sorts the test methods in a deterministic, but not predictable, order
E
- ExactComparisonCriteria - Class in org.junit.internal
- ExactComparisonCriteria() - Constructor for class org.junit.internal.ExactComparisonCriteria
- expected() - Element in annotation interface org.junit.Test
-
Optionally specify
expected, a Throwable, to cause a test method to succeed if and only if an exception of the specified class is thrown by the method.
F
- fail() - Static method in class junit.framework.Assert
-
Deprecated.Fails a test with no message.
- fail() - Static method in class junit.framework.TestCase
-
Fails a test with no message.
- fail() - Static method in class org.junit.Assert
-
Fails a test with no message.
- fail(String) - Static method in class junit.framework.Assert
-
Deprecated.Fails a test with the given message.
- fail(String) - Static method in class junit.framework.TestCase
-
Fails a test with the given message.
- fail(String) - Static method in class org.junit.Assert
-
Fails a test with the given message.
- failNotEquals(String, Object, Object) - Static method in class junit.framework.Assert
-
Deprecated.
- failNotEquals(String, Object, Object) - Static method in class junit.framework.TestCase
- failNotSame(String, Object, Object) - Static method in class junit.framework.Assert
-
Deprecated.
- failNotSame(String, Object, Object) - Static method in class junit.framework.TestCase
- failSame(String) - Static method in class junit.framework.Assert
-
Deprecated.
- failSame(String) - Static method in class junit.framework.TestCase
- fDelta - Variable in class org.junit.internal.InexactComparisonCriteria
- FixMethodOrder - Annotation Interface in org.junit
-
This class allows the user to choose the order of execution of the methods within a test class.
- format(String, Object, Object) - Static method in class junit.framework.Assert
-
Deprecated.
- format(String, Object, Object) - Static method in class junit.framework.TestCase
G
- getActual() - Method in error junit.framework.ComparisonFailure
-
Gets the actual string value
- getActual() - Method in error org.junit.ComparisonFailure
-
Returns the actual string value
- getExpected() - Method in error junit.framework.ComparisonFailure
-
Gets the expected string value
- getExpected() - Method in error org.junit.ComparisonFailure
-
Returns the expected string value
- 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
I
- Ignore - Annotation Interface in org.junit
-
Sometimes you want to temporarily disable a test or a group of tests.
- InexactComparisonCriteria - Class in org.junit.internal
- InexactComparisonCriteria(double) - Constructor for class org.junit.internal.InexactComparisonCriteria
- InexactComparisonCriteria(float) - Constructor for class org.junit.internal.InexactComparisonCriteria
J
- junit.framework - package junit.framework
- JUnit4 - Class in org.junit.runners
-
Aliases the current default JUnit 4 class runner, for future-proofing.
- JUnit4(Class<?>) - Constructor for class org.junit.runners.JUnit4
-
Constructs a new instance of the default runner
M
- MethodSorters - Enum Class in org.junit.runners
-
Sort the methods into a specified execution order.
N
- name() - Element in annotation interface org.junit.runners.Parameterized.Parameters
-
Optional pattern to derive the test's name from the parameters.
- NAME_ASCENDING - Enum constant in enum class org.junit.runners.MethodSorters
-
Sorts the test methods by the method name, in lexicographic order, with
Method#toString()used as a tiebreaker
O
- org.junit - package org.junit
- org.junit.function - package org.junit.function
- org.junit.internal - package org.junit.internal
- org.junit.runner - package org.junit.runner
- org.junit.runners - package org.junit.runners
P
- Parameterized - Class in org.junit.runners
-
The custom runner
Parameterizedimplements parameterized tests. - Parameterized() - Constructor for class org.junit.runners.Parameterized
- Parameterized.AfterParam - Annotation Interface in org.junit.runners
-
Annotation for
public static voidmethods which should be executed after evaluating tests with particular parameters. - Parameterized.BeforeParam - Annotation Interface in org.junit.runners
-
Annotation for
public static voidmethods which should be executed before evaluating tests with particular parameters. - Parameterized.Parameter - Annotation Interface in org.junit.runners
-
Annotation for fields of the test class which will be initialized by the method annotated by
Parameters. - Parameterized.Parameters - Annotation Interface in org.junit.runners
-
Annotation for a method which provides parameters to be injected into the test class constructor by
Parameterized. - Platform - Exception in org.junit
-
Helpers that need a different implementation for J2kt.
- protect() - Method in interface junit.framework.Protectable
-
Run the the following method protected.
- Protectable - Interface in junit.framework
-
A Protectable can be run and can throw a Throwable.
R
- run() - Method in interface org.junit.function.ThrowingRunnable
- Runner - Class in org.junit.runner
-
A
Runnerruns tests and notifies aorg.junit.runner.notification.RunNotifierof significant events as it does so. - Runner() - Constructor for class org.junit.runner.Runner
- RunWith - Annotation Interface in org.junit.runner
-
When a class is annotated with
@RunWithor extends a class annotated with@RunWith, JUnit will invoke the class it references to run the tests in that class instead of the runner built into JUnit.
S
- setUp() - Method in class junit.framework.TestCase
-
Sets up the fixture, for example, open a network connection.
- Suite - Class in org.junit.runners
-
Using
Suiteas a runner allows you to manually build a suite containing tests from many classes. - Suite() - Constructor for class org.junit.runners.Suite
- Suite.SuiteClasses - Annotation Interface in org.junit.runners
-
The
SuiteClassesannotation specifies the classes to be run when a class annotated with@RunWith(Suite.class)is run.
T
- tearDown() - Method in class junit.framework.TestCase
-
Tears down the fixture, for example, close a network connection.
- Test - Annotation Interface in org.junit
-
The
Testannotation tells JUnit that thepublic voidmethod to which it is attached can be run as a test case. - Test.None - Class in org.junit
-
Default empty exception.
- TestCase - Class in junit.framework
-
A test case defines the fixture to run multiple tests.
- TestCase() - Constructor for class junit.framework.TestCase
- ThrowingRunnable - Interface in org.junit.function
-
This interface facilitates the use of expectThrows from Java 8.
- timeout() - Element in annotation interface org.junit.Test
-
Optionally specify
timeoutin milliseconds to cause a test method to fail if it takes longer than that number of milliseconds. - toString() - Method in error org.junit.internal.ArrayComparisonFailure
V
- value() - Element in annotation interface org.junit.FixMethodOrder
-
Optionally specify
valueto have the methods executed in a particular order - value() - Element in annotation interface org.junit.Ignore
-
The optional reason why the test is ignored.
- value() - Element in annotation interface org.junit.runner.RunWith
- value() - Element in annotation interface org.junit.runners.Parameterized.Parameter
-
Method that returns the index of the parameter in the array returned by the method annotated by
Parameters. - value() - Element in annotation interface org.junit.runners.Suite.SuiteClasses
- valueOf(String) - Static method in enum class org.junit.runners.MethodSorters
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.junit.runners.MethodSorters
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form
Assertinstead.