edu.sdsc.inca.protocol
Class PermitTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.sdsc.inca.protocol.PermitTest
All Implemented Interfaces:
junit.framework.Test

public class PermitTest
extends junit.framework.TestCase

Test basic functionality of Permit


Field Summary
static java.lang.String ACTION
           
static java.lang.String CRLF
           
static java.lang.String DN
           
static java.lang.String MESSAGE
           
static java.lang.String PERMIT
           
static java.lang.String PING
           
 
Constructor Summary
PermitTest()
           
 
Method Summary
 void testForbidden()
           
 void testMultipleSettings()
           
 void testNoPermissions()
           
 void testPermit()
           
 void testPersistence()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Field Detail

CRLF

public static final java.lang.String CRLF
See Also:
Constant Field Values

MESSAGE

public static final java.lang.String MESSAGE
See Also:
Constant Field Values

DN

public static final java.lang.String DN
See Also:
Constant Field Values

ACTION

public static final java.lang.String ACTION
See Also:
Constant Field Values

PERMIT

public static final java.lang.String PERMIT
See Also:
Constant Field Values

PING

public static final java.lang.String PING
See Also:
Constant Field Values
Constructor Detail

PermitTest

public PermitTest()
Method Detail

testNoPermissions

public void testNoPermissions()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testPermit

public void testPermit()
                throws java.lang.Exception
Throws:
java.lang.Exception

testForbidden

public void testForbidden()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testPersistence

public void testPersistence()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleSettings

public void testMultipleSettings()
                          throws java.lang.Exception
Throws:
java.lang.Exception