org.apache.maven.doxia.module.twiki.parser
Class VerbatimTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
              extended by org.apache.maven.doxia.module.twiki.parser.VerbatimTest
All Implemented Interfaces:
junit.framework.Test

public class VerbatimTest
extends AbstractBlockTestCase

Tests the VerbatimBlock

Since:
Nov 8, 2007
Author:
Christian Nardi

Field Summary
 
Fields inherited from class org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
formatTextParser, hruleParser, listParser, paraParser, sectionParser, tableParser, textParser, twikiParser
 
Constructor Summary
VerbatimTest()
           
 
Method Summary
 void testRegex()
          unit test the regex
 void testTwiki()
           
 void testVerbatim()
           
 void testVerbatimAfterSection()
          test
 
Methods inherited from class org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
getVerbatimParser
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VerbatimTest

public VerbatimTest()
Method Detail

testRegex

public final void testRegex()
unit test the regex


testVerbatim

public void testVerbatim()
                  throws ParseException
Throws:
ParseException - if the parser does not accept the line

testTwiki

public void testTwiki()
               throws Exception
Throws:
Exception - .

testVerbatimAfterSection

public void testVerbatimAfterSection()
                              throws ParseException
test

Throws:
ParseException


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