public class IdentityScopeTest
extends TestCase
IdentityScope
Modifier and Type | Class and Description |
---|---|
static class |
IdentityScopeTest.MySecurityManager |
Constructor and Description |
---|
IdentityScopeTest() |
Modifier and Type | Method and Description |
---|---|
void |
testGetSystemScope()
just call IdentityScope.getSystemScope()
|
void |
testIdentityScope()
test default constructor void IdentityScope()
|
void |
testIdentityScopeString()
check that void IdentityScope(String) creates instance with given name
|
void |
testIdentityScopeStringIdentityScope()
check that void IdentityScope(String, IdentityScope) creates instance with given name and within given scope
|
void |
testSetSystemScope()
check that if permission given - set/get works
if permission is denied than SecurityException is thrown
|
void |
testToString()
Class under test for String toString()
|
public final void testToString()
public final void testIdentityScope()
public final void testIdentityScopeString()
public final void testIdentityScopeStringIdentityScope() throws Exception
Exception
public final void testGetSystemScope()
public final void testSetSystemScope()