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

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
FormatedTextTest, ListTest, ParagraphTest, SectionTest, TableTest, TitleTest, VerbatimTest, WordsTest

public abstract class AbstractBlockTestCase
extends junit.framework.TestCase

Common code to the Block unit tests

Since:
Nov 1, 2005
Author:
Juan F. Codagnone

Field Summary
protected  FormatedTextParser formatTextParser
          FormatedTextParser used in all the tests
protected  HRuleBlockParser hruleParser
          TextParser used in all the tests
protected  GenericListBlockParser listParser
          ListBlockParser used in all the tests
protected  ParagraphBlockParser paraParser
          ParagraphBlockParser to use in all the tests
protected  SectionBlockParser sectionParser
          sectionParser to use in all the tests
protected  TableBlockParser tableParser
          TableBlockParser used in all the tests
protected  TextParser textParser
          TextParser used in all the tests
protected  TWikiParser twikiParser
          TWiki used in all the tests
 
Constructor Summary
AbstractBlockTestCase()
          Creates the AbstractBlockTestCase.
 
Method Summary
protected  VerbatimBlockParser getVerbatimParser()
          Returns the verbatimParser.
 
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
 

Field Detail

sectionParser

protected final SectionBlockParser sectionParser
sectionParser to use in all the tests


paraParser

protected final ParagraphBlockParser paraParser
ParagraphBlockParser to use in all the tests


listParser

protected final GenericListBlockParser listParser
ListBlockParser used in all the tests


formatTextParser

protected final FormatedTextParser formatTextParser
FormatedTextParser used in all the tests


textParser

protected final TextParser textParser
TextParser used in all the tests


hruleParser

protected final HRuleBlockParser hruleParser
TextParser used in all the tests


tableParser

protected final TableBlockParser tableParser
TableBlockParser used in all the tests


twikiParser

protected final TWikiParser twikiParser
TWiki used in all the tests

Constructor Detail

AbstractBlockTestCase

public AbstractBlockTestCase()
Creates the AbstractBlockTestCase.

Method Detail

getVerbatimParser

protected final VerbatimBlockParser getVerbatimParser()
Returns the verbatimParser.

Returns:
VerbatimBlockParser with the verbatimParser.


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