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, assertStartsWith, getOutputDir, testDocument, testParser
getBasedirFile, getTestReader, getTestReader, getTestWriter, getTestWriter, getTestWriterFile, getTestWriterFile, getXmlTestWriter, getXmlTestWriter, normalizeLineEnds, outputBaseDir
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, 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 AptParserTest()
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 testLineBreak() throws Exception
Exception
public void testSnippetMacro() throws Exception
Exception
public void testCommentsBeforeTitle() throws Exception
Exception
public void testSnippet() throws Exception
Exception
public void testSnippetTrailingSpace() throws Exception
Exception
public void testTocMacro() throws Exception
Exception
public void testTestDocument() throws IOException, ParseException
IOException
- if the test file cannot be read.ParseException
- if the test file cannot be parsed.public void testBoxedVerbatim() throws Exception
Exception
public void testMultiLinesInTableCells() throws Exception
Exception
public void testLineBreakInTableCells() throws Exception
Exception
public void testDOXIA38() throws Exception
Exception
public void testSpecialCharactersInTables() throws Exception
Exception
public void testSpacesAndBracketsInAnchors() throws Exception
Exception
public void testSectionTitleAnchors() throws Exception
Exception
public void testTableHeaders() throws Exception
Exception
public void testEscapedPipeInTableCell() throws Exception
Exception
public void testLiteralAnchor() throws Exception
Exception
protected String outputExtension()
outputExtension
in class AbstractModuleTest
Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.