FileDocCategorySizeDatePackage
SerializablePermissionTest.javaAPI DocAndroid 1.5 API2803Wed May 06 22:41:04 BST 2009tests.api.java.io

SerializablePermissionTest

public class SerializablePermissionTest extends TestCase

Fields Summary
Constructors Summary
Methods Summary
protected voidsetUp()
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

    
protected voidtearDown()
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.

    
public voidtest_ConstructorLjava_lang_String()

tests
java.io.SerializablePermission#SerializablePermission(java.lang.String)

        // Test for method java.io.SerializablePermission(java.lang.String)
        assertEquals("permission ill-formed", 
                "enableSubclassImplementation", new SerializablePermission(
                "enableSubclassImplementation").getName());
    
public voidtest_ConstructorLjava_lang_StringLjava_lang_String()

tests
java.io.SerializablePermission#SerializablePermission(java.lang.String, java.lang.String)

        // Test for method java.io.SerializablePermission(java.lang.String,
        // java.lang.String)
        assertEquals("permission ill-formed", 
                "enableSubclassImplementation", new SerializablePermission(
                "enableSubclassImplementation", "").getName());