org.apache.maven.doxia.sink
Class AbstractSinkTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.doxia.AbstractModuleTest
                  extended by org.apache.maven.doxia.sink.AbstractSinkTest
All Implemented Interfaces:
junit.framework.Test, Markup

public abstract class AbstractSinkTest
extends AbstractModuleTest

Abstract base class to test sinks.

Since:
1.0
Version:
$Id: AbstractSinkTest.java 1467294 2013-04-12 14:51:42Z rfscholte $

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
AbstractSinkTest()
           
 
Method Summary
protected abstract  Sink createSink(Writer writer)
          Return a new instance of the sink that is being tested.
protected abstract  String getAnchorBlock(String anchor)
          Returns a Anchor block generated by this sink.
protected abstract  String getAuthorBlock(String author)
          Returns an author block generated by this sink.
protected abstract  String getBodyBlock()
          Returns a body block generated by this sink.
protected abstract  String getBoldBlock(String text)
          Returns a Bold block generated by this sink.
protected abstract  String getCommentBlock(String text)
          Returns a comment block generated by this sink.
protected abstract  String getDateBlock(String date)
          Returns a date block generated by this sink.
protected abstract  String getDefinitionListBlock(String definum, String definition)
          Returns a DefinitionList block generated by this sink.
protected abstract  String getFigureBlock(String source, String caption)
          Returns a Figure block generated by this sink.
protected abstract  String getHeadBlock()
          Returns a head block generated by this sink.
protected abstract  String getHorizontalRuleBlock()
          Returns a HorizontalRule block generated by this sink.
protected abstract  String getItalicBlock(String text)
          Returns a Italic block generated by this sink.
protected abstract  String getLineBreakBlock()
          Returns a LineBreak block generated by this sink.
protected abstract  String getLinkBlock(String link, String text)
          Returns a Link block generated by this sink.
protected abstract  String getListBlock(String item)
          Returns a list block generated by this sink.
protected abstract  String getMonospacedBlock(String text)
          Returns a Monospaced block generated by this sink.
protected abstract  String getNonBreakingSpaceBlock()
          Returns a NonBreakingSpace block generated by this sink.
protected abstract  String getNumberedListBlock(String item)
          Returns a NumberedList block generated by this sink.
protected  String getOutputDir()
          Returns the directory where all sink test output will go.
protected abstract  String getPageBreakBlock()
          Returns a PageBreak block generated by this sink.
protected abstract  String getParagraphBlock(String text)
          Returns a Paragraph block generated by this sink.
protected abstract  String getRawTextBlock(String text)
          Returns a RawText block generated by this sink.
protected abstract  String getSection1Block(String title)
          Returns a Section1 block generated by this sink.
protected abstract  String getSection2Block(String title)
          Returns a Section2 block generated by this sink.
protected abstract  String getSection3Block(String title)
          Returns a Section3 block generated by this sink.
protected abstract  String getSection4Block(String title)
          Returns a Section4 block generated by this sink.
protected abstract  String getSection5Block(String title)
          Returns a Section5 block generated by this sink.
protected abstract  String getSectionTitleBlock(String title)
          Returns a SectionTitle block generated by this sink.
protected  Sink getSink()
          Returns the sink that is currently being tested.
protected  String getSinkContent()
          Returns a String representation of all events that have been written to the sink.
protected abstract  String getTableBlock(String cell, String caption)
          Returns a Table block generated by this sink.
protected abstract  String getTextBlock(String text)
          Returns a Text block generated by this sink.
protected abstract  String getTitleBlock(String title)
          Returns a title block generated by this sink.
protected abstract  String getVerbatimBlock(String text)
          Returns a Verbatim block generated by this sink.
protected abstract  boolean isXmlSink()
          This method allows to use the correct Writer in testTestDocument().
