org.apache.jsieve.parser
Class SieveNodeCommentTest

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

public class SieveNodeCommentTest
extends junit.framework.TestCase


Constructor Summary
SieveNodeCommentTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testGetBracketCommentsBefore()
           
 void testGetBracketLastCommentBefore()
           
 void testGetHashCommentsBefore()
           
 void testGetHashCommentsBeforeCRLF()
           
 void testGetHashLastCommentBefore()
           
 void testGetHashLastCommentBeforeCRLF()
           
 void testGetLastCommentNoneBefore()
           
 void testGetNoCommentsBefore()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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

SieveNodeCommentTest

public SieveNodeCommentTest()
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

testGetNoCommentsBefore

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

testGetBracketCommentsBefore

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

testGetHashCommentsBefore

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

testGetHashCommentsBeforeCRLF

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

testGetLastCommentNoneBefore

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

testGetBracketLastCommentBefore

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

testGetHashLastCommentBefore

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

testGetHashLastCommentBeforeCRLF

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


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