org.jboss.test
Class DelegatingPolicyTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.test.DelegatingPolicyTestCase
All Implemented Interfaces:
junit.framework.Test

public class DelegatingPolicyTestCase
extends junit.framework.TestCase


Constructor Summary
DelegatingPolicyTestCase(String name)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testOpenConfigurations()
          Test that uncommitted configurations in the Open state are not seen in the current Policy permission set.
 void testPolicyConfiguration()
          Basic test that a PolicyConfiguration is included in the Policy and its permissions are implied through the Policy.
 void testSubjectDoAs()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DelegatingPolicyTestCase

public DelegatingPolicyTestCase(String name)
Method Detail

testPolicyConfiguration

public void testPolicyConfiguration()
                             throws Exception
Basic test that a PolicyConfiguration is included in the Policy and its permissions are implied through the Policy.

Throws:
Exception

testOpenConfigurations

public void testOpenConfigurations()
                            throws Exception
Test that uncommitted configurations in the Open state are not seen in the current Policy permission set.

Throws:
Exception

testSubjectDoAs

public void testSubjectDoAs()
                     throws Exception
Throws:
Exception

suite

public static junit.framework.Test suite()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.