- aClass(Class<?>) - Static method in class org.junit.runner.Request
-
Create a Request
that, when processed, will run all the tests
in a class.
- addChild(Description) - Method in class org.junit.runner.Description
-
Add Description
as a child of the receiver.
- addFirstListener(RunListener) - Method in class org.junit.runner.notification.RunNotifier
-
Internal use only.
- 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
- After - Annotation Type in org.junit
-
If you allocate external resources in a
Before
method you need to release them
after the test runs.
- AfterClass - Annotation Type in org.junit
-
If you allocate expensive external resources in a
BeforeClass
method you need to release them
after all the tests in the class have run.
- ALL - Static variable in class org.junit.runner.manipulation.Filter
-
A null Filter
that passes all tests through.
- AllOf<T> - Class in org.hamcrest.core
-
Calculates the logical conjunction of two matchers.
- AllOf(Iterable<Matcher<? extends T>>) - Constructor for class org.hamcrest.core.AllOf
-
- allOf(Matcher<? extends T>...) - Static method in class org.hamcrest.core.AllOf
-
Evaluates to true only if ALL of the passed in matchers evaluate to true.
- allOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.core.AllOf
-
Evaluates to true only if ALL of the passed in matchers evaluate to true.
- 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
-
- any(Class<T>) - Static method in class org.hamcrest.core.IsAnything
-
This matcher always evaluates to true.
- AnyOf<T> - Class in org.hamcrest.core
-
Calculates the logical disjunction of two matchers.
- AnyOf(Iterable<Matcher<? extends T>>) - Constructor for class org.hamcrest.core.AnyOf
-
- anyOf(Matcher<? extends T>...) - Static method in class org.hamcrest.core.AnyOf
-
Evaluates to true if ANY of the passed in matchers evaluate to true.
- anyOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.core.AnyOf
-
Evaluates to true if ANY of the passed in matchers evaluate to true.
- anything() - Static method in class org.hamcrest.core.IsAnything
-
This matcher always evaluates to true.
- anything(String) - Static method in class org.hamcrest.core.IsAnything
-
This matcher always evaluates to true.
- apply(Runner) - 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(Runner) - Method in class org.junit.runner.manipulation.Sorter
-
Sorts the test in runner
using comparator
- 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, 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.
- assertEquals(String, Object, Object) - Static method in class org.junit.Assert
-
Asserts that two objects are equal.
- assertEquals(Object, Object) - Static method in class org.junit.Assert
-
Asserts that two objects are equal.
- assertEquals(String, double, double, double) - Static method in class org.junit.Assert
-
Asserts that two doubles or floats are equal to within a positive delta.
- assertEquals(long, long) - Static method in class org.junit.Assert
-
- assertEquals(String, long, long) - Static method in class org.junit.Assert
-
- 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 or floats are equal to within a positive delta.
- assertEquals(String, Object[], Object[]) - Static method in class org.junit.Assert
-
Deprecated.
use assertArrayEquals
- assertEquals(Object[], Object[]) - Static method in class org.junit.Assert
-
Deprecated.
use assertArrayEquals
- assertFalse(String, boolean) - Static method in class org.junit.Assert
-
Asserts that a condition is false.
- assertFalse(boolean) - Static method in class org.junit.Assert
-
Asserts that a condition is false.
- 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 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(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 org.junit.Assert
-
Asserts that two objects refer to the same object.
- assertSame(Object, Object) - Static method in class org.junit.Assert
-
Asserts that two objects refer to the same object.
- assertThat(T, Matcher<T>) - Static method in class org.junit.Assert
-
- assertThat(String, T, Matcher<T>) - Static method in class org.junit.Assert
-
- 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.
- Assume - Class in org.junit
-
- Assume() - Constructor for class org.junit.Assume
-
- Assume.AssumptionViolatedException - Exception in org.junit
-
- Assume.AssumptionViolatedException(Object, Matcher<?>) - Constructor for exception org.junit.Assume.AssumptionViolatedException
-
- assumeNoException(Throwable) - Static method in class org.junit.Assume
-
- assumeNotNull(Object...) - Static method in class org.junit.Assume
-
- assumeThat(T, Matcher<T>) - Static method in class org.junit.Assume
-
- assumeTrue(boolean) - Static method in class org.junit.Assume
-
- Ignore - Annotation Type in org.junit
-
Sometimes you want to temporarily disable a test or a group of tests.
- instanceOf(Class<?>) - Static method in class org.hamcrest.core.IsInstanceOf
-
Is the value an instance of a particular type?
- Is<T> - Class in org.hamcrest.core
-
Decorates another Matcher, retaining the behavior but allowing tests
to be slightly more expressive.
- Is(Matcher<T>) - Constructor for class org.hamcrest.core.Is
-
- is(Matcher<T>) - Static method in class org.hamcrest.core.Is
-
Decorates another Matcher, retaining the behavior but allowing tests
to be slightly more expressive.
- is(T) - Static method in class org.hamcrest.core.Is
-
This is a shortcut to the frequently used is(equalTo(x)).
- is(Class<?>) - Static method in class org.hamcrest.core.Is
-
This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
- IsAnything<T> - Class in org.hamcrest.core
-
A matcher that always returns true
.
- IsAnything() - Constructor for class org.hamcrest.core.IsAnything
-
- IsAnything(String) - Constructor for class org.hamcrest.core.IsAnything
-
- isEmpty() - Method in class org.junit.runner.Description
-
- IsEqual<T> - Class in org.hamcrest.core
-
Is the value equal to another value, as tested by the
Object.equals(java.lang.Object)
invokedMethod?
- IsEqual(T) - Constructor for class org.hamcrest.core.IsEqual
-
- IsInstanceOf - Class in org.hamcrest.core
-
Tests whether the value is an instance of a class.
- IsInstanceOf(Class<?>) - Constructor for class org.hamcrest.core.IsInstanceOf
-
Creates a new instance of IsInstanceOf
- IsNot<T> - Class in org.hamcrest.core
-
Calculates the logical negation of a matcher.
- IsNot(Matcher<T>) - Constructor for class org.hamcrest.core.IsNot
-
- IsNull<T> - Class in org.hamcrest.core
-
Is the value null?
- IsNull() - Constructor for class org.hamcrest.core.IsNull
-
- IsSame<T> - Class in org.hamcrest.core
-
Is the value the same object as another value?
- IsSame(T) - Constructor for class org.hamcrest.core.IsSame
-
- isSuite() - Method in class org.junit.runner.Description
-
- isTest() - Method in class org.junit.runner.Description
-