protected  void setUp()
          Resets the writer and creates a new sink with it.
 void testAnchor()
          Checks that the sequence [anchor( anchor ), text( anchor ), anchor_()], invoked on the current sink, produces the same result as getAnchorBlock( anchor ).
 void testAuthor()
          Checks that the sequence [author(), text( author ), author_()] , invoked on the current sink, produces the same result as getAuthorBlock( author ).
 void testBody()
          Checks that the sequence [body(), body_()], invoked on the current sink, produces the same result as getBodyBlock().
 void testBold()
          Checks that the sequence [bold(), text( text ), bold_()], invoked on the current sink, produces the same result as getBoldBlock( text ).
 void testComment()
          Checks that the sequence [comment(comment)], invoked on the current sink, produces the same result as getCommentBlock( comment ).
 void testDate()
          Checks that the sequence [date(), text( date ), date_()], invoked on the current sink, produces the same result as getDateBlock( date ).
 void testDefinitionList()
          Checks that the sequence [definitionList(), definitionListItem(), definedTerm(), text( definum ), definedTerm_(), definition(), text( definition ), definition_(), definitionListItem_(), definitionList_()], invoked on the current sink, produces the same result as getDefinitionListBlock ( definum, definition ).
 void testFigure()
          Checks that the sequence [figure(), figureGraphics( source ), figureCaption(), text( caption ), figureCaption_(), figure_()], invoked on the current sink, produces the same result as getFigureBlock( source, caption ).
 void testFigureWithoutCaption()
           
 void testHead()
          Checks that the sequence [head(), head_()], invoked on the current sink, produces the same result as getHeadBlock().
 void testHorizontalRule()
          Checks that the sequence [horizontalRule()], invoked on the current sink, produces the same result as getHorizontalRuleBlock().
 void testItalic()
          Checks that the sequence [italic(), text( text ), italic_()], invoked on the current sink, produces the same result as getItalicBlock( text ).
 void testLineBreak()
          Checks that the sequence [lineBreak()], invoked on the current sink, produces the same result as getLineBreakBlock().
 void testLink()
          Checks that the sequence [link( link ), text( text ), link_()], invoked on the current sink, produces the same result as getLinkBlock( link, text ).
 void testList()
          Checks that the sequence [list(), listItem(), text( item ), listItem_(), list_()], invoked on the current sink, produces the same result as getListBlock( item ).
 void testMonospaced()
          Checks that the sequence [monospaced(), text( text ), monospaced_()], invoked on the current sink, produces the same result as getMonospacedBlock( text ).
 void testNonBreakingSpace()
          Checks that the sequence [nonBreakingSpace()], invoked on the current sink, produces the same result as getNonBreakingSpaceBlock().
 void testNumberedList()
          Checks that the sequence [numberedList( Sink.NUMBERING_LOWER_ROMAN ), numberedListItem(), text( item ), numberedListItem_(), numberedList_()], invoked on the current sink, produces the same result as getNumberedListBlock( item ).
 void testPageBreak()
          Checks that the sequence [pageBreak()], invoked on the current sink, produces the same result as getPageBreakBlock().
 void testParagraph()
          Checks that the sequence [paragraph(), text( text ), paragraph_()], invoked on the current sink, produces the same result as getParagraphBlock( text ).
 void testRawText()
          Checks that the sequence [rawText( text )], invoked on the current sink, produces the same result as getRawTextBlock( text ).
 void testSection1()
          Checks that the sequence [section1(), sectionTitle1(), text( title ), sectionTitle1_(), section1_()], invoked on the current sink, produces the same result as getSection1Block( title ).
 void testSection2()
          Checks that the sequence [section2(), sectionTitle2(), text( title ), sectionTitle2_(), section2_()], invoked on the current sink, produces the same result as getSection2Block( title ).
 void testSection3()
          Checks that the sequence [section3(), sectionTitle3(), text( title ), sectionTitle3_(), section3_()], invoked on the current sink, produces the same result as getSection3Block( title ).
 void testSection4()
          Checks that the sequence [section4(), sectionTitle4(), text( title ), sectionTitle4_(), section4_()], invoked on the current sink, produces the same result as getSection4Block( title ).
 void testSection5()
          Checks that the sequence [section5(), sectionTitle5(), text( title ), sectionTitle5_(), section5_()], invoked on the current sink, produces the same result as getSection5Block( title ).
 void testSectionTitle()
          Checks that the sequence [sectionTitle(), text( title ), sectionTitle_()], invoked on the current sink, produces the same result as getSectionTitleBlock( title ).
 void testTable()
          Checks that the sequence [table(), tableRows( Sink.JUSTIFY_CENTER, false ), tableRow(), tableCell(), text( cell ), tableCell_(), tableRow_(), tableRows_(), tableCaption(), text( caption ), tableCaption_(), table_()], invoked on the current sink, produces the same result as getTableBlock( cell, caption ).
 void testTestDocument()
          Tests that the current sink is able to render the common test document.
 void testText()
          Checks that the sequence [text( text )], invoked on the current sink, produces the same result as getTextBlock().
 void testTitle()
          Checks that the sequence [title(), text( title ), title_()], invoked on the current sink, produces the same result as getTitleBlock( title ).
 void testVerbatim()
          Checks that the sequence [verbatim( SinkEventAttributeSet.BOXED ), text( text ), verbatim_()], invoked on the current sink, produces the same result as getVerbatimBlock( text ).
protected  void verifyDecorationLineThrough(String text)
           
protected  void verifyDecorationUnderline(String text)
           
protected  void verifyValignSub(String text)
           
protected  void verifyValignSup(String text)
           
 
Methods inherited from class org.apache.maven.doxia.AbstractModuleTest
getBasedirFile, getTestReader, getTestReader, getTestWriter, getTestWriter, getTestWriterFile, getTestWriterFile, getXmlTestWriter, getXmlTestWriter, outputBaseDir, outputExtension
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractSinkTest

public AbstractSinkTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Resets the writer and creates a new sink with it.

Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception - if something goes wrong.

testTestDocument

public final void testTestDocument()
                            throws IOException
Tests that the current sink is able to render the common test document. If the sink is an Xml sink defined by isXmlSink(), it uses an Xml Writer defined by AbstractModuleTest.getXmlTestWriter(String). If not, it uses the Writer defined by AbstractModuleTest.getTestWriter(String).

Throws:
IOException - If the target test document could not be generated.
See Also:
SinkTestDocument, isXmlSink(), AbstractModuleTest.getTestWriter(String), AbstractModuleTest.getXmlTestWriter(String)

testTitle

public void testTitle()
Checks that the sequence [title(), text( title ), title_()], invoked on the current sink, produces the same result as getTitleBlock( title ).


testAuthor

public void testAuthor()
Checks that the sequence [author(), text( author ), author_()] , invoked on the current sink, produces the same result as getAuthorBlock( author ).


testDate

public void testDate()
Checks that the sequence [date(), text( date ), date_()], invoked on the current sink, produces the same result as getDateBlock( date ).


testHead

public void testHead()
Checks that the sequence [head(), head_()], invoked on the current sink, produces the same result as getHeadBlock().


testBody

public void testBody()
Checks that the sequence [body(), body_()], invoked on the current sink, produces the same result as getBodyBlock().


testSectionTitle

public void testSectionTitle()
Checks that the sequence [sectionTitle(), text( title ), sectionTitle_()], invoked on the current sink, produces the same result as getSectionTitleBlock( title ).


testSection1

public void testSection1()
Checks that the sequence [section1(), sectionTitle1(), text( title ), sectionTitle1_(), section1_()], invoked on the current sink, produces the same result as getSection1Block( title ).


testSection2

public void testSection2()
Checks that the sequence [section2(), sectionTitle2(), text( title ), sectionTitle2_(), section2_()], invoked on the current sink, produces the same result as getSection2Block( title ).


testSection3

public void testSection3()
Checks that the sequence [section3(), sectionTitle3(), text( title ), sectionTitle3_(), section3_()], invoked on the current sink, produces the same result as getSection3Block( title ).


testSection4

public void testSection4()
Checks that the sequence [section4(), sectionTitle4(), text( title ), sectionTitle4_(), section4_()], invoked on the current sink, produces the same result as getSection4Block( title ).


testSection5

public void testSection5()
Checks that the sequence [section5(), sectionTitle5(), text( title ), sectionTitle5_(), section5_()], invoked on the current sink, produces the same result as getSection5Block( title ).


testList

public void testList()
Checks that the sequence [list(), listItem(), text( item ), listItem_(), list_()], invoked on the current sink, produces the same result as getListBlock( item ).


testNumberedList

public void testNumberedList()
Checks that the sequence [numberedList( Sink.NUMBERING_LOWER_ROMAN ), numberedListItem(), text( item ), numberedListItem_(), numberedList_()], invoked on the current sink, produces the same result as getNumberedListBlock( item ).


testDefinitionList

public void testDefinitionList()
Checks that the sequence [definitionList(), definitionListItem(), definedTerm(), text( definum ), definedTerm_(), definition(), text( definition ), definition_(), definitionListItem_(), definitionList_()], invoked on the current sink, produces the same result as getDefinitionListBlock ( definum, definition ).


testFigure

public void testFigure()
Checks that the sequence [figure(), figureGraphics( source ), figureCaption(), text( caption ), figureCaption_(), figure_()], invoked on the current sink, produces the same result as getFigureBlock( source, caption ).


testFigureWithoutCaption

public void testFigureWithoutCaption()

testTable

public void testTable()
Checks that the sequence [table(), tableRows( Sink.JUSTIFY_CENTER, false ), tableRow(), tableCell(), text( cell ), tableCell_(), tableRow_(), tableRows_(), tableCaption(), text( caption ), tableCaption_(), table_()], invoked on the current sink, produces the same result as getTableBlock( cell, caption ).


testParagraph

public void testParagraph()
Checks that the sequence [paragraph(), text( text ), paragraph_()], invoked on the current sink, produces the same result as getParagraphBlock( text ).


testVerbatim

public void testVerbatim()
Checks that the sequence [verbatim( SinkEventAttributeSet.BOXED ), text( text ), verbatim_()], invoked on the current sink, produces the same result as getVerbatimBlock( text ).


testHorizontalRule

public void testHorizontalRule()
Checks that the sequence [horizontalRule()], invoked on the current sink, produces the same result as getHorizontalRuleBlock().


testPageBreak

public void testPageBreak()
Checks that the sequence [pageBreak()], invoked on the current sink, produces the same result as getPageBreakBlock().


testAnchor

public void testAnchor()
Checks that the sequence [anchor( anchor ), text( anchor ), anchor_()], invoked on the current sink, produces the same result as getAnchorBlock( anchor ).


testLink

public void testLink()
Checks that the sequence [link( link ), text( text ), link_()], invoked on the current sink, produces the same result as getLinkBlock( link, text ).


testItalic

public void testItalic()
Checks that the sequence [italic(), text( text ), italic_()], invoked on the current sink, produces the same result as getItalicBlock( text ).


testBold

public void testBold()
Checks that the sequence [bold(), text( text ), bold_()], invoked on the current sink, produces the same result as getBoldBlock( text ).


testMonospaced

public void testMonospaced()
Checks that the sequence [monospaced(), text( text ), monospaced_()], invoked on the current sink, produces the same result as getMonospacedBlock( text ).


testLineBreak

public void testLineBreak()
Checks that the sequence [lineBreak()], invoked on the current sink, produces the same result as getLineBreakBlock().


testNonBreakingSpace

public void testNonBreakingSpace()
Checks that the sequence [nonBreakingSpace()], invoked on the current sink, produces the same result as getNonBreakingSpaceBlock().


testText

public void testText()
Checks that the sequence [text( text )], invoked on the current sink, produces the same result as getTextBlock().


testRawText

public void testRawText()
Checks that the sequence [rawText( text )], invoked on the current sink, produces the same result as getRawTextBlock( text ).


testComment

public void testComment()
Checks that the sequence [comment(comment)], invoked on the current sink, produces the same result as getCommentBlock( comment ).

Since:
1.1.1

getSink

protected Sink getSink()
Returns the sink that is currently being tested.

