org.acegisecurity.vote
Class ConsensusBasedTests

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

public class ConsensusBasedTests
extends junit.framework.TestCase

Tests ConsensusBased.

Version:
$Id: ConsensusBasedTests.java 1144 2005-11-30 01:23:36Z benalex $
Author:
Ben Alex

Constructor Summary
ConsensusBasedTests()
           
ConsensusBasedTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testOneAffirmativeVoteOneDenyVoteOneAbstainVoteDeniesAccessWithoutDefault()
           
 void testOneAffirmativeVoteOneDenyVoteOneAbstainVoteGrantsAccessWithDefault()
           
 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

ConsensusBasedTests

public ConsensusBasedTests()

ConsensusBasedTests

public ConsensusBasedTests(String arg0)
Method Detail

setUp

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

main

public static void main(String[] args)

testOneAffirmativeVoteOneDenyVoteOneAbstainVoteDeniesAccessWithoutDefault

public void testOneAffirmativeVoteOneDenyVoteOneAbstainVoteDeniesAccessWithoutDefault()
                                                                               throws Exception
Throws:
Exception

testOneAffirmativeVoteOneDenyVoteOneAbstainVoteGrantsAccessWithDefault

public void testOneAffirmativeVoteOneDenyVoteOneAbstainVoteGrantsAccessWithDefault()
                                                                            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.