A B C D F G I J L N O P R S T _ 

A

addTest(Test) - Method in class junit.extensions.proxy.ProxyTestSuite
If the suite is not a ProxyTestSuite, then the tests in the suite are recursively enumerated and a proxy test suite is created with the same name and tests.
addTestSuite(Class) - Method in class junit.extensions.proxy.ProxyTestSuite
We override the implementation of TestSuite.addTestSuite( Class theClass ) to wrap the testClass in another instance of this ProxyTestSuite class using the same delegate that was provided to our constructor.
assertEquals(boolean[], boolean[]) - Static method in class junit.framework.TestCase2
 
assertEquals(String, boolean[], boolean[]) - Static method in class junit.framework.TestCase2
Compares arrays of primitive values.
assertEquals(byte[], byte[]) - Static method in class junit.framework.TestCase2
Compares byte[]s by value (not reference).
assertEquals(String, byte[], byte[]) - Static method in class junit.framework.TestCase2
Compares byte[]s by value (not reference).
assertEquals(char[], char[]) - Static method in class junit.framework.TestCase2
 
assertEquals(String, char[], char[]) - Static method in class junit.framework.TestCase2
 
assertEquals(short[], short[]) - Static method in class junit.framework.TestCase2
 
assertEquals(String, short[], short[]) - Static method in class junit.framework.TestCase2
 
assertEquals(int[], int[]) - Static method in class junit.framework.TestCase2
 
assertEquals(String, int[], int[]) - Static method in class junit.framework.TestCase2
 
assertEquals(long[], long[]) - Static method in class junit.framework.TestCase2
 
assertEquals(String, long[], long[]) - Static method in class junit.framework.TestCase2
 
assertEquals(float[], float[]) - Static method in class junit.framework.TestCase2
 
assertEquals(String, float[], float[]) - Static method in class junit.framework.TestCase2
TODO Use smarter floating point comparison and offer parameter for controlling the floating point comparison.
assertEquals(double[], double[]) - Static method in class junit.framework.TestCase2
 
assertEquals(String, double[], double[]) - Static method in class junit.framework.TestCase2
TODO Use smarter floating point comparison and offer parameter for controlling the floating point comparison.
assertEquals(Object[], Object[]) - Static method in class junit.framework.TestCase2
 
assertEquals(String, Object[], Object[]) - Static method in class junit.framework.TestCase2
Compares arrays of Objects.
assertEquals(float, float) - Static method in class junit.framework.TestCase2
Provides a proper basis for comparing floating point numbers (the values must be within 10 ulps of one another).
assertEquals(String, float, float) - Static method in class junit.framework.TestCase2
Provides a proper basis for comparing floating point numbers (the values must be within 10 ulps of one another).
assertEquals(double, double) - Static method in class junit.framework.TestCase2
Provides a proper basis for comparing floating point numbers (the values must be within 10 ulps of one another).
assertEquals(String, double, double) - Static method in class junit.framework.TestCase2
Provides a proper basis for comparing floating point numbers (the values must be within 10 ulps of one another).
assertEqualsWithinUlps(String, double, double, long) - Static method in class junit.framework.TestCase2
Provides a proper basis for comparing floating point numbers (the values must be within maxUlps of one another).
assertSameArray(Object[], Object[]) - Static method in class junit.framework.TestCase2
Helper method verifies that the arrays are consistent in length and that their elements are consistent under Object.equals( Object other ).
assertSameArray(String, Object[], Object[]) - Static method in class junit.framework.TestCase2
Helper method verifies that the arrays are consistent in length and that their elements are consistent under Object.equals( Object other ).
assertSameBigDecimal(BigDecimal, BigDecimal) - Static method in class junit.framework.TestCase2
This uses BigDecimal.compareTo( Object other ), which considers that two BigDecimals that are equal in value but have a different scale are the same.
assertSameBigDecimal(String, BigDecimal, BigDecimal) - Static method in class junit.framework.TestCase2
This uses BigDecimal.compareTo( Object other ), which considers that two BigDecimals that are equal in value but have a different scale are the same.
assertSameBigInteger(BigInteger, BigInteger) - Static method in class junit.framework.TestCase2
 
assertSameBigInteger(String, BigInteger, BigInteger) - Static method in class junit.framework.TestCase2
 
