| javax.security.auth.PolicyTest
PolicyTest | public class PolicyTest extends TestCase (Code) | | Tests Policy class
|
Inner Class :public static class TestProvider extends Policy | |
Inner Class :public static class FakePolicy | |
testGetPolicy_CheckPermission | public void testGetPolicy_CheckPermission()(Code) | | Tests that getPolicy() is properly secured via SecurityManager.
|
testGetPolicy_LoadDefaultProvider | public void testGetPolicy_LoadDefaultProvider()(Code) | | Tests loading of a default provider, both valid and invalid class
references.
|
testSetPolicy | public void testSetPolicy()(Code) | | Tests that setPolicy() is properly secured via SecurityManager.
|
test_GetPermissions | public void test_GetPermissions() throws Exception(Code) | | |
test_Refresh | public void test_Refresh()(Code) | | |
|
|