com.redhat.rhn.common.security.acl.test
Class AccessTest

java.lang.Object
  extended by TestCase
      extended by com.redhat.rhn.testing.RhnBaseTestCase
          extended by com.redhat.rhn.common.security.acl.test.AccessTest

public class AccessTest
extends RhnBaseTestCase

AccessTest


Constructor Summary
AccessTest()
           
 
Method Summary
 void setUp()
          Called once per test method.
 void testAccessNotFoundEntry()
           
 void testAccessValidEntry()
           
 void testAccessWithInvalidAcl()
           
 void testAccessWithValidAcl()
           
 void testAclSystemHasManagementEntitlement()
           
 void testCanAccessChannel()
           
 void testForFalse()
           
 void testGlobalConfigIsGone()
           
 void testNeedsFirstUser()
           
 void testOrgEntitlementAclFalse()
           
 void testOrgEntitlementAclTrue()
           
 void testOrgIsPayingCustomer()
           
 void testOrgProxyEvrAtLeast()
           
 void testSolarisAclFalse()
           
 void testSystemFeature()
           
 void testUnimplementedMethods()
           
 void testUserCanManageChannelAcl()
           
 void testUserRoleAcl()
           
 void testUserRoleAclFalse()
           
 
Methods inherited from class com.redhat.rhn.testing.RhnBaseTestCase
assertContains, assertContains, assertContains, assertNotBefore, assertNotBefore, assertNotEmpty, assertNotEmpty, assertPropertyEquals, clearSession, commitAndCloseSession, disableLocalizationServiceLogging, enableLocalizationServiceLogging, flushAndEvict, getNow, reload, reload, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessTest

public AccessTest()
Method Detail

setUp

public void setUp()
Description copied from class: RhnBaseTestCase
Called once per test method.

Overrides:
setUp in class RhnBaseTestCase

testAccessNotFoundEntry

public void testAccessNotFoundEntry()

testAccessValidEntry

public void testAccessValidEntry()

testAccessWithInvalidAcl

public void testAccessWithInvalidAcl()

testAccessWithValidAcl

public void testAccessWithValidAcl()

testForFalse

public void testForFalse()

testUserRoleAcl

public void testUserRoleAcl()

testUserCanManageChannelAcl

public void testUserCanManageChannelAcl()

testUserRoleAclFalse

public void testUserRoleAclFalse()

testSolarisAclFalse

public void testSolarisAclFalse()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testOrgEntitlementAclTrue

public void testOrgEntitlementAclTrue()

testOrgEntitlementAclFalse

public void testOrgEntitlementAclFalse()

testNeedsFirstUser

public void testNeedsFirstUser()

testOrgIsPayingCustomer

public void testOrgIsPayingCustomer()

testSystemFeature

public void testSystemFeature()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testAclSystemHasManagementEntitlement

public void testAclSystemHasManagementEntitlement()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testOrgProxyEvrAtLeast

public void testOrgProxyEvrAtLeast()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testUnimplementedMethods

public void testUnimplementedMethods()

testGlobalConfigIsGone

public void testGlobalConfigIsGone()

testCanAccessChannel

public void testCanAccessChannel()