|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.doxia.AbstractModuleTest org.apache.maven.doxia.parser.AbstractParserTest org.apache.maven.doxia.module.apt.AptParserTest
public class AptParserTest
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 | |
---|---|
AptParserTest()
|
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 |
testLineBreak()
|
void |
testSnippet()
|
void |
testSnippetMacro()
|
void |
testTestDocument()
Parses the test document test.apt and re-emits it into parser/test.apt. |
void |
testTocMacro()
|
Methods inherited from class org.apache.maven.doxia.parser.AbstractParserTest |
---|
getOutputDir, testDocument, testParser |
Methods inherited from class org.apache.maven.doxia.AbstractModuleTest |
---|
getBasedirFile, getTestReader, getTestReader, getTestWriter, getTestWriter, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AptParserTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class org.codehaus.plexus.PlexusTestCase
Exception
protected Parser createParser()
createParser
in class AbstractParserTest
public void testLineBreak() throws Exception
Exception
public void testSnippetMacro() throws Exception
Exception
public void testSnippet() 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.protected String outputExtension()
outputExtension
in class AbstractModuleTest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |