Code example for AllPermission

Methods: getActions, getName

0
	 *        java.lang.String) 
	 */ 
	public void test_ConstructorLjava_lang_StringLjava_lang_String() { 
		// Test for method java.security.AllPermission(java.lang.String, 
		// java.lang.String) 
		AllPermission ap = new AllPermission("Don't remember this stupid name",
				"or this action"); 
		assertEquals("Bogus name for AllPermission \"" + ap.getName() + "\".",
				"<all permissions>", ap.getName());
		assertEquals(
				"AllPermission constructed with actions didn't ignore them.", 
				"<all actions>", ap.getActions());
	} 
 
	/** 
	 * @tests java.security.AllPermission#equals(java.lang.Object) 
	 */ 
	public void test_equalsLjava_lang_Object() { 
		// Test for method boolean 
		// java.security.AllPermission.equals(java.lang.Object) 
		assertTrue("Two AllPermissions not equal to each other.",