| java.security.BasicPermissionCollection_ImplTest
BasicPermissionCollection_ImplTest | public class BasicPermissionCollection_ImplTest extends TestCase (Code) | | Tests for BasicPermissionCollection
|
testAdd | public void testAdd()(Code) | | Can add only BasicPermissions of the same type as the first added. Cannot
add if collection is read-only.
|
testElements | public void testElements()(Code) | | Should return non-null empty enumeration for empty collection. For
non-empty collection, should always return enumeration over unique
elements.
|
testImplies | public void testImplies()(Code) | | Empty collection implies nothing. Non-empty collection should imply all
contained permissions, and should consider contained wildcards (if any).
|
testNegDeserialization_01 | public void testNegDeserialization_01() throws Exception(Code) | | test on deserialization of incorrect object
|
testNegDeserialization_02 | public void testNegDeserialization_02() throws Exception(Code) | | test on deserialization of incorrect object
|
|
|