org.apache.maven.doxia.module.xhtml
Class XhtmlSinkWithLanguageIdTest

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
                      extended by org.apache.maven.doxia.module.xhtml.XhtmlSinkTest
                          extended by org.apache.maven.doxia.module.xhtml.XhtmlSinkWithLanguageIdTest
All Implemented Interfaces:
junit.framework.Test, Markup

public class XhtmlSinkWithLanguageIdTest
extends XhtmlSinkTest

Version:
$Id: XhtmlSinkWithLanguageIdTest.java 739565 2009-01-31 14:39:03Z vsiveton $
Author:
Vincent Siveton

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
XhtmlSinkWithLanguageIdTest()
           
 
Method Summary
protected  Sink createSink(Writer writer)
          Return a new instance of the sink that is being tested.
protected  String getHeadBlock()
          Returns a head block generated by this sink.
 
Methods inherited from class org.apache.maven.doxia.module.xhtml.XhtmlSinkTest
getAnchorBlock, getAuthorBlock, getBodyBlock, getBoldBlock, getDateBlock, getDefinitionListBlock, getFigureBlock, getHorizontalRuleBlock, getItalicBlock, getLineBreakBlock, getLinkBlock, getListBlock, getMonospacedBlock, getNonBreakingSpaceBlock, getNumberedListBlock, getPageBreakBlock, getParagraphBlock, getRawTextBlock, getSection1Block, getSection2Block, getSection3Block, getSection4Block, getSection5Block, getSectionTitleBlock, getTableBlock, getTextBlock, getTitleBlock, getVerbatimBlock, isXmlSink, outputExtension, testLinks, testTable
 
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, 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

XhtmlSinkWithLanguageIdTest

public XhtmlSinkWithLanguageIdTest()
Method Detail

createSink

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

Overrides:
createSink in class XhtmlSinkTest
Parameters:
writer - The writer for the sink.
Returns:
A new sink.

getHeadBlock

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

Overrides:
getHeadBlock in class XhtmlSinkTest
Returns:
The result of invoking a head block on the current sink.
See Also:
AbstractSinkTest.testHead()


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