org.acegisecurity.vote
Class AffirmativeBasedTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.acegisecurity.vote.AffirmativeBasedTests
All Implemented Interfaces:
junit.framework.Test

public class AffirmativeBasedTests
extends junit.framework.TestCase

Tests AffirmativeBased.

Version:
$Id: AffirmativeBasedTests.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Ben Alex

Constructor Summary
AffirmativeBasedTests()
           
AffirmativeBasedTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testOneAffirmativeVoteOneDenyVoteOneAbstainVoteGrantsAccess()
           
 void testOneAffirmativeVoteTwoAbstainVotesGrantsAccess()
           
 void testOneDenyVoteTwoAbstainVotesDeniesAccess()
           
 void testThreeAbstainVotesDeniesAccessWithDefault()
           
 void testThreeAbstainVotesGrantsAccessWithoutDefault()
           
 void testTwoAffirmativeVotesTwoAbstainVotesGrantsAccess()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

AffirmativeBasedTests

public AffirmativeBasedTests()

AffirmativeBasedTests

public AffirmativeBasedTests(String arg0)
Method Detail

main

public static void main(String[] args)

setUp

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

testOneAffirmativeVoteOneDenyVoteOneAbstainVoteGrantsAccess

public void testOneAffirmativeVoteOneDenyVoteOneAbstainVoteGrantsAccess()
                                                                 throws Exception
Throws:
Exception

testOneAffirmativeVoteTwoAbstainVotesGrantsAccess

public void testOneAffirmativeVoteTwoAbstainVotesGrantsAccess()
                                                       throws Exception
Throws:
Exception

testOneDenyVoteTwoAbstainVotesDeniesAccess

public void testOneDenyVoteTwoAbstainVotesDeniesAccess()
                                                throws Exception
Throws:
Exception

testThreeAbstainVotesDeniesAccessWithDefault

public void testThreeAbstainVotesDeniesAccessWithDefault()
                                                  throws Exception
Throws:
Exception

testThreeAbstainVotesGrantsAccessWithoutDefault

public void testThreeAbstainVotesGrantsAccessWithoutDefault()
                                                     throws Exception
Throws:
Exception

testTwoAffirmativeVotesTwoAbstainVotesGrantsAccess

public void testTwoAffirmativeVotesTwoAbstainVotesGrantsAccess()
                                                        throws Exception
Throws:
Exception


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