org.apache.jsieve
Class RequireTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.jsieve.RequireTest
All Implemented Interfaces:
junit.framework.Test

public class RequireTest
extends junit.framework.TestCase

Class RequireTest


Constructor Summary
RequireTest()
           
 
Method Summary
 void testExtraArgument()
          Test for Command 'require' for extra argument
 void testInterveningCommand()
          Test for Command 'require' after a Command
 void testMissingArgument()
          Test for Command 'require' for missing argument
 void testMultipleCommandSatisfied()
          Test for Command 'require' with multiple commands that are present
 void testMultipleCommandsUnsatisfied()
          Test for Command 'require' with a multiple commands of which one is absent
 void testMultipleTestSatisfied()
          Test for Command 'require' with multiple tests that are present
 void testMultipleTestsUnsatisfied()
          Test for Command 'require' with a multiple tests of which one is absent
 void testRejectBlock()
          Test for Command 'require' rejecting Blocks
 void testRejectInvalidArgument()
          Test for Command 'require' rejecting invalid arguments
 void testSingleCommandSatisfied()
          Test for Command 'require' with a single command that is present
 void testSingleCommandUnsatisfied()
          Test for Command 'require' with a single command that is absent
 void testSingleTestSatisfied()
          Test for Command 'require' with a single test that is present
 void testSingleTestUnsatisfied()
          Test for Command 'require' with a single test that is absent
 
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
 

Constructor Detail

RequireTest

public RequireTest()
Method Detail

testSingleCommandSatisfied

public void testSingleCommandSatisfied()
Test for Command 'require' with a single command that is present


testSingleTestSatisfied

public void testSingleTestSatisfied()
                             throws java.lang.Exception
Test for Command 'require' with a single test that is present

Throws:
java.lang.Exception

testMultipleCommandSatisfied

public void testMultipleCommandSatisfied()
                                  throws java.lang.Exception
Test for Command 'require' with multiple commands that are present

Throws:
java.lang.Exception

testMultipleTestSatisfied

public void testMultipleTestSatisfied()
                               throws java.lang.Exception
Test for Command 'require' with multiple tests that are present

Throws:
java.lang.Exception

testSingleCommandUnsatisfied

public void testSingleCommandUnsatisfied()
                                  throws java.lang.Exception
Test for Command 'require' with a single command that is absent

Throws:
java.lang.Exception

testSingleTestUnsatisfied

public void testSingleTestUnsatisfied()
                               throws java.lang.Exception
Test for Command 'require' with a single test that is absent

Throws:
java.lang.Exception

testMissingArgument

public void testMissingArgument()
                         throws java.lang.Exception
Test for Command 'require' for missing argument

Throws:
java.lang.Exception

testExtraArgument

public void testExtraArgument()
                       throws java.lang.Exception
Test for Command 'require' for extra argument

Throws:
java.lang.Exception

testRejectBlock

public void testRejectBlock()
                     throws java.lang.Exception
Test for Command 'require' rejecting Blocks

Throws:
java.lang.Exception

testInterveningCommand

public void testInterveningCommand()
                            throws java.lang.Exception
Test for Command 'require' after a Command

Throws:
java.lang.Exception

testRejectInvalidArgument

public void testRejectInvalidArgument()
                               throws java.lang.Exception
Test for Command 'require' rejecting invalid arguments

Throws:
java.lang.Exception

testMultipleCommandsUnsatisfied

public void testMultipleCommandsUnsatisfied()
                                     throws java.lang.Exception
Test for Command 'require' with a multiple commands of which one is absent

Throws:
java.lang.Exception

testMultipleTestsUnsatisfied

public void testMultipleTestsUnsatisfied()
                                  throws java.lang.Exception
Test for Command 'require' with a multiple tests of which one is absent

Throws:
java.lang.Exception


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.