public class TextToPdfContentTransformerTest extends AbstractContentTransformerTest
TextToPdfContentTransformerctx, mimetypeService, QUICK_CONTENT, serviceRegistry, transformerDebug| Constructor and Description |
|---|
TextToPdfContentTransformerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
DISABLEDtestUnicodeTextAndEncodings()
Tests that we can produce PDFs from a variety of different
source encodings.
|
protected ContentTransformer |
getTransformer(java.lang.String sourceMimetype,
java.lang.String targetMimetype)
Fetches a transformer to test for a given transformation.
|
void |
setUp()
Ensures that the temp locations are cleaned out before the tests start
|
void |
testLimitedTo1Page() |
void |
testLimitedTo2Pages() |
void |
testLimitedTo50Pages() |
void |
testReliability() |
void |
testUnlimitedPages() |
additionalContentCheck, buildContentReader, getQuickFilenames, isQuickPhraseExpected, isQuickWordsExpected, isTransformationExcluded, loadNamedQuickTestFile, loadQuickTestFile, testAllConversions, testSetUpcountTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, 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, formatpublic void setUp()
throws java.lang.Exception
AbstractContentTransformerTestsetUp in class AbstractContentTransformerTestjava.lang.Exceptionprotected ContentTransformer getTransformer(java.lang.String sourceMimetype, java.lang.String targetMimetype)
AbstractContentTransformerTestgetTransformer in class AbstractContentTransformerTestsourceMimetype - the sourceMimetype to be testedtargetMimetype - the targetMimetype to be testedpublic void testReliability()
throws java.lang.Exception
java.lang.Exceptionpublic void DISABLEDtestUnicodeTextAndEncodings()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnlimitedPages()
throws java.lang.Exception
java.lang.Exceptionpublic void testLimitedTo1Page()
throws java.lang.Exception
java.lang.Exceptionpublic void testLimitedTo2Pages()
throws java.lang.Exception
java.lang.Exceptionpublic void testLimitedTo50Pages()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.