|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.eigenbase.test.EigenbaseTestCase
public abstract class EigenbaseTestCase
Field Summary | |
---|---|
protected static String[] |
emptyStringArray
|
protected static String |
nl
|
Constructor Summary | |
---|---|
protected |
EigenbaseTestCase(String s)
|
Method Summary | |
---|---|
protected void |
assertEquals(Iterator iterator,
Object[] a)
Checks that an iterator returns the same objects as the contents of an array. |
protected void |
assertEquals(List list,
Object[] a)
Checks that a list has the same contents as an array. |
protected void |
assertEquals(Object[] expected,
Object actual)
|
protected void |
assertEquals(Object[] expected,
Object[] actual)
Checks that two arrays are equal. |
protected void |
assertEquals(TupleIter iterator,
Object[] a)
Checks that a TupleIter returns the same objects as the contents of an array. |
protected static void |
assertEqualsDeep(Object o,
Object o2)
|
protected void |
assertThrowableContains(Throwable throwable,
String pattern)
Fails if throwable is null, or if its message does not
contain the string pattern . |
static TestSuite |
copySuite(TestSuite suite,
Pattern testPattern)
Copies all of the tests in a suite whose names match a given pattern. |
static Iterator |
makeIterator(Object[] a)
Returns an iterator over the elements of an array. |
static TupleIter |
makeTupleIter(Object[] a)
Returns a TupleIter over the elements of an array. |
protected static List |
toList(Enumeration enumeration)
Converts an enumeration to a list. |
protected static List |
toList(Iterator iterator)
Converts an iterator to a list. |
protected static List |
toList(TupleIter tupleIter)
Converts a TupleIter to a list. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String nl
protected static final String[] emptyStringArray
Constructor Detail |
---|
protected EigenbaseTestCase(String s) throws Exception
Exception
Method Detail |
---|
protected static void assertEqualsDeep(Object o, Object o2)
protected void assertThrowableContains(Throwable throwable, String pattern)
throwable
is null, or if its message does not
contain the string pattern
.
public static Iterator makeIterator(Object[] a)
public static TupleIter makeTupleIter(Object[] a)
protected static List toList(Iterator iterator)
protected static List toList(TupleIter tupleIter)
protected static List toList(Enumeration enumeration)
protected void assertEquals(Iterator iterator, Object[] a)
protected void assertEquals(TupleIter iterator, Object[] a)
protected void assertEquals(List list, Object[] a)
protected void assertEquals(Object[] expected, Object[] actual)
protected void assertEquals(Object[] expected, Object actual)
public static TestSuite copySuite(TestSuite suite, Pattern testPattern)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |