org.apache.maven.doxia.parser
Class XhtmlBaseParserTest

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.parser.XhtmlBaseParserTest
All Implemented Interfaces:
junit.framework.Test, Markup

public class XhtmlBaseParserTest
extends AbstractParserTest

Test for XhtmlBaseParser.

Since:
1.1
Version:
$Id: XhtmlBaseParserTest.java 1467081 2013-04-11 20:44:59Z rfscholte $
Author:
ltheussl

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
XhtmlBaseParserTest()
           
 
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()
           
 void testAnchorLink()
           
 void testAttributeEntities()
          Test entities in attributes.
 void testDecoration()
           
 void testDoxia250()
           
 void testDoxiaVersion()
          Test Doxia version.
 void testEntities()
           
 void testFigure()
           
 void testFigureEventsList()
           
 void testHeadingEventsList()
           
 void testLists()
           
 void testNestedHeadingEventsList()
           
 void testPreEOL()
           
 void testPreFormattedText()
           
 void testSignificantWhiteSpace()
           
 void testSimpleTags()
           
 void testSpecial()
           
 void testStyles()
           
 void testTable()
           
 void testTableEventsList()
           
 void testUnbalancedDefinitionListItem()
           
 void testXhtmlEntities()
           
 
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, tearDown
 
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

XhtmlBaseParserTest

public XhtmlBaseParserTest()
Method Detail

createParser

protected Parser createParser()
Description copied from class: AbstractParserTest
Create a new instance of the parser to test.

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

outputExtension

protected String outputExtension()
Description copied from class: AbstractModuleTest
Determines the default file extension for the current module.

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

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

testDoxiaVersion

public void testDoxiaVersion()
Test Doxia version.


testHeadingEventsList

public void testHeadingEventsList()
                           throws Exception
Throws:
Exception

testNestedHeadingEventsList

public void testNestedHeadingEventsList()
                                 throws Exception
Throws:
Exception

testFigureEventsList

public void testFigureEventsList()
                          throws Exception
Throws:
Exception

testTableEventsList

public void testTableEventsList()
                         throws Exception
Throws:
Exception

testSignificantWhiteSpace

public void testSignificantWhiteSpace()
                               throws Exception
Throws:
Exception

testPreFormattedText

public void testPreFormattedText()
                          throws Exception
Throws:
Exception

testPreEOL

public void testPreEOL()
                throws Exception
Throws:
Exception

testDoxia250

public void testDoxia250()
                  throws Exception
Throws:
Exception

testEntities

public void testEntities()
                  throws Exception
Throws:
Exception

testXhtmlEntities

public void testXhtmlEntities()
                       throws Exception
Throws:
Exception

testDecoration

public void testDecoration()
                    throws Exception
Throws:
Exception

testLists

public void testLists()
               throws Exception
Throws:
Exception

testStyles

public void testStyles()
                throws Exception
Throws:
Exception

testSimpleTags

public void testSimpleTags()
                    throws Exception
Throws:
Exception

testSpecial

public void testSpecial()
                 throws Exception
Throws:
Exception

testTable

public void testTable()
               throws Exception
Throws:
Exception

testFigure

public void testFigure()
                throws Exception
Throws:
Exception

testAnchorLink

public void testAnchorLink()
                    throws Exception
Throws:
Exception

testAttributeEntities

public void testAttributeEntities()
                           throws Exception
Test entities in attributes.

Throws:
Exception - if any.

testUnbalancedDefinitionListItem

public void testUnbalancedDefinitionListItem()
                                      throws Exception
Throws:
Exception


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