org.apache.maven.doxia.module.confluence
Class ConfluenceParserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.doxia.AbstractModuleTest
                  extended by org.apache.maven.doxia.parser.AbstractParserTest
                      extended by org.apache.maven.doxia.module.confluence.ConfluenceParserTest
All Implemented Interfaces:
junit.framework.Test, Markup

public class ConfluenceParserTest
extends AbstractParserTest

Test class for ConfluenceParser.


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
container, context
 
Fields inherited from interface org.apache.maven.doxia.markup.Markup
COLON, EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SEMICOLON, SLASH, SPACE, STAR
 
Constructor Summary
ConfluenceParserTest()
           
 
Method Summary
protected  Parser createParser()
          Create a new instance of the parser to test.
protected  String outputExtension()
          Determines the default file extension for the current module.
protected  void setUp()
          
protected  void tearDown()
          
 void testAnchor()
           
 void testCodeMacro()
           
 void testEndBracket()
          DOXIA-247
 void testEndBracketInList()
          DOXIA-247
 void testEscapes()
           
 void testFigure()
           
 void testLineBreak()
           
 void testLink()
           
 void testListWithSimpleFormatting()
           
 void testNestedBulletList()
           
 void testNestedFormats()
           
 void testNoteInfoTipQuote()
           
 void testParagraphWithFigure()
           
 void testParagraphWithHeader()
           
 void testParagraphWithList()
           
 void testParagraphWithSimpleFormatting()
           
 void testSectionTitles()
           
 void testUnknownMacro()
           
 
Methods inherited from class org.apache.maven.doxia.parser.AbstractParserTest
getOutputDir, testDocument, testParser
 
Methods inherited from class org.apache.maven.doxia.AbstractModuleTest
getBasedirFile, getTestReader, getTestReader, getTestWriter, getTestWriter, getXmlTestWriter, getXmlTestWriter, outputBaseDir
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfluenceParserTest

public ConfluenceParserTest()
Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception

Overrides:
tearDown in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

createParser

protected Parser createParser()
Create a new instance of the parser to test.

Specified by:
createParser in class AbstractParserTest
Returns:
the parser to test.

outputExtension

protected String outputExtension()
Determines the default file extension for the current module.

Specified by:
outputExtension in class AbstractModuleTest
Returns:
The default file extension.

testParagraphWithSimpleFormatting

public void testParagraphWithSimpleFormatting()
                                       throws Exception
Throws:
Exception

testLineBreak

public void testLineBreak()
                   throws Exception
Throws:
Exception

testEscapes

public void testEscapes()
                 throws Exception
Throws:
Exception

testSectionTitles

public void testSectionTitles()
                       throws Exception
Throws:
Exception

testNestedBulletList

public void testNestedBulletList()
                          throws Exception
Throws:
Exception

testListWithSimpleFormatting

public void testListWithSimpleFormatting()
                                  throws Exception
Throws:
Exception

testAnchor

public void testAnchor()
                throws Exception
Throws:
Exception

testUnknownMacro

public void testUnknownMacro()
                      throws Exception
Throws:
Exception

testCodeMacro

public void testCodeMacro()
                   throws Exception
Throws:
Exception

testFigure

public void testFigure()
                throws Exception
Throws:
Exception

testLink

public void testLink()
              throws Exception
Throws:
Exception

testParagraphWithList

public void testParagraphWithList()
                           throws Exception
Throws:
Exception

testParagraphWithFigure

public void testParagraphWithFigure()
                             throws Exception
Throws:
Exception

testParagraphWithHeader

public void testParagraphWithHeader()
                             throws Exception
Throws:
Exception

testNestedFormats

public void testNestedFormats()
                       throws Exception
Throws:
Exception

testNoteInfoTipQuote

public void testNoteInfoTipQuote()
                          throws Exception
Throws:
Exception

testEndBracket

public void testEndBracket()
                    throws ParseException
DOXIA-247

Throws:
ParseException

testEndBracketInList

public void testEndBracketInList()
                          throws ParseException
DOXIA-247

Throws:
ParseException


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