public class AptParserTest 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 |
---|
AptParserTest() |
Modifier and Type | Method and Description |
---|---|
protected Parser |
createParser() |
protected String |
outputExtension() |
protected String |
parseFileToAptSink(String file) |
protected void |
setUp() |
void |
testBoxedVerbatim() |
void |
testCommentsBeforeTitle() |
void |
testDOXIA38() |
void |
testEscapedPipeInTableCell() |
void |
testLineBreak() |
void |
testLineBreakInTableCells() |
void |
testLiteralAnchor() |
void |
testMultiLinesInTableCells() |
void |
testSectionTitleAnchors() |
void |
testSnippet() |
void |
testSnippetMacro() |
void |
testSnippetTrailingSpace() |
void |
testSpacesAndBracketsInAnchors() |
void |
testSpecialCharactersInTables() |
void |
testTableHeaders() |
void |
testTestDocument()
Parses the test document test.apt and re-emits
it into parser/test.apt.
|
void |
testTocMacro() |
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
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
protected void setUp() throws Exception
setUp
in class org.codehaus.plexus.PlexusTestCase
Exception
protected Parser createParser()
createParser
in class AbstractParserTest
protected String parseFileToAptSink(String file) throws ParseException
ParseException
public void testTestDocument() throws IOException, ParseException
IOException
- if the test file cannot be read.ParseException
- if the test file cannot be parsed.public void testMultiLinesInTableCells() throws Exception
Exception
public void testLineBreakInTableCells() throws Exception
Exception
public void testSpecialCharactersInTables() throws Exception
Exception
public void testSpacesAndBracketsInAnchors() throws Exception
Exception
public void testEscapedPipeInTableCell() throws Exception
Exception
protected String outputExtension()
outputExtension
in class AbstractModuleTest
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.