org.acegisecurity.taglibs.velocity
Class AuthzImplAuthorizeTagTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.acegisecurity.taglibs.velocity.AuthzImplAuthorizeTagTest
All Implemented Interfaces:
junit.framework.Test

public class AuthzImplAuthorizeTagTest
extends junit.framework.TestCase

DOCUMENT ME!


Constructor Summary
AuthzImplAuthorizeTagTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAlwaysReturnsUnauthorizedIfNoUserFound()
           
 void testDefaultsToNotOutputtingBodyWhenNoRequiredAuthorities()
           
 void testOutputsBodyIfOneRolePresent()
           
 void testOutputsBodyWhenAllGranted()
           
 void testOutputsBodyWhenNotGrantedSatisfied()
           
 void testPreventsBodyOutputIfNoSecureContext()
           
 void testSkipsBodyIfNoAnyRolePresent()
           
 void testSkipsBodyWhenMissingAnAllGranted()
           
 void testSkipsBodyWhenNotGrantedUnsatisfied()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

AuthzImplAuthorizeTagTest

public AuthzImplAuthorizeTagTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testAlwaysReturnsUnauthorizedIfNoUserFound

public void testAlwaysReturnsUnauthorizedIfNoUserFound()

testDefaultsToNotOutputtingBodyWhenNoRequiredAuthorities

public void testDefaultsToNotOutputtingBodyWhenNoRequiredAuthorities()

testOutputsBodyIfOneRolePresent

public void testOutputsBodyIfOneRolePresent()

testOutputsBodyWhenAllGranted

public void testOutputsBodyWhenAllGranted()

testOutputsBodyWhenNotGrantedSatisfied

public void testOutputsBodyWhenNotGrantedSatisfied()

testPreventsBodyOutputIfNoSecureContext

public void testPreventsBodyOutputIfNoSecureContext()

testSkipsBodyIfNoAnyRolePresent

public void testSkipsBodyIfNoAnyRolePresent()

testSkipsBodyWhenMissingAnAllGranted

public void testSkipsBodyWhenMissingAnAllGranted()

testSkipsBodyWhenNotGrantedUnsatisfied

public void testSkipsBodyWhenNotGrantedUnsatisfied()


Copyright © 2004-2008 Interface21, Inc. All Rights Reserved.