org.apache.jsieve.util
Class NodeToSieveAdapterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jmock.core.VerifyingTestCase
              extended by org.jmock.core.MockObjectSupportTestCase
                  extended by org.jmock.MockObjectTestCase
                      extended by org.apache.jsieve.util.NodeToSieveAdapterTest
All Implemented Interfaces:
junit.framework.Test

public class NodeToSieveAdapterTest
extends org.jmock.MockObjectTestCase


Field Summary
 
Fields inherited from class org.jmock.core.MockObjectSupportTestCase
ANYTHING, NOT_NULL, NULL
 
Constructor Summary
NodeToSieveAdapterTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testASTargumentNumber()
           
 void testASTargumentTag()
           
 void testASTstring()
           
 void testEnd()
           
 void testEndASTarguments()
           
 void testEndASTblock()
           
 void testEndASTcommand()
           
 void testEndASTcommands()
           
 void testEndASTstart()
           
 void testEndASTstring_list()
           
 void testEndASTtest_list()
           
 void testEndASTtest()
           
 void testEndSimpleNode()
           
 void testStart()
           
 void testStartASTarguments()
           
 void testStartASTblock()
           
 void testStartASTcommand()
           
 void testStartASTcommands()
           
 void testStartASTstart()
           
 void testStartASTstring_list()
           
 void testStartASTtest_list()
           
 void testStartASTtest()
           
 void testStartSimpleNode()
           
 
Methods inherited from class org.jmock.MockObjectTestCase
atLeastOnce, atMostOnce, defaultMockNameForType, doAll, doAll, doAll, doAll, exactly, mock, mock, never, never, newCoreMock, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnIterator, returnIterator, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException
 
Methods inherited from class org.jmock.core.MockObjectSupportTestCase
and, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, collectionContaining, collectionContaining, compatibleType, contains, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, hasProperty, hasProperty, isA, isIn, isIn, mapContaining, mapContaining, mapWithKey, mapWithKey, mapWithValue, mapWithValue, newDummy, newDummy, newDummy, not, or, same, startsWith, stringContains, toString
 
Methods inherited from class org.jmock.core.VerifyingTestCase
registerToVerify, runBare, unregisterToVerify, verify
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeToSieveAdapterTest

public NodeToSieveAdapterTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testStart

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

testEnd

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

testEndSimpleNode

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

testEndASTstart

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

testEndASTcommands

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

testEndASTcommand

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

testEndASTblock

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

testEndASTarguments

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

testASTargumentTag

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

testASTargumentNumber

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

testEndASTtest

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

testEndASTtest_list

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

testEndASTstring_list

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

testStartSimpleNode

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

testStartASTstart

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

testStartASTcommands

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

testStartASTcommand

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

testStartASTblock

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

testStartASTarguments

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

testStartASTtest

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

testStartASTtest_list

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

testASTstring

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

testStartASTstring_list

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


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