Returns:
The current test sink.

getSinkContent

protected String getSinkContent()
Returns a String representation of all events that have been written to the sink.

Returns:
The Sink content as a String.

getOutputDir

protected String getOutputDir()
Returns the directory where all sink test output will go.

Specified by:
getOutputDir in class AbstractModuleTest
Returns:
The test output directory.

isXmlSink

protected abstract boolean isXmlSink()
This method allows to use the correct Writer in testTestDocument().

Returns:
true if the Sink is an XML one, false otherwise.
See Also:
testTestDocument()

createSink

protected abstract Sink createSink(Writer writer)
Return a new instance of the sink that is being tested.

Parameters:
writer - The writer for the sink.
Returns:
A new sink.

getTitleBlock

protected abstract String getTitleBlock(String title)
Returns a title block generated by this sink.

Parameters:
title - The title to use.
Returns:
The result of invoking a title block on the current sink.
See Also:
testTitle()

getAuthorBlock

protected abstract String getAuthorBlock(String author)
Returns an author block generated by this sink.

Parameters:
author - The author to use.
Returns:
The result of invoking an author block on the current sink.
See Also:
testAuthor()

getDateBlock

protected abstract String getDateBlock(String date)
Returns a date block generated by this sink.

Parameters:
date - The date to use.
Returns:
The result of invoking a date block on the current sink.
See Also:
testDate()

getHeadBlock

protected abstract String getHeadBlock()
Returns a head block generated by this sink.

Returns:
The result of invoking a head block on the current sink.
See Also:
testHead()

getBodyBlock

protected abstract String getBodyBlock()
Returns a body block generated by this sink.

Returns:
The result of invoking a body block on the current sink.
See Also:
testBody()

getSectionTitleBlock

protected abstract String getSectionTitleBlock(String title)
Returns a SectionTitle block generated by this sink.

Parameters:
title - The title to use.
Returns:
The result of invoking a SectionTitle block on the current sink.
See Also:
testSectionTitle()

getSection1Block

protected abstract String getSection1Block(String title)
Returns a Section1 block generated by this sink.

Parameters:
title - The title to use.
Returns:
The result of invoking a Section1 block on the current sink.
See Also:
testSection1()

getSection2Block

protected abstract String getSection2Block(String title)
Returns a Section2 block generated by this sink.

Parameters:
title - The title to use.
Returns:
The result of invoking a Section2 block on the current sink.
See Also:
testSection2()

getSection3Block

protected abstract String getSection3Block(String title)
Returns a Section3 block generated by this sink.

Parameters:
title - The title to use.
Returns:
The result of invoking a Section3 block on the current sink.
See Also:
testSection3()

getSection4Block

protected abstract String getSection4Block(String title)
Returns a Section4 block generated by this sink.

Parameters:
title - The title to use.
Returns:
The result of invoking a Section4 block on the current sink.
See Also:
testSection4()

getSection5Block

protected abstract String getSection5Block(String title)
Returns a Section5 block generated by this sink.

Parameters:
title - The title to use.
Returns:
The result of invoking a Section5 block on the current sink.
See Also:
testSection5()

getListBlock

protected abstract String getListBlock(String item)
Returns a list block generated by this sink.

Parameters:
item - The item to use.
Returns:
The result of invoking a list block on the current sink.
See Also:
testList()

getNumberedListBlock

protected abstract String getNumberedListBlock(String item)
Returns a NumberedList block generated by this sink.

Parameters:
item - The item to use.
Returns:
The result of invoking a NumberedList block on the current sink.
See Also:
testNumberedList()

getDefinitionListBlock

protected abstract String getDefinitionListBlock(String definum,
                                                 String definition)
Returns a DefinitionList block generated by this sink.

Parameters:
definum - The term to define.
definition - The definition.
Returns:
The result of invoking a DefinitionList block on the current sink.
See Also:
testDefinitionList()

getFigureBlock

protected abstract String getFigureBlock(String source,
                                         String caption)
Returns a Figure block generated by this sink.

