|
||||||||||
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.sink.AbstractSinkTest org.apache.maven.doxia.module.xdoc.XdocSinkTest org.apache.maven.doxia.module.xdoc.XmlWriterXdocSinkTest
public class XmlWriterXdocSinkTest
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 | |
---|---|
XmlWriterXdocSinkTest()
|
Method Summary | |
---|---|
protected Sink |
createSink(Writer writer)
Return a new instance of the sink that is being tested. |
protected String |
getDefinitionListBlock(String definum,
String definition)
Returns a DefinitionList block generated by this sink. |
protected String |
getFigureBlock(String source,
String caption)
Returns a Figure block generated by this sink. |
protected String |
getHorizontalRuleBlock()
Returns a HorizontalRule block generated by this sink. |
protected String |
getLineBreakBlock()
Returns a LineBreak block generated by this sink. |
protected String |
getListBlock(String item)
Returns a list block generated by this sink. |
protected String |
getNumberedListBlock(String item)
Returns a NumberedList block generated by this sink. |
protected String |
getSection1Block(String title)
Returns a Section1 block generated by this sink. |
protected String |
getSection2Block(String title)
Returns a Section2 block generated by this sink. |
protected String |
getTableBlock(String cell,
String caption)
Returns a Table block generated by this sink. |
Methods inherited from class org.apache.maven.doxia.module.xdoc.XdocSinkTest |
---|
getAnchorBlock, getAuthorBlock, getBodyBlock, getBoldBlock, getDateBlock, getHeadBlock, getItalicBlock, getLinkBlock, getMonospacedBlock, getNonBreakingSpaceBlock, getPageBreakBlock, getParagraphBlock, getRawTextBlock, getSection3Block, getSection4Block, getSection5Block, getSectionTitleBlock, getTextBlock, getTitleBlock, getVerbatimBlock, isXmlSink, outputExtension |
Methods inherited from class org.apache.maven.doxia.sink.AbstractSinkTest |
---|
getOutputDir, getSink, getSinkContent, setUp, testAnchor, testAuthor, testBody, testBold, testDate, testDefinitionList, testFigure, testHead, testHorizontalRule, testItalic, testLineBreak, testLink, testList, testMonospaced, testNonBreakingSpace, testNumberedList, testPageBreak, testParagraph, testRawText, testSection1, testSection2, testSection3, testSection4, testSection5, testSectionTitle, testTable, testTestDocument, testText, testTitle, testVerbatim |
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 XmlWriterXdocSinkTest()
Method Detail |
---|
protected Sink createSink(Writer writer)
createSink
in class XdocSinkTest
writer
- The writer for the sink.
protected String getSection1Block(String title)
getSection1Block
in class XdocSinkTest
title
- The title to use.
AbstractSinkTest.testSection1()
protected String getSection2Block(String title)
getSection2Block
in class XdocSinkTest
title
- The title to use.
AbstractSinkTest.testSection2()
protected String getListBlock(String item)
getListBlock
in class XdocSinkTest
item
- The item to use.
AbstractSinkTest.testList()
protected String getNumberedListBlock(String item)
getNumberedListBlock
in class XdocSinkTest
item
- The item to use.
AbstractSinkTest.testNumberedList()
protected String getDefinitionListBlock(String definum, String definition)
getDefinitionListBlock
in class XdocSinkTest
definum
- The term to define.definition
- The definition.
AbstractSinkTest.testDefinitionList()
protected String getFigureBlock(String source, String caption)
getFigureBlock
in class XdocSinkTest
source
- The figure source string.caption
- The caption to use (may be null).
AbstractSinkTest.testFigure()
protected String getTableBlock(String cell, String caption)
getTableBlock
in class XdocSinkTest
cell
- A tabel cell to use.caption
- The caption to use (may be null).
AbstractSinkTest.testTable()
protected String getHorizontalRuleBlock()
getHorizontalRuleBlock
in class XdocSinkTest
AbstractSinkTest.testHorizontalRule()
protected String getLineBreakBlock()
getLineBreakBlock
in class XdocSinkTest
AbstractSinkTest.testLineBreak()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |