| java.security.AllPermissionCollection_ImplTest
AllPermissionCollection_ImplTest | public class AllPermissionCollection_ImplTest extends TestCase (Code) | | Tests for AllPermissionCollection
|
Method Summary | |
public void | testAdd() Can add any number of AllPermission instances, but no any other
permissions. | public void | testElements() Should return non-null empty enumeration for empty collection. | public void | testElements_NoElements() | public void | testImplies() Empty collection implies nothing, non-empty collection implies
everything. |
testAdd | public void testAdd()(Code) | | Can add any number of AllPermission instances, but no any other
permissions. 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 1-element enumeration.
|
testElements_NoElements | public void testElements_NoElements()(Code) | | If nothing to enumerate, should throw NoSuchElementException
|
testImplies | public void testImplies()(Code) | | Empty collection implies nothing, non-empty collection implies
everything.
|
|
|