Parameters:
source - The figure source string.
caption - The caption to use (may be null).
Returns:
The result of invoking a Figure block on the current sink.
See Also:
testFigure()

getTableBlock

protected abstract String getTableBlock(String cell,
                                        String caption)
Returns a Table block generated by this sink.

Parameters:
cell - A tabel cell to use.
caption - The caption to use (may be null).
Returns:
The result of invoking a Table block on the current sink.
See Also:
testTable()

getParagraphBlock

protected abstract String getParagraphBlock(String text)
Returns a Paragraph block generated by this sink.

Parameters:
text - The text to use.
Returns:
The result of invoking a Paragraph block on the current sink.
See Also:
testParagraph()

getVerbatimBlock

protected abstract String getVerbatimBlock(String text)
Returns a Verbatim block generated by this sink.

Parameters:
text - The text to use.
Returns:
The result of invoking a Verbatim block on the current sink.
See Also:
testVerbatim()

getHorizontalRuleBlock

protected abstract String getHorizontalRuleBlock()
Returns a HorizontalRule block generated by this sink.

Returns:
The result of invoking a HorizontalRule block on the current sink.
See Also:
testHorizontalRule()

getPageBreakBlock

protected abstract String getPageBreakBlock()
Returns a PageBreak block generated by this sink.

Returns:
The result of invoking a PageBreak block on the current sink.
See Also:
testPageBreak()

getAnchorBlock

protected abstract String getAnchorBlock(String anchor)
Returns a Anchor block generated by this sink.

Parameters:
anchor - The anchor to use.
Returns:
The result of invoking a Anchor block on the current sink.
See Also:
testAnchor()

getLinkBlock

protected abstract String getLinkBlock(String link,
                                       String text)
Returns a Link block generated by this sink.

Parameters:
link - The link to use.
text - The link text.
Returns:
The result of invoking a Link block on the current sink.
See Also:
testLink()

getItalicBlock

protected abstract String getItalicBlock(String text)
Returns a Italic block generated by this sink.

Parameters:
text - The text to use.
Returns:
The result of invoking a Italic block on the current sink.
See Also:
testItalic()

getBoldBlock

protected abstract String getBoldBlock(String text)
Returns a Bold block generated by this sink.

Parameters:
text - The text to use.
Returns:
The result of invoking a Bold block on the current sink.
See Also:
testBold()

getMonospacedBlock

protected abstract String getMonospacedBlock(String text)
Returns a Monospaced block generated by this sink.

Parameters:
text - The text to use.
Returns:
The result of invoking a Monospaced block on the current sink.
See Also:
testMonospaced()

getLineBreakBlock

protected abstract String getLineBreakBlock()
Returns a LineBreak block generated by this sink.

Returns:
The result of invoking a LineBreak block on the current sink.
See Also:
testLineBreak()

getNonBreakingSpaceBlock

protected abstract String getNonBreakingSpaceBlock()
Returns a NonBreakingSpace block generated by this sink.

Returns:
The result of invoking a NonBreakingSpace block on the current sink.
See Also:
testNonBreakingSpace()

getTextBlock

protected abstract String getTextBlock(String text)
Returns a Text block generated by this sink.

Parameters:
text - The text to use.
Returns:
The result of invoking a Text block on the current sink.
See Also:
testText()

getRawTextBlock

protected abstract String getRawTextBlock(String text)
Returns a RawText block generated by this sink.

Parameters:
text - The text to use.
Returns:
The result of invoking a RawText block on the current sink.
See Also:
testRawText()

getCommentBlock

protected abstract String getCommentBlock(String text)
Returns a comment block generated by this sink.

Parameters:
text - The text to use.
Returns:
The result of invoking a comment block on the current sink.
Since:
1.1.1
See Also:
testComment()

verifyValignSup

protected final void verifyValignSup(String text)

verifyValignSub

protected final void verifyValignSub(String text)

verifyDecorationUnderline

protected final void verifyDecorationUnderline(String text)

verifyDecorationLineThrough

protected final void verifyDecorationLineThrough(String text)


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.