- addFileset(FileSet) - Method in class junitx.ant.TestClassValidatorTask
-
Add a new fileset instance to this task.
- addResource(String, Object) - Static method in class junitx.util.ResourceManager
-
Associates the resource to the key in the manager.
- addTest(Test) - Method in class junitx.framework.OrderedTestSuite
-
Adds a test to the suite.
- ArchiveSuiteBuilder - Class in junitx.util
-
Extracts the testcases from a zip or jar achive.
- ArchiveSuiteBuilder() - Constructor for class junitx.util.ArchiveSuiteBuilder
-
Constructs an empty ArchiveSuiteBuilder object.
- ArchiveSuiteBuilder(TestFilter) - Constructor for class junitx.util.ArchiveSuiteBuilder
-
Constructs an ArchiveSuiteBuilder object with the given filter.
- ArrayAssert - Class in junitx.framework
-
A set of assert methods specially targetted to asserting arrays.
- asList(Iterator) - Static method in class junitx.util.Converter
-
Returns the values of an iterator into a list.
- asList(Object[]) - Static method in class junitx.util.Converter
-
Returns the values of an array into a list.
- Assert - Class in junitx.framework
-
A set of assert methods (primarly testing the negative assertion of the
correspondent methods found in the junit.framework.Assert class).
- assertBinaryEquals(File, File) - Static method in class junitx.framework.FileAssert
-
Asserts that two binary files are equal.
- assertBinaryEquals(String, File, File) - Static method in class junitx.framework.FileAssert
-
Asserts that two binary files are equal.
- assertContains(List, Object) - Static method in class junitx.framework.ListAssert
-
Asserts that a list contains a given object.
- assertContains(String, List, Object) - Static method in class junitx.framework.ListAssert
-
Asserts that a list contains a given object.
- assertContains(String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string contains a substring.
- assertContains(String, String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string contains a substring.
- assertEndsWith(String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string ends with a substring.
- assertEndsWith(String, String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string ends with a substring.
- assertEquals(String, Object[], Object[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(Object[], Object[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(double[], double[], double) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(String, double[], double[], double) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(String, float[], float[], float) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(float[], float[], float) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(String, long[], long[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(long[], long[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(String, int[], int[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(int[], int[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(String, short[], short[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(short[], short[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(String, char[], char[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(char[], char[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(String, boolean[], boolean[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(boolean[], boolean[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(String, byte[], byte[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(byte[], byte[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays are equal.
- assertEquals(String, String) - Static method in class junitx.framework.Assert
-
Asserts that two strings are equal.
- assertEquals(String, String, String) - Static method in class junitx.framework.Assert
-
Asserts that two strings are equal.
- assertEquals(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the expected and actual are equals
(comparables).
- assertEquals(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the expected and actual are equals
(comparables).
- assertEquals(String, File, File) - Static method in class junitx.framework.FileAssert
-
Asserts that two files are equal.
- assertEquals(File, File) - Static method in class junitx.framework.FileAssert
-
Asserts that two files are equal.
- assertEquals(String, Reader, Reader) - Static method in class junitx.framework.FileAssert
-
Testing only Asserts that two readers are equal.
- assertEquals(List, List) - Static method in class junitx.framework.ListAssert
-
Asserts that two lists are equal (the order is not relevant).
- assertEquals(String, List, List) - Static method in class junitx.framework.ListAssert
-
Asserts that two lists are equal (the order is not relevant).
- assertEquals(Attributes, Attributes) - Static method in class junitx.framework.NamingAssert
-
Asserts that two Attributes objects are equal.
- assertEquals(String, Attributes, Attributes) - Static method in class junitx.framework.NamingAssert
-
Asserts that two Attributes objects are equal.
- assertEquals(Attribute, Attribute) - Static method in class junitx.framework.NamingAssert
-
Asserts that two attributes are equal.
- assertEquals(String, Attribute, Attribute) - Static method in class junitx.framework.NamingAssert
-
Asserts that two attributes are equal.
- assertEquals(NamingEnumeration, NamingEnumeration) - Static method in class junitx.framework.NamingAssert
-
Asserts that two NamingEnumerations are equal.
- assertEquals(String, NamingEnumeration, NamingEnumeration) - Static method in class junitx.framework.NamingAssert
-
Asserts that two NamingEnumerations are equal.
- assertEquals(String, Throwable, Throwable) - Static method in class junitx.framework.ThrowableAssert
-
Asserts that two throwable objects are equal.
- assertEquals(Throwable, Throwable) - Static method in class junitx.framework.ThrowableAssert
-
Asserts that two throwable objects are equal.
- assertEquivalenceArrays(String, Object[], Object[]) - Static method in class junitx.framework.ArrayAssert
-
Asserts that two arrays have the same elements, but not necessarily in
the same order.
- assertEquivalenceArrays(Object[], Object[]) - Static method in class junitx.framework.ArrayAssert
-
Assertion that both arrays has the same elements, but not necessarily in
the same order.
- assertFalse(String, boolean) - Static method in class junitx.framework.Assert
-
Asserts that a condition is false.
- assertFalse(boolean) - Static method in class junitx.framework.Assert
-
Asserts that a condition is false.
- assertGreater(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the actual object is greater than the
limit object.
- assertGreater(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the actual object is greater than the
limit object.
- assertInstanceOf(String, Class, Object) - Static method in class junitx.framework.ObjectAssert
-
Asserts that an object is an instance of a class.
- assertInstanceOf(Class, Object) - Static method in class junitx.framework.ObjectAssert
-
Asserts that an object is an instance of a class.
- AssertionFailedError - Error in junitx.framework
-
Similar to the official class but supports chained exceptions.
- AssertionFailedError(Throwable) - Constructor for error junitx.framework.AssertionFailedError
-
Constructs a new throwable with the specified cause and a detail message
of (cause==null ? null : cause.toString()) (which typically
contains the class and detail message of cause).
- AssertionFailedError(String, Throwable) - Constructor for error junitx.framework.AssertionFailedError
-
Constructs a new throwable with the specified detail message and cause.
- assertLesser(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the actual object is lesser than the
limit object.
- assertLesser(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the actual object is lesser than the
limit object.
- assertNotContains(String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string does not contain a substring.
- assertNotContains(String, String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string does not contain a substring.
- assertNotEndsWith(String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string doesn't end with a substring.
- assertNotEndsWith(String, String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string doesn't end with a substring.
- assertNotEquals(String, Object, Object) - Static method in class junitx.framework.Assert
-
Asserts that two objects are not equal.
- assertNotEquals(Object, Object) - Static method in class junitx.framework.Assert
-
Asserts that two objects are not equal.
- assertNotEquals(String, byte, byte) - Static method in class junitx.framework.Assert
-
Asserts that two bytes are not equal.
- assertNotEquals(byte, byte) - Static method in class junitx.framework.Assert
-
Asserts that two bytes are not equal.
- assertNotEquals(String, char, char) - Static method in class junitx.framework.Assert
-
Asserts that two chars are not equal.
- assertNotEquals(char, char) - Static method in class junitx.framework.Assert
-
Asserts that two chars are not equal.
- assertNotEquals(String, double, double, double) - Static method in class junitx.framework.Assert
-
Asserts that two doubles are not equal concerning a delta.
- assertNotEquals(double, double, double) - Static method in class junitx.framework.Assert
-
Asserts that two doubles are not equal concerning a delta.
- assertNotEquals(String, float, float, float) - Static method in class junitx.framework.Assert
-
Asserts that two floats are not equal concerning a delta.
- assertNotEquals(float, float, float) - Static method in class junitx.framework.Assert
-
Asserts that two floats are not equal concerning a delta.
- assertNotEquals(String, int, int) - Static method in class junitx.framework.Assert
-
Asserts that two ints are not equal.
- assertNotEquals(int, int) - Static method in class junitx.framework.Assert
-
Asserts that two ints are not equal.
- assertNotEquals(String, long, long) - Static method in class junitx.framework.Assert
-
Asserts that longs objects are not equal.
- assertNotEquals(long, long) - Static method in class junitx.framework.Assert
-
Asserts that two longs are not equal.
- assertNotEquals(String, short, short) - Static method in class junitx.framework.Assert
-
Asserts that two shorts are not equal.
- assertNotEquals(short, short) - Static method in class junitx.framework.Assert
-
Asserts that two shorts are not equal.
- assertNotEquals(String, boolean, boolean) - Static method in class junitx.framework.Assert
-
Asserts that two boolean are not equal.
- assertNotEquals(boolean, boolean) - Static method in class junitx.framework.Assert
-
Asserts that two booleans are not equal.
- assertNotEquals(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the expected and actual are not equals
(comparables).
- assertNotEquals(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the expected and actual are not equals
(comparables).
- assertNotGreater(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the actual object is not greater than the
limit object.
- assertNotGreater(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the actual object is not greater than the
limit object.
- assertNotInstanceOf(String, Class, Object) - Static method in class junitx.framework.ObjectAssert
-
Asserts that an object is not an instance of a class.
- assertNotInstanceOf(Class, Object) - Static method in class junitx.framework.ObjectAssert
-
Asserts that an object is not an instance of a class.
- assertNotLesser(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the actual object is not lesser than the
limit object.
- assertNotLesser(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
-
Asserts that the actual object is not lesser than the
limit object.
- assertNotSame(String, Object, Object) - Static method in class junitx.framework.Assert
-
Asserts that two objects do not refer to the same object.
- assertNotSame(Object, Object) - Static method in class junitx.framework.Assert
-
Asserts that two objects do not refer to the same object.
- assertNotSame(Object, Object) - Static method in class junitx.framework.ObjectAssert
-
Asserts that an object are not the same.
- assertNotSame(String, Object, Object) - Static method in class junitx.framework.ObjectAssert
-
Asserts that an object are not the same.
- assertNotStartsWith(String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string doesn't start with a substring.
- assertNotStartsWith(String, String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string doesn't start with a substring.
- assertSame(Object, Object) - Static method in class junitx.framework.ObjectAssert
-
Asserts that an object are the same.
- assertSame(String, Object, Object) - Static method in class junitx.framework.ObjectAssert
-
Asserts that an object are the same.
- assertSimilar(String, Throwable, Throwable) - Static method in class junitx.framework.ThrowableAssert
-
Assert that two throwable objects are similar.
- assertSimilar(Throwable, Throwable) - Static method in class junitx.framework.ThrowableAssert
-
Assert that two throwable objects are similar.
- assertStartsWith(String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string starts with a substring.
- assertStartsWith(String, String, String) - Static method in class junitx.framework.StringAssert
-
Asserts that a string starts with a substring.
- tearDown() - Method in class junitx.extensions.TestSetup
-
Tears down the fixture.
- TestClassValidator - Class in junitx.tool
-
Checks if a test class can be recognized by the JUnit framework.
- TestClassValidator() - Constructor for class junitx.tool.TestClassValidator
-
- TestClassValidator.ClassValidator - Interface in junitx.tool
-
Class reponsible for validating a given class.
- TestClassValidator.ClassValidatorListener - Interface in junitx.tool
-
Listener that will receive update from the ClassValidator
object.
- TestClassValidator.DefaultClassValidator - Class in junitx.tool
-
Provides a default implementation for the ClassValidator
interface.
- TestClassValidatorTask - Class in junitx.ant
-
Validate a JUnit TestCase or TestSuite and outline
potential errors in the definition of the classes.
- TestClassValidatorTask() - Constructor for class junitx.ant.TestClassValidatorTask
-
- testEqualsAgainstNewObject() - Method in class junitx.extensions.EqualsHashCodeTestCase
-
Tests whether equals
holds up against a new
Object
(should always be false
).
- testEqualsAgainstNull() - Method in class junitx.extensions.EqualsHashCodeTestCase
-
Tests whether equals
holds up against null
.
- testEqualsAgainstUnequalObjects() - Method in class junitx.extensions.EqualsHashCodeTestCase
-
Tests whether equals
holds up against objects that should
not compare equal.
- testEqualsIsConsistentAcrossInvocations() - Method in class junitx.extensions.EqualsHashCodeTestCase
-
Tests whether equals
is consistent.
- testEqualsIsReflexive() - Method in class junitx.extensions.EqualsHashCodeTestCase
-
Tests whether equals
is reflexive.
- testEqualsIsSymmetricAndTransitive() - Method in class junitx.extensions.EqualsHashCodeTestCase
-
Tests whether equals
is symmetric and
transitive.
- TestFilter - Interface in junitx.util
-
Interface used by the ArchiveSuiteBuilder and
DirectorySuiteBuilder to decide if a class must be included into the
TestSuite.
- testForClassCastException() - Method in class junitx.extensions.ComparabilityTestCase
-
Tests whether compareTo
throws a ClassCastException when
appropriate.
- testForReverseSigns() - Method in class junitx.extensions.ComparabilityTestCase
-
Tests whether sgn(x.compareTo(y)) == -sgn(y.compareTo(x))
for all x
and y
given to this test.
- testForSameSigns() - Method in class junitx.extensions.ComparabilityTestCase
-
Tests whether sgn(x.compareTo(z)) == sgn(y.compareTo(z))
for all z
when x.compareTo(y) == 0
.
- testHashCodeContract() - Method in class junitx.extensions.EqualsHashCodeTestCase
-
Tests the hashCode
contract.
- testHashCodeIsConsistentAcrossInvocations() - Method in class junitx.extensions.EqualsHashCodeTestCase
-
Tests the consistency of hashCode
.
- testReturnValues() - Method in class junitx.extensions.ComparabilityTestCase
-
Tests for sensible return values from the class under test's
compareTo
method.
- testSerializability() - Method in class junitx.extensions.SerializabilityTestCase
-
Verifies that an instance of the class under test can be serialized and
deserialized without error.
- TestSetup - Class in junitx.extensions
-
This class is similar to the junit.extensions.TestSetup class but
executes the tearDown method in a finally block.
- TestSetup(Test) - Constructor for class junitx.extensions.TestSetup
-
- ThrowableAssert - Class in junitx.framework
-
A set of assert methods specially targetted to asserting throwable objects.
- ThrowableUtil - Class in junitx.util
-
Class providing utility methods for Throwable classes.
- toList(Iterator) - Static method in class junitx.util.Converter
-
- toList(NamingEnumeration) - Static method in class junitx.util.NamingUtil
-
Returns the values of a NamingEnumeration into a list.