JUnit-addons
version 1.4
A B C D E F G I J L M N O P R S T V W X

A

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 junitx.util.ArchiveSuiteBuilder.
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 junitx.framework.ArrayAssert.
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 junitx.framework.Assert.
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(Attribute, Attribute) - Static method in class junitx.framework.NamingAssert
Asserts that two attributes are equal.
assertEquals(Attributes, Attributes) - Static method in class junitx.framework.NamingAssert
Asserts that two Attributes objects are equal.
assertEquals(boolean[], boolean[]) - 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(char[], char[]) - Static method in class junitx.framework.ArrayAssert
Asserts that two arrays are equal.
assertEquals(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the expected and actual are equals (comparables).
assertEquals(double[], double[], double) - Static method in class junitx.framework.ArrayAssert
Asserts that two arrays are equal.
assertEquals(File, File) - Static method in class junitx.framework.FileAssert
Asserts that two files are equal.
assertEquals(float[], float[], float) - 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(List, List) - Static method in class junitx.framework.ListAssert
Asserts that two lists are equal (the order is not relevant).
assertEquals(long[], long[]) - Static method in class junitx.framework.ArrayAssert
Asserts that two arrays are equal.
assertEquals(NamingEnumeration, NamingEnumeration) - Static method in class junitx.framework.NamingAssert
Asserts that two NamingEnumerations are equal.
assertEquals(Object[], Object[]) - 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, Attribute, Attribute) - Static method in class junitx.framework.NamingAssert
Asserts that two attributes are equal.
assertEquals(String, Attributes, Attributes) - Static method in class junitx.framework.NamingAssert
Asserts that two Attributes objects are equal.
assertEquals(String, 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(String, char[], char[]) - Static method in class junitx.framework.ArrayAssert
Asserts that two arrays are equal.
assertEquals(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the expected and actual are equals (comparables).
assertEquals(String, double[], double[], double) - Static method in class junitx.framework.ArrayAssert
Asserts that two arrays are equal.
assertEquals(String, File, File) - Static method in class junitx.framework.FileAssert
Asserts that two files are equal.
assertEquals(String, float[], float[], float) - 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(String, List, List) - Static method in class junitx.framework.ListAssert
Asserts that two lists are equal (the order is not relevant).
assertEquals(String, long[], long[]) - Static method in class junitx.framework.ArrayAssert
Asserts that two arrays are equal.
assertEquals(String, NamingEnumeration, NamingEnumeration) - Static method in class junitx.framework.NamingAssert
Asserts that two NamingEnumerations are equal.
assertEquals(String, Object[], Object[]) - Static method in class junitx.framework.ArrayAssert
Asserts that two arrays are equal.
assertEquals(String, Reader, Reader) - Static method in class junitx.framework.FileAssert
Testing only Asserts that two readers are equal.
assertEquals(String, short[], short[]) - 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, 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(Object[], Object[]) - Static method in class junitx.framework.ArrayAssert
Assertion that both arrays has the same elements, but not necessarily in the same order.
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.
assertFalse(boolean) - Static method in class junitx.framework.Assert
Asserts that a condition is false.
assertFalse(String, boolean) - Static method in class junitx.framework.Assert
Asserts that a condition is false.
assertGreater(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the actual object is greater than the limit object.
assertGreater(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the actual object is greater than the limit object.
assertInstanceOf(Class, Object) - Static method in class junitx.framework.ObjectAssert
Asserts that an object is an instance of a class.
assertInstanceOf(String, Class, Object) - Static method in class junitx.framework.ObjectAssert
Asserts that an object is an instance of a class.
AssertionFailedError - error junitx.framework.AssertionFailedError.
Similar to the official class but supports chained exceptions.
AssertionFailedError(String, Throwable) - Constructor for class junitx.framework.AssertionFailedError
Constructs a new throwable with the specified detail message and cause.
AssertionFailedError(Throwable) - Constructor for class 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).
assertLesser(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the actual object is lesser than the limit object.
assertLesser(String, 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(boolean, boolean) - Static method in class junitx.framework.Assert
Asserts that two booleans are not equal.
assertNotEquals(byte, byte) - Static method in class junitx.framework.Assert
Asserts that two bytes are not equal.
assertNotEquals(char, char) - Static method in class junitx.framework.Assert
Asserts that two chars are not equal.
assertNotEquals(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the expected and actual are not equals (comparables).
assertNotEquals(double, double, double) - Static method in class junitx.framework.Assert
Asserts that two doubles 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(int, int) - Static method in class junitx.framework.Assert
Asserts that two ints are not equal.
assertNotEquals(long, long) - Static method in class junitx.framework.Assert
Asserts that two longs are not equal.
assertNotEquals(Object, Object) - Static method in class junitx.framework.Assert
Asserts that two objects 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(String, 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(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the expected and actual are not equals (comparables).
assertNotEquals(String, 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(String, 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(String, Object, Object) - Static method in class junitx.framework.Assert
Asserts that two objects are not equal.
assertNotEquals(String, short, short) - Static method in class junitx.framework.Assert
Asserts that two shorts are not equal.
assertNotGreater(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the actual object is not greater than the limit object.
assertNotGreater(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the actual object is not greater than the limit object.
assertNotInstanceOf(Class, Object) - Static method in class junitx.framework.ObjectAssert
Asserts that an object is not an instance of a class.
assertNotInstanceOf(String, Class, Object) - Static method in class junitx.framework.ObjectAssert
Asserts that an object is not an instance of a class.
assertNotLesser(Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the actual object is not lesser than the limit object.
assertNotLesser(String, Comparable, Comparable) - Static method in class junitx.framework.ComparableAssert
Asserts that the actual object is not lesser than the limit object.
assertNotSame(Object, Object) - Static method in class junitx.framework.ObjectAssert
Asserts that an object are not the same.
assertNotSame(Object, Object) - Static method in class junitx.framework.Assert
Asserts that two objects do not refer to the same object.
assertNotSame(String, 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.Assert
Asserts that two objects do not refer to the same object.
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.

B

BANNER - Static variable in class junitx.tool.TestClassValidator
Advertising message
browse(File) - Method in class junitx.util.DirectorySuiteBuilder
Returns the list of test classes contained in the directory.
browse(ZipFile) - Method in class junitx.util.ArchiveSuiteBuilder
Returns the list of test classes contained in the ZipFile.

C

checkForEquality(Comparable, Comparable) - Method in class junitx.extensions.ComparabilityTestCase
Override as a no-op if you do not require that createEqualInstance() return distinct but equivalent objects.
checkThawedObject(Serializable, Serializable) - Method in class junitx.extensions.SerializabilityTestCase
Template method--override this to perform checks on the deserialized form of the object serialized in SerializabilityTestCase.testSerializability().
ComparabilityTestCase - class junitx.extensions.ComparabilityTestCase.
Extend me in order to test a class's functional compliance with the Comparable interface.
ComparabilityTestCase(String) - Constructor for class junitx.extensions.ComparabilityTestCase
Creates a new test.
ComparableAssert - class junitx.framework.ComparableAssert.
A set of assert methods specially targetted to comparable objects.
ComparisonFailure - error junitx.framework.ComparisonFailure.
Thrown when an assert equals for Strings failed (class junitx.framework.Assert).
ComparisonFailure(String, String, String) - Constructor for class junitx.framework.ComparisonFailure
Constructs a ComparisonFailure object.
containsResource(String) - Static method in class junitx.util.ResourceManager
Returns true if the ResourceManager contains a resource with the specified key.
Converter - class junitx.util.Converter.
Contains convenient converter methods
createClasspath() - Method in class junitx.ant.TestClassValidatorTask
Creates a nested classpath element
createEqualInstance() - Method in class junitx.extensions.ComparabilityTestCase
Creates and returns an instance of the class under test.
createGreaterInstance() - Method in class junitx.extensions.ComparabilityTestCase
Creates and returns an instance of the class under test.
createInstance() - Method in class junitx.extensions.SerializabilityTestCase
Creates and returns an instance of the class under test.
createInstance() - Method in class junitx.extensions.EqualsHashCodeTestCase
Creates and returns an instance of the class under test.
createLessInstance() - Method in class junitx.extensions.ComparabilityTestCase
Creates and returns an instance of the class under test.
createMessage(String, String, String) - Static method in class junitx.framework.ComparisonFailure
Creates the message that is returned by the getMessage method.
createNotEqualInstance() - Method in class junitx.extensions.EqualsHashCodeTestCase
Creates and returns an instance of the class under test.

D

DirectorySuiteBuilder - class junitx.util.DirectorySuiteBuilder.
Extracts the testcases from a directory.
DirectorySuiteBuilder() - Constructor for class junitx.util.DirectorySuiteBuilder
Constructs an empty DirectorySuiteBuilder object.
DirectorySuiteBuilder(TestFilter) - Constructor for class junitx.util.DirectorySuiteBuilder
Constructs an DirectorySuiteBuilder object with the given filter.

E

EqualsHashCodeTestCase - class junitx.extensions.EqualsHashCodeTestCase.
Extend me in order to test a class's functional compliance with the equals and hashCode contract.
EqualsHashCodeTestCase(String) - Constructor for class junitx.extensions.EqualsHashCodeTestCase
Creates a new test.
error(String) - Method in interface junitx.tool.TestClassValidator.ClassValidatorListener
Fired when the ClassValidator has something very important to say.
execute() - Method in class junitx.ant.TestClassValidatorTask
Called by the project to let the task do it's work.

F

fail(String, Throwable) - Static method in class junitx.framework.Assert
Fails a test with the given message and the Throwable object causing the failure.
fail(Throwable) - Static method in class junitx.framework.Assert
Fails a test with the given Throwable object causing the failure.
FileAssert - class junitx.framework.FileAssert.
A set of assert methods specially targetted to asserting files.

G

getCause() - Method in class junitx.framework.AssertionFailedError
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
getClassName(Class) - Static method in class junitx.util.SimpleTestFilter
Returns the name of a given class.
getClassName(String) - Static method in class junitx.util.SimpleTestFilter
Returns the name of a given class.
getField(Class, String) - Static method in class junitx.util.PrivateAccessor
Returns the value of the field on the specified class.
getField(Object, String) - Static method in class junitx.util.PrivateAccessor
Returns the value of the field on the specified object.
getMessage() - Method in class junitx.framework.ComparisonFailure
 
getPackageName(Class) - Static method in class junitx.util.SimpleTestFilter
Returns the package name of a given class or an empty string if the class wasn't in a package.
getPackageName(String) - Static method in class junitx.util.SimpleTestFilter
Returns the path and package name of a given class or null if the class wasn't in a package.
getProperty(String) - Static method in class junitx.util.PropertyManager
Searches for the property with the specified key in this property list.
getProperty(String) - Static method in class junitx.util.XMLPropertyManager
Searches for the property with the specified key in this property list.
getProperty(String, String) - Static method in class junitx.util.PropertyManager
Searches for the property with the specified key in this property list.
getProperty(String, String) - Static method in class junitx.util.XMLPropertyManager
Searches for the property with the specified key in this property list.
getResource(String) - Static method in class junitx.util.ResourceManager
Returns the resource to which the specified key is mapped in this ResourceManager or null if the resource was not found.
getStackTrace(Throwable) - Static method in class junitx.util.ThrowableUtil
Extracts the stacktrace from the given throwable and returns it as a string.

I

include(Class) - Method in class junitx.util.SimpleTestFilter
Returns true if: the class is neither an interface nor abstract
include(Class) - Method in interface junitx.util.TestFilter
Returns true if the given class must be included into the TestSuite.
include(String) - Method in class junitx.util.SimpleTestFilter
Returns true if: the name of the class ends with 'Test'
include(String) - Method in interface junitx.util.TestFilter
Returns true if the given classpath represents a class that can be potentially included into the TestSuite.
info(String) - Method in interface junitx.tool.TestClassValidator.ClassValidatorListener
Fired when the ClassValidator has something to say.
invoke(Class, String, Class[], Object[]) - Static method in class junitx.util.PrivateAccessor
Invokes the method represented by the name value on the specified class with the specified parameters.
invoke(Object, String, Class[], Object[]) - Static method in class junitx.util.PrivateAccessor
Invokes the method represented by the name value on the specified object with the specified parameters.

J

junitx.ant - package junitx.ant
Provides classes that integrate some of JUnit-addons functionalities for the Ant build tool.
junitx.extensions - package junitx.extensions
Provides classes that are meant to extend the framework.
junitx.framework - package junitx.framework
Provides classes that extend the junit framework.
junitx.tool - package junitx.tool
Provides classes that are meant to be used externally to the framework or the test classes.
junitx.util - package junitx.util
Provides classes that can be used by the test classes for enhance functionalities.

L

ListAssert - class junitx.framework.ListAssert.
A set of assert methods specially targetted to asserting Lists.

M

main(String[]) - Static method in class junitx.tool.TestClassValidator
 

N

NamingAssert - class junitx.framework.NamingAssert.
A set of assert methods specially targetted to asserting objects found in the javax.naming package.
NamingUtil - class junitx.util.NamingUtil.
Class providing utility methods for the javax.naming package.

O

ObjectAssert - class junitx.framework.ObjectAssert.
A set of assert methods specially targetted to asserting objects.
OrderedTestSuite - class junitx.framework.OrderedTestSuite.
Constructs an alphabetically ordered suite of tests.
OrderedTestSuite() - Constructor for class junitx.framework.OrderedTestSuite
Creates an OrderedTestSuite with no name.
OrderedTestSuite(Class) - Constructor for class junitx.framework.OrderedTestSuite
Constructs a OrderedTestSuite from the given class.
OrderedTestSuite(String) - Constructor for class junitx.framework.OrderedTestSuite
Creates an OrderedTestSuite with the given name.

P

printStackTrace() - Method in class junitx.framework.AssertionFailedError
Prints this throwable and its backtrace to the standard error stream.
printStackTrace(PrintStream) - Method in class junitx.framework.AssertionFailedError
Prints this throwable and its backtrace to the specified print stream.
printStackTrace(PrintWriter) - Method in class junitx.framework.AssertionFailedError
Prints this throwable and its backtrace to the specified print writer.
PrivateAccessor - class junitx.util.PrivateAccessor.
Utility class to bypass the Java modifiers security and access protected and private fields and methods.
PropertyManager - class junitx.util.PropertyManager.
The PropertyManager class represents a persistent set of properties loaded from a standard Property file.

R

removeResource(String) - Static method in class junitx.util.ResourceManager
Removes the key (and its corresponding resource) from this ResourceManager.
ResourceManager - class junitx.util.ResourceManager.
Utility class that manages resources and allows separate tests to share them.
run(TestResult) - Method in class junitx.extensions.TestSetup
Runs a test and collects its result in a TestResult instance.

S

SerializabilityTestCase - class junitx.extensions.SerializabilityTestCase.
Extend me in order to test the serializability of a class.
SerializabilityTestCase(String) - Constructor for class junitx.extensions.SerializabilityTestCase
Creates a new test.
setClasspath(Path) - Method in class junitx.ant.TestClassValidatorTask
Set the classpath to be used for this validation.
setClasspathRef(Reference) - Method in class junitx.ant.TestClassValidatorTask
Adds a reference to a CLASSPATH defined elsewhere.
setField(Class, String, Object) - Static method in class junitx.util.PrivateAccessor
Sets the field represented by the name value on the specified class argument to the specified new value.
setField(Object, String, Object) - Static method in class junitx.util.PrivateAccessor
Sets the field represented by the name value on the specified object argument to the specified new value.
setListener(TestClassValidator.ClassValidatorListener) - Method in interface junitx.tool.TestClassValidator.ClassValidator
Sets the listener that will report to the user.
setListener(TestClassValidator.ClassValidatorListener) - Method in class junitx.tool.TestClassValidator.DefaultClassValidator
 
setProperty(String, String) - Static method in class junitx.util.PropertyManager
Maps the specified key to the specified value in this property list.
setUp() - Method in class junitx.extensions.SerializabilityTestCase
Sets up the test fixture.
setUp() - Method in class junitx.extensions.EqualsHashCodeTestCase
Sets up the test fixture.
setUp() - Method in class junitx.extensions.ComparabilityTestCase
Sets up the test fixture.
setUp() - Method in class junitx.extensions.TestSetup
Sets up the fixture.
setValidator(TestClassValidator.ClassValidator) - Method in class junitx.tool.TestClassValidator
 
setValidatorListener(TestClassValidator.ClassValidatorListener) - Method in class junitx.tool.TestClassValidator
 
setVerbose(boolean) - Method in class junitx.ant.TestClassValidatorTask
Used to force listing of all names of processed files.
SimpleTestFilter - class junitx.util.SimpleTestFilter.
Simple filter for test classes (ending with 'Test').
SimpleTestFilter() - Constructor for class junitx.util.SimpleTestFilter
Constructs an empty SimpleTestFilter object.
sortTests(int, int) - Method in class junitx.framework.OrderedTestSuite
 
StringAssert - class junitx.framework.StringAssert.
A set of assert methods specially targetted at string objects.
suite(File) - Method in class junitx.util.DirectorySuiteBuilder
Constructs a TestSuite by extracting all test classes from the given directory.
suite(String) - Method in class junitx.util.DirectorySuiteBuilder
Constructs a TestSuite by extracting all test classes from the directory of the given directoryName.
suite(String) - Method in class junitx.util.ArchiveSuiteBuilder
Constructs a TestSuite by extracting all test classes from an archive specified by the filename.
suite(ZipFile) - Method in class junitx.util.ArchiveSuiteBuilder
Constructs a TestSuite by extracting all test classes from the given file archive.

T

tearDown() - Method in class junitx.extensions.TestSetup
Tears down the fixture.
TestClassValidator - class junitx.tool.TestClassValidator.
Checks if a test class can be recognized by the JUnit framework.
TestClassValidator.ClassValidator - interface junitx.tool.TestClassValidator.ClassValidator.
Class reponsible for validating a given class.
TestClassValidator.ClassValidatorListener - interface junitx.tool.TestClassValidator.ClassValidatorListener.
Listener that will receive update from the ClassValidator object.
TestClassValidator.DefaultClassValidator - class junitx.tool.TestClassValidator.DefaultClassValidator.
Provides a default implementation for the ClassValidator interface.
TestClassValidator.DefaultClassValidator() - Constructor for class junitx.tool.TestClassValidator.DefaultClassValidator
 
TestClassValidator() - Constructor for class junitx.tool.TestClassValidator
 
TestClassValidatorTask - class junitx.ant.TestClassValidatorTask.
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 junitx.util.TestFilter.
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 junitx.extensions.TestSetup.
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 junitx.framework.ThrowableAssert.
A set of assert methods specially targetted to asserting throwable objects.
ThrowableUtil - class junitx.util.ThrowableUtil.
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.

V

validate(Class) - Method in interface junitx.tool.TestClassValidator.ClassValidator
Validates a given class and report infos, warnings and errors via the ClassValidatorListener object (if any was set).
validate(Class) - Method in class junitx.tool.TestClassValidator.DefaultClassValidator
 
validateOtherMethod(Method) - Method in class junitx.tool.TestClassValidator.DefaultClassValidator
Validates all other methods whose name did not match either 'suite', 'setUp' or 'tearDown'.
validateSetUpMethod(Method) - Method in class junitx.tool.TestClassValidator.DefaultClassValidator
Verifies that the 'setUp' method is recognized by the JUnit framework.
validateSuiteMethod(Method) - Method in class junitx.tool.TestClassValidator.DefaultClassValidator
Verifies that the 'suite' method is recognized by the JUnit framework.
validateTearDownMethod(Method) - Method in class junitx.tool.TestClassValidator.DefaultClassValidator
Verifies that the 'tearDown' method is recognized by the JUnit framework.
validateTestMethod(Method) - Method in class junitx.tool.TestClassValidator.DefaultClassValidator
Verifies that the 'test' method is recognized by the JUnit framework.

W

warning(String) - Method in interface junitx.tool.TestClassValidator.ClassValidatorListener
Fired when the ClassValidator has something important to say.

X

XMLPropertyManager - class junitx.util.XMLPropertyManager.
The XMLPropertyManager class represents a persistent set of properties loaded from an XML property file.

A B C D E F G I J L M N O P R S T V W X
JUnit-addons
version 1.4

Copyright © 2002-2003 Vladimir R. Bossicard. All Rights Reserved.