|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.content.transform.AbstractContentTransformerTest
org.alfresco.repo.content.transform.TextToPdfContentTransformerTest
public class TextToPdfContentTransformerTest
TextToPdfContentTransformer| Field Summary |
|---|
| Fields inherited from class org.alfresco.repo.content.transform.AbstractContentTransformerTest |
|---|
ctx, mimetypeService, QUICK_CONTENT, serviceRegistry, transformerDebug |
| Constructor Summary | |
|---|---|
TextToPdfContentTransformerTest()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.alfresco.repo.content.transform.AbstractContentTransformerTest |
|---|
additionalContentCheck, buildContentReader, getQuickFilenames, isQuickPhraseExpected, isQuickWordsExpected, isTransformationExcluded, loadNamedQuickTestFile, loadQuickTestFile, testAllConversions, testSetUp |
| 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 |
| Constructor Detail |
|---|
public TextToPdfContentTransformerTest()
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
AbstractContentTransformerTest
setUp in class AbstractContentTransformerTestjava.lang.Exception
protected ContentTransformer getTransformer(java.lang.String sourceMimetype,
java.lang.String targetMimetype)
AbstractContentTransformerTest
getTransformer in class AbstractContentTransformerTestsourceMimetype - the sourceMimetype to be testedtargetMimetype - the targetMimetype to be tested
public void testReliability()
throws java.lang.Exception
java.lang.Exception
public void DISABLEDtestUnicodeTextAndEncodings()
throws java.lang.Exception
java.lang.Exception
public void testUnlimitedPages()
throws java.lang.Exception
java.lang.Exception
public void testLimitedTo1Page()
throws java.lang.Exception
java.lang.Exception
public void testLimitedTo2Pages()
throws java.lang.Exception
java.lang.Exception
public void testLimitedTo50Pages()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||