org.apache.maven.doxia.sink
Class XhtmlBaseSinkTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.doxia.sink.XhtmlBaseSinkTest
All Implemented Interfaces:
junit.framework.Test

public class XhtmlBaseSinkTest
extends junit.framework.TestCase

Test for XhtmlBaseSink.

Since:
1.1
Version:
$Id: XhtmlBaseSinkTest.java 1465348 2013-04-07 09:15:29Z rfscholte $
Author:
ltheussl

Field Summary
protected static String LS
           
 
Constructor Summary
XhtmlBaseSinkTest()
           
 
Method Summary
protected  void setUp()
          Set up the writer.
 void testAnchor()
          Test of anchor method, of class XhtmlBaseSink.
 void testAttributeEntities()
          Test entities in attribute values.
 void testComment()
          Test of comment method, of class XhtmlBaseSink.
 void testDefinitionList()
          Test of definitionList method, of class XhtmlBaseSink.
 void testEntity()
          Test of entity.
 void testFigure()
          Test of figure method, of class XhtmlBaseSink.
 void testFigureGraphics()
          Test of figureGraphics method, of class XhtmlBaseSink.
 void testHorizontalRule()
          Test of horizontalRule method, of class XhtmlBaseSink.
 void testItalic()
          Test of italic/bold/monospaced method, of class XhtmlBaseSink.
 void testLineBreak()
          Test of lineBreak/pageBreak/nonBreakingSpace method, of class XhtmlBaseSink.
 void testLink()
          Test of link method, of class XhtmlBaseSink.
 void testList()
          Test of list method, of class XhtmlBaseSink.
 void testNestedTables()
           
 void testNumberedList()
          Test of numberedList method, of class XhtmlBaseSink.
 void testParagraph()
          Test of paragraph method, of class XhtmlBaseSink.
 void testRawText()
          Test of rawText method, of class XhtmlBaseSink.
 void testSection()
          Test of section method, of class XhtmlBaseSink.
 void testSection1()
          Test of section1 method, of class XhtmlBaseSink.
 void testSection2()
          Test of section2 method, of class XhtmlBaseSink.
 void testSection3()
          Test of section3 method, of class XhtmlBaseSink.
 void testSection4()
          Test of section4 method, of class XhtmlBaseSink.
 void testSection5()
          Test of section5 method, of class XhtmlBaseSink.
 void testSectionAttributes()
          Test of section method, of class XhtmlBaseSink.
 void testSpaceAfterClosingTag()
           
 void testSpecialCharacters()
          Test unicode chracters in tables.
 void testTable()
          Test of table method, of class XhtmlBaseSink.
 void testTableCaption()
          Test of tableCaption method, of class XhtmlBaseSink.
 void testTableCell()
          Test of tableCell method, of class XhtmlBaseSink.
 void testTableHeaderCell()
          Test of tableHeaderCell method, of class XhtmlBaseSink.
 void testTableRow()
          Test of tableRow method, of class XhtmlBaseSink.
 void testTableRows()
          Test of tableRows method, of class XhtmlBaseSink.
 void testText()
          Test of text method, of class XhtmlBaseSink.
 void testUnknown()
          Test of unknown method, of class XhtmlBaseSink.
 void testVerbatim()
          Test of verbatim method, of class XhtmlBaseSink.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 

Field Detail

LS

protected static final String LS
Constructor Detail

XhtmlBaseSinkTest

public XhtmlBaseSinkTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Set up the writer.

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception - if any.

testSpaceAfterClosingTag

public void testSpaceAfterClosingTag()
                              throws Exception
Throws:
Exception

testNestedTables

public void testNestedTables()
                      throws Exception
Throws:
Exception - if any

testSection

public void testSection()
Test of section method, of class XhtmlBaseSink.


testSectionAttributes

public void testSectionAttributes()
Test of section method, of class XhtmlBaseSink.


testSection1

public void testSection1()
Test of section1 method, of class XhtmlBaseSink.


testSection2

public void testSection2()
Test of section2 method, of class XhtmlBaseSink.


testSection3

public void testSection3()
Test of section3 method, of class XhtmlBaseSink.


testSection4

public void testSection4()
Test of section4 method, of class XhtmlBaseSink.


testSection5

public void testSection5()
Test of section5 method, of class XhtmlBaseSink.


testList

public void testList()
              throws Exception
Test of list method, of class XhtmlBaseSink.

Throws:
Exception - if any.

testNumberedList

public void testNumberedList()
Test of numberedList method, of class XhtmlBaseSink.


testDefinitionList

public void testDefinitionList()
Test of definitionList method, of class XhtmlBaseSink.


testFigure

public void testFigure()
Test of figure method, of class XhtmlBaseSink.


testFigureGraphics

public void testFigureGraphics()
Test of figureGraphics method, of class XhtmlBaseSink.


testParagraph

public void testParagraph()
Test of paragraph method, of class XhtmlBaseSink.


testVerbatim

public void testVerbatim()
Test of verbatim method, of class XhtmlBaseSink.


testHorizontalRule

public void testHorizontalRule()
Test of horizontalRule method, of class XhtmlBaseSink.


testTable

public void testTable()
Test of table method, of class XhtmlBaseSink.


testTableRows

public void testTableRows()
Test of tableRows method, of class XhtmlBaseSink.


testTableRow

public void testTableRow()
Test of tableRow method, of class XhtmlBaseSink.


testTableCell

public void testTableCell()
Test of tableCell method, of class XhtmlBaseSink.


testTableHeaderCell

public void testTableHeaderCell()
Test of tableHeaderCell method, of class XhtmlBaseSink.


testTableCaption

public void testTableCaption()
Test of tableCaption method, of class XhtmlBaseSink.


testAnchor

public void testAnchor()
Test of anchor method, of class XhtmlBaseSink.


testLink

public void testLink()
Test of link method, of class XhtmlBaseSink.


testItalic

public void testItalic()
Test of italic/bold/monospaced method, of class XhtmlBaseSink.


testLineBreak

public void testLineBreak()
Test of lineBreak/pageBreak/nonBreakingSpace method, of class XhtmlBaseSink.


testText

public void testText()
Test of text method, of class XhtmlBaseSink.


testRawText

public void testRawText()
Test of rawText method, of class XhtmlBaseSink.


testComment

public void testComment()
Test of comment method, of class XhtmlBaseSink.


testUnknown

public void testUnknown()
Test of unknown method, of class XhtmlBaseSink.


testAttributeEntities

public void testAttributeEntities()
Test entities in attribute values.


testEntity

public void testEntity()
Test of entity.


testSpecialCharacters

public void testSpecialCharacters()
Test unicode chracters in tables. DOXIA-433.



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