| java.lang.Object com.sun.midp.i3test.TestCase com.sun.midp.content.ExtendedTestCase com.sun.midp.content.TestActionNameMap
TestActionNameMap | public class TestActionNameMap extends ExtendedTestCase (Code) | | Tests for creation of ActionNameMaps.
|
dupString | final static String[] dupString(Code) | | String array containing a duplicate string.
|
emptyString | final static String[] emptyString(Code) | | String array containing an empty string.
|
fiveNameStrings | final static String[] fiveNameStrings(Code) | | Length 5 names string array.
|
fiveStrings | final static String[] fiveStrings(Code) | | Length 5 string array.
|
nullString | final static String[] nullString(Code) | | String array containing a null.
|
oneNameString | final static String[] oneNameString(Code) | | Length 1 name string array.
|
oneString | final static String[] oneString(Code) | | Length 1 string array.
|
zeroStrings | final static String[] zeroStrings(Code) | | Empty string arrays.
|
assertIllegal | void assertIllegal(String message, String[] actions, String[] actionnames, String locale, Exception expected)(Code) | | Create an actionNameMap from the args and verify that
ane xception is thrown.
Parameters: message - the message for the errors Parameters: actions - the array of actions Parameters: actionnames - the array of actionnames Parameters: locale - the locale Parameters: expected - the expected exception |
assertLegal | void assertLegal(String message, String[] actions, String[] actionnames, String locale)(Code) | | Create an actionNameMap from the args and verify it was created
correctly. Each of the method of the resulting map is
checked with the test case asserts. Exceptions are not handled.
Parameters: message - the message for the errors Parameters: actions - the array of actions Parameters: actionnames - the array of actionnames Parameters: locale - the locale |
runTests | public void runTests()(Code) | | Run the tests of the Listener.
|
test003 | void test003()(Code) | | Test NullPointerException cases.
|
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)
|
|
|