org.apache.maven.doxia.module.docbook
Class DocBookParserTest

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

public class DocBookParserTest
extends AbstractParserTest

Version:
$Id: DocBookParserTest.java 1091053 2011-04-11 12:55:07Z ltheussl $
Author:
Lars Trieloff

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
DocBookParserTest()
           
 
Method Summary
protected  Parser createParser()
          
protected  String outputExtension()
          
protected  void setUp()
           
 void testFigure()
           
 void testHead()
           
 void testIds()
           
 void testLinks()
           
 void testLists()
           
 void testSignificantWhiteSpace()
           
 void testStyles()
           
 void testTables()
           
 void testTestDocument()
          Parses the test document test.xml and re-emits it into test.docbook.
 
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

DocBookParserTest

public DocBookParserTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp 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

testTestDocument

public void testTestDocument()
                      throws IOException,
                             ParseException
Parses the test document test.xml and re-emits it into test.docbook.

Throws:
IOException - if something goes wrong
ParseException - if something goes wrong

testSignificantWhiteSpace

public void testSignificantWhiteSpace()
                               throws Exception
Throws:
Exception

testIds

public void testIds()
             throws Exception
Throws:
Exception

testFigure

public void testFigure()
                throws Exception
Throws:
Exception

testLinks

public void testLinks()
               throws Exception
Throws:
Exception

testStyles

public void testStyles()
                throws Exception
Throws:
Exception

testLists

public void testLists()
               throws Exception
Throws:
Exception

testTables

public void testTables()
                throws Exception
Throws:
Exception

testHead

public void testHead()
              throws Exception
Throws:
Exception


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