assertSameIterator(Object[], Iterator) - Static method in class junit.framework.TestCase2
Method verifies that the actual Iterator produces the expected objects in the expected order.
assertSameIterator(String, Object[], Iterator) - Static method in class junit.framework.TestCase2
Method verifies that the actual Iterator produces the expected objects in the expected order.
assertSameIteratorAnyOrder(Object[], Iterator) - Static method in class junit.framework.TestCase2
Verifies that the iterator visits the specified objects in some arbitrary ordering and that the iterator is exhausted once all expected objects have been visited.
assertSameIteratorAnyOrder(String, Object[], Iterator) - Static method in class junit.framework.TestCase2
Verifies that the iterator visits the specified objects in some arbitrary ordering and that the iterator is exhausted once all expected objects have been visited.
assertSameValue(Object, Object) - Static method in class junit.framework.TestCase2
Test helper that can correctly compare arrays of primitives and arrays of objects as well as primitives and objects.
assertSameValue(String, Object, Object) - Static method in class junit.framework.TestCase2
Test helper that can correctly compare arrays of primitives and arrays of objects as well as primitives and objects.
assertZeroUlps(float, float) - Method in class junit.framework.TestCase2
Verify zero ULPs difference between the values.
assertZeroUlps(double, double) - Method in class junit.framework.TestCase2
Verify zero ULPs difference between the values.

B

BOOLEAN - Static variable in class junit.framework.TestCase2.RandomType
An explicit NULL property value.
BOOLEAN_ARRAY - Static variable in class junit.framework.TestCase2.RandomType
Array of Java primitives.
BYTE - Static variable in class junit.framework.TestCase2.RandomType
 
BYTE_ARRAY - Static variable in class junit.framework.TestCase2.RandomType
 

C

CHAR - Static variable in class junit.framework.TestCase2.RandomType
 
CHAR_ARRAY - Static variable in class junit.framework.TestCase2.RandomType
 
convert(Map) - Static method in class junit.util.PropertyUtil
 

D

DOUBLE - Static variable in class junit.framework.TestCase2.RandomType
 
DOUBLE_ARRAY - Static variable in class junit.framework.TestCase2.RandomType
 

F

fail(String, Throwable) - Static method in class junit.framework.TestCase2
This convenience method provides a version of Assert.fail( String Message ) that also excepts a Throwable cause for the test failure.
flatCopy(Properties) - Static method in class junit.util.PropertyUtil
Return a flatten copy of the specified Properties.
flatten(Properties) - Static method in class junit.util.PropertyUtil
Return a Map that provides a flattened view of a Properties object.
FLOAT - Static variable in class junit.framework.TestCase2.RandomType
 
FLOAT_ARRAY - Static variable in class junit.framework.TestCase2.RandomType
 
flowDown(Test) - Method in class junit.extensions.proxy.ProxyTestSuite
 
flowDown(TestSuite) - Method in class junit.extensions.proxy.ProxyTestSuite
Sets the delegate on each instantiated Test that implements IProxyTest.
fuse(Map, Map) - Static method in class junit.util.PropertyUtil
Fuses two configurations and ignores any conflicts.
fuse(Map, Map, boolean) - Static method in class junit.util.PropertyUtil
Fuses two configurations and optionally reports any conflicts.

G

getDefaults() - Method in class junit.framework.TestCase2.MyProperties
Exposes the protected member in the Properties class.
getDelegate() - Method in interface junit.extensions.proxy.IProxyTest
Returns the reference to the delegate or null if the delegate was not established.
getDelegate() - Method in class junit.extensions.proxy.ProxyTestSuite
Returns the delegate supplied to the constructor.
getInnerCause(Throwable, Class) - Static method in class junit.framework.TestCase2
Examines a stack trace for an instance of the specified cause nested to any level within that stack trace.
getNormalInt(int) - Method in class junit.framework.TestCase2
Returns a random integer normally distributed in [0:range].
getProjectBuildPath() - Static method in class junit.framework.TestCase2
Returns the project build directory, even in a multiproject build.
getProperties() - Method in class junit.framework.TestCase2
Reads in the configuration properties for the test from a variety of resources and returns a properties hierarchy.
getRandomObject(boolean) - Method in class junit.framework.TestCase2
Returns an object with a random type and random value.
getRandomObject(Random, boolean) - Method in class junit.framework.TestCase2
Returns an object with a random type and random value.
getRandomOrder(int) - Static method in class junit.framework.TestCase2
Test helper produces a random sequence of indices in the range [0:n-1] suitable for visiting the elements of an array of n elements in a random order.
getRandomString(int, int) - Method in class junit.framework.TestCase2
Returns a random but unique string of Unicode characters with a maximum length of len and a minimum length.
getSource() - Method in class junit.framework.TestCase2.MyProperties
The file or CLASSPATH resource from which the properties were loaded.
getTestInputStream(String) - Method in class junit.framework.TestCase2
Returns an InputStream that may be used to read from a test resource found along the CLASSPATH.
getTestResource(String, String) - Method in class junit.framework.TestCase2
Read a test character resource from along the CLASSPATH.
getTestResource(String) - Method in class junit.framework.TestCase2
Convenience method for TestCase2.getTestResource( String resourceName, String encoding ) that uses the platform specific default encoding, which is NOT recommended since it is non-portable.
getType(Class) - Method in class junit.framework.TestCase2.RandomType
Return the type code for the specified class.
getUlps(float, float) - Static method in class junit.framework.TestCase2
Derived from Comparing floating point numbers by Bruce Dawson.
getUlps(double, double) - Static method in class junit.framework.TestCase2
Derived from Comparing floating point numbers by Bruce Dawson.

I

INT - Static variable in class junit.framework.TestCase2.RandomType
 
INT_ARRAY - Static variable in class junit.framework.TestCase2.RandomType
 
IProxyTest - Interface in junit.extensions.proxy
A Test that holds a reference to a delegate.
isDEBUG(Logger) - Static method in class junit.framework.TestCase2
Utility method returns true iff the effective logger level is DEBUG or less.
isDEBUG() - Method in class junit.framework.TestCase2
 
isINFO(Logger) - Static method in class junit.framework.TestCase2
Utility method returns true iff the effective logger level is INFO or less.
isINFO() - Method in class junit.framework.TestCase2
 
isInnerCause(Throwable, Class) - Static method in class junit.framework.TestCase2
Examines a stack trace for an instance of the specified cause nested to any level within that stack trace.

J

junit.extensions.proxy - package junit.extensions.proxy
 
junit.framework - package junit.framework
This class provides a number of utility methods that have been useful in a variety of circumstances.
junit.util - package junit.util
 

L

list(String, Properties, PrintStream) - Static method in class junit.util.PropertyUtil
Lists all entries defined either directly by a Properties object or at any level within its defaults hierarchy.
log - Static variable in class junit.extensions.proxy.ProxyTestSuite
The Logger is named for this class.
log - Static variable in class junit.framework.TestCase2
The default Logger for this class, which is named "junit.framework.Test".
logProperties(TestCase2.MyProperties, int) - Method in class junit.framework.TestCase2
Recursively logs properties together with the resource or file in which they were defined at the DEBUG level.
LONG - Static variable in class junit.framework.TestCase2.RandomType
 
LONG_ARRAY - Static variable in class junit.framework.TestCase2.RandomType
 

N

nextObject(Random, boolean) - Method in class junit.framework.TestCase2.RandomType
Returns an object with a random type and random value.
nextObject(Random, Class, boolean) - Method in class junit.framework.TestCase2.RandomType
Return an instance of the specified type with a random value.
nextObject(Random, int, boolean) - Method in class junit.framework.TestCase2.RandomType
Return an instance of the specified type with a random value.

O

OBJECT - Static variable in class junit.framework.TestCase2.RandomType
Java Object (must implement Serializable or Externalizable).
OBJECT_ARRAY - Static variable in class junit.framework.TestCase2.RandomType
Array of Java objects (but not Java primitives).

P

PropertyUtil - Class in junit.util
This utility class provides helper methods designed to fuse two configurations in which at least one of the configuration is represented as a Properties object, which may have a system of inherited defaults.
PropertyUtil() - Constructor for class junit.util.PropertyUtil
 
ProxyTestSuite - Class in junit.extensions.proxy
A simple wrapper around TestSuite that permits the caller to specify the delegate Test for either directly or recursively contained IProxyTests added to a ProxyTestSuite.
ProxyTestSuite(Test) - Constructor for class junit.extensions.proxy.ProxyTestSuite
Creates an empty unnamed test suite.
ProxyTestSuite(Test, Class, String) - Constructor for class junit.extensions.proxy.ProxyTestSuite
Creates a named test suite and populates it with test instances identified by scanning the testClass .
ProxyTestSuite(Test, Class) - Constructor for class junit.extensions.proxy.ProxyTestSuite
Creates an unnamed test suite and populates it with test instances identified by scanning the testClass .
ProxyTestSuite(Test, String) - Constructor for class junit.extensions.proxy.ProxyTestSuite
Creates an empty named test suite.

R

randomType - Variable in class junit.framework.TestCase2.RandomType
 

S

setDelegate(Test) - Method in interface junit.extensions.proxy.IProxyTest
Sets the delegate.
SHORT - Static variable in class junit.framework.TestCase2.RandomType
 
SHORT_ARRAY - Static variable in class junit.framework.TestCase2.RandomType
 
STRING - Static variable in class junit.framework.TestCase2.RandomType
 

T

TestCase2 - Class in junit.framework
Extension of TestCase that supports logging, loading test resources, and hierarchical properties.
TestCase2() - Constructor for class junit.framework.TestCase2
 
TestCase2(String) - Constructor for class junit.framework.TestCase2
 
TestCase2.MyProperties - Class in junit.framework
Helper class gives us access to the default Properties.
TestCase2.MyProperties(String) - Constructor for class junit.framework.TestCase2.MyProperties
 
TestCase2.MyProperties(String, TestCase2.MyProperties) - Constructor for class junit.framework.TestCase2.MyProperties
 
TestCase2.RandomType - Class in junit.framework
Used to create objects of random type.
TestCase2.RandomType() - Constructor for class junit.framework.TestCase2.RandomType
 

_

_randomType - Variable in class junit.framework.TestCase2
 
A B C D F G I J L N O P R S T _ 

Copyright © 2006–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.