|
||||||||||
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.apache.struts.chain.commands.servlet.TestAuthorizeAction
public class TestAuthorizeAction
Constructor Summary | |
---|---|
TestAuthorizeAction(String _name)
|
Method Summary | |
---|---|
static void |
main(String[] argv)
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testAuthorizeNoRoles()
|
void |
testAuthorizeOneOfManyRoles()
|
void |
testAuthorizeOneRole()
|
void |
testNotAuthorizedOneOfManyRoles()
|
void |
testNotAuthorizedOneRole()
|
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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestAuthorizeAction(String _name)
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown()
tearDown
in class junit.framework.TestCase
public void testAuthorizeOneRole() throws Exception
Exception
public void testAuthorizeOneOfManyRoles() throws Exception
Exception
public void testAuthorizeNoRoles() throws Exception
Exception
public void testNotAuthorizedOneRole() throws Exception
Exception
public void testNotAuthorizedOneOfManyRoles() throws Exception
Exception
public static void main(String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |