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()
          
protected  String outputExtension()
          
protected  void setUp()
          
protected  void tearDown()
          
 void testAnchor()
           
 void testCodeMacro()
           
 void testDoxia382SinkCannotBeReused()
           
 void testEndBracket()
          DOXIA-247
 void testEndBracketInList()
          DOXIA-247
 void testEscapes()
           
 void testFigure()
           
 void testLineBreak()
           
 void testLinethrough()
           
 void testLink()
           
 void testListFollowedByMacro()
           
 void testListWithSimpleFormatting()
           
 void testMarkupTestPage()
           
 void testNestedBulletList()
           
 void testNestedFormats()
           
 void testNestedHeterogenousList()
           
 void testNoteInfoTipQuote()
           
 void testParagraphWithFigure()
           
 void testParagraphWithHeader()
           
 void testParagraphWithList()
           
 void testParagraphWithSimpleFormatting()
           
 void testSectionTitles()
           
 void testSeparatorInParagraph()
          DOXIA-370
 void testSub()
           
 void testSup()
           
 void testTableWithLinks()
           
 void testUnderline()
           
 void testUnknownMacro()
           
 
Methods inherited from class org.apache.maven.doxia.parser.AbstractParserTest
assertAttributeEquals, assertEquals, assertEquals, getOutputDir, testDocument, testParser
 
Methods inherited from class org.apache.maven.doxia.AbstractModuleTest
getBasedirFile, getTestReader, getTestReader, getTestWriter, getTestWriter, getTestWriterFile, getTestWriterFile, 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, format
 
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()

Specified by:
createParser in class AbstractParserTest

outputExtension

protected String outputExtension()

Specified by:
outputExtension in class AbstractModuleTest

testMarkupTestPage

public void testMarkupTestPage()
                        throws Exception
Throws:
Exception

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

testNestedHeterogenousList

public void testNestedHeterogenousList()
                                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

testTableWithLinks

public void testTableWithLinks()
                        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 - if something goes wrong.

testEndBracketInList

public void testEndBracketInList()
                          throws ParseException
DOXIA-247

Throws:
ParseException

testDoxia382SinkCannotBeReused

public void testDoxia382SinkCannotBeReused()
                                    throws ParseException
Throws:
ParseException

testSeparatorInParagraph

public void testSeparatorInParagraph()
                              throws ParseException
DOXIA-370

Throws:
ParseException

testListFollowedByMacro

public void testListFollowedByMacro()
                             throws Exception
Throws:
Exception

testLinethrough

public void testLinethrough()
                     throws Exception
Throws:
Exception

testUnderline

public void testUnderline()
                   throws Exception
Throws:
Exception

testSub

public void testSub()
             throws Exception
Throws:
Exception

testSup

public void testSup()
             throws Exception
Throws:
Exception


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