public class ITextSinkTestCase extends AbstractModuleTest
iText Sink
Test case.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 and Description |
---|
ITextSinkTestCase() |
Modifier and Type | Method and Description |
---|---|
protected Sink |
createSink(Writer writer) |
protected File |
getGeneratedFile(String prefix,
String suffix)
Convenience method
|
protected String |
getOutputDir() |
protected String |
outputExtension() |
void |
testEmptyAnchor()
Test empty anchor DOXIA-329
|
void |
testGeneratingPDFFromITextXml()
Test PDF generation
|
void |
testModel()
Generate a pdf and a rtf from the standart test model.
|
getBasedirFile, getTestReader, getTestReader, getTestWriter, getTestWriter, getTestWriterFile, getTestWriterFile, getXmlTestWriter, getXmlTestWriter, outputBaseDir
customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setUp, tearDown
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public ITextSinkTestCase()
protected String outputExtension()
outputExtension
in class AbstractModuleTest
protected String getOutputDir()
getOutputDir
in class AbstractModuleTest
protected File getGeneratedFile(String prefix, String suffix)
prefix
- suffix
- protected Sink createSink(Writer writer)
public void testGeneratingPDFFromITextXml() throws Exception
Exception
public void testModel() throws Exception
Exception
- if anypublic void testEmptyAnchor() throws Exception
Exception
- if anyCopyright © 2005–2016 The Apache Software Foundation. All rights reserved.