public class DocBookParserTest extends AbstractParserTest
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 and Description |
---|
DocBookParserTest() |
Modifier and Type | Method and Description |
---|---|
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.
|
assertAttributeEquals, assertEquals, assertEquals, getOutputDir, testDocument, testParser
getBasedirFile, getTestReader, getTestReader, getTestWriter, getTestWriter, getTestWriterFile, getTestWriterFile, getXmlTestWriter, getXmlTestWriter, outputBaseDir
customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, tearDown
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public DocBookParserTest()
protected void setUp() throws Exception
setUp
in class org.codehaus.plexus.PlexusTestCase
Exception
protected Parser createParser()
createParser
in class AbstractParserTest
protected String outputExtension()
outputExtension
in class AbstractModuleTest
public void testTestDocument() throws IOException, ParseException
IOException
- if something goes wrongParseException
- if something goes wrongpublic void testSignificantWhiteSpace() throws Exception
Exception
public void testFigure() throws Exception
Exception
public void testStyles() throws Exception
Exception
public void testTables() throws Exception
Exception
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.