SerializablePermissionTestpublic class SerializablePermissionTest extends TestCase
Methods Summary |
---|
protected void | setUp()Sets up the fixture, for example, open a network connection. This method
is called before a test is executed.
| protected void | tearDown()Tears down the fixture, for example, close a network connection. This
method is called after a test is executed.
| public void | test_ConstructorLjava_lang_String()
// Test for method java.io.SerializablePermission(java.lang.String)
assertEquals("permission ill-formed",
"enableSubclassImplementation", new SerializablePermission(
"enableSubclassImplementation").getName());
| public void | test_ConstructorLjava_lang_StringLjava_lang_String()
// Test for method java.io.SerializablePermission(java.lang.String,
// java.lang.String)
assertEquals("permission ill-formed",
"enableSubclassImplementation", new SerializablePermission(
"enableSubclassImplementation", "").getName());
|
|