| java.lang.Object com.sun.midp.i3test.TestCase com.sun.midp.content.ExtendedTestCase
All known Subclasses: com.sun.midp.content.TestRegistryImpl, com.sun.midp.content.TestInvocStore, com.sun.midp.content.TestListener, com.sun.midp.content.TestActionNameMap,
ExtendedTestCase | abstract public class ExtendedTestCase extends TestCase (Code) | | Extension to the basic TestCase class to add ContentHandler
specific assert methods.
|
assertEquals | public void assertEquals(String message, Object expected, Object actual)(Code) | | Override assertEquals to allow null pointers.
Parameters: message - message Parameters: expected - the expected object Parameters: actual - the actual object. |
assertEquals | public void assertEquals(String msg, InvocationImpl expected, InvocationImpl actual)(Code) | | Assert that all of the fields of the two InvocationImpls match
exactly.
Parameters: msg - the message to print for assert failures Parameters: expected - the InvocationImpl containing the expected values Parameters: actual - the InvocationImpl containing the actual values |
assertEquals | public void assertEquals(String msg, String[] s1, String[] s2)(Code) | | Compare two arrays of strings, must be the same length
and contents to match.
Parameters: msg - the message to print for assert failures Parameters: s1 - an array of strings Parameters: s2 - another array of strings |
assertEquals | public void assertEquals(String msg, byte[] expected, byte[] actual)(Code) | | Compare two byte arrays; must be same length.
Parameters: msg - the description of the array Parameters: expected - the expected data array Parameters: actual - the actual data array |
getRegistry | RegistryImpl getRegistry()(Code) | | Initialize the registry for this application.
the registry for the Framework class |
sleep | public static void sleep(long millis)(Code) | | Sleep a bit.
Parameters: millis - millseconds to sleep |
Methods inherited from com.sun.midp.i3test.TestCase | public void assertEquals(Object expected, Object actual)(Code)(Java Doc) public void assertEquals(String message, Object expected, Object actual)(Code)(Java Doc) public void assertEquals(int expected, int actual)(Code)(Java Doc) public void assertEquals(String message, int expected, int actual)(Code)(Java Doc) public void assertFalse(boolean condition)(Code)(Java Doc) public void assertFalse(String message, boolean condition)(Code)(Java Doc) public void assertNotNull(Object object)(Code)(Java Doc) public void assertNotNull(String message, Object object)(Code)(Java Doc) public void assertNotSame(Object expected, Object actual)(Code)(Java Doc) public void assertNotSame(String message, Object expected, Object actual)(Code)(Java Doc) public void assertNull(Object object)(Code)(Java Doc) public void assertNull(String message, Object object)(Code)(Java Doc) public void assertSame(Object expected, Object actual)(Code)(Java Doc) public void assertSame(String message, Object expected, Object actual)(Code)(Java Doc) public void assertTrue(String message, boolean condition)(Code)(Java Doc) public void assertTrue(boolean condition)(Code)(Java Doc) public void declare(String testName)(Code)(Java Doc) public void fail()(Code)(Java Doc) public void fail(String message)(Code)(Java Doc) protected SecurityToken getSecurityToken()(Code)(Java Doc) protected boolean getVerbose()(Code)(Java Doc) public void info(String s)(Code)(Java Doc) abstract public void runTests() throws Throwable(Code)(Java Doc)
|
|
|