|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.acegisecurity.taglibs.authz.AuthorizeTagTests
public class AuthorizeTagTests
DOCUMENT ME!
| Constructor Summary | |
|---|---|
AuthorizeTagTests()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testAlwaysReturnsUnauthorizedIfNoUserFound()
|
void |
testDefaultsToNotOutputtingBodyWhenNoRequiredAuthorities()
|
void |
testOutputsBodyIfOneRolePresent()
|
void |
testOutputsBodyWhenAllGranted()
|
void |
testOutputsBodyWhenNotGrantedSatisfied()
|
void |
testPreventsBodyOutputIfNoSecurityContext()
|
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 |
|---|
public AuthorizeTagTests()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
protected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseException
public void testAlwaysReturnsUnauthorizedIfNoUserFound()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void testDefaultsToNotOutputtingBodyWhenNoRequiredAuthorities()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void testOutputsBodyIfOneRolePresent()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void testOutputsBodyWhenAllGranted()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void testOutputsBodyWhenNotGrantedSatisfied()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void testPreventsBodyOutputIfNoSecurityContext()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void testSkipsBodyIfNoAnyRolePresent()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void testSkipsBodyWhenMissingAnAllGranted()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void testSkipsBodyWhenNotGrantedUnsatisfied()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||