|
|||||||||
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.springframework.test.ConditionalTestCase
org.springframework.test.AbstractSpringContextTests
org.springframework.test.AbstractSingleSpringContextTests
org.springframework.test.AbstractDependencyInjectionSpringContextTests
org.springframework.test.AbstractTransactionalSpringContextTests
org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
org.alfresco.util.BaseSpringTest
org.alfresco.util.BaseAlfrescoSpringTest
org.alfresco.repo.rendition.RenditionServiceIntegrationTest
public class RenditionServiceIntegrationTest
Field Summary |
---|
Fields inherited from class org.alfresco.util.BaseAlfrescoSpringTest |
---|
actionService, authenticationComponent, authenticationService, contentService, nodeService, rootNodeRef, storeRef, transactionService |
Fields inherited from class org.alfresco.util.BaseSpringTest |
---|
sessionFactory |
Fields inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests |
---|
jdbcTemplate |
Fields inherited from class org.springframework.test.AbstractTransactionalSpringContextTests |
---|
transactionDefinition, transactionManager, transactionStatus |
Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests |
---|
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO |
Fields inherited from class org.springframework.test.AbstractSingleSpringContextTests |
---|
applicationContext |
Fields inherited from class org.springframework.test.ConditionalTestCase |
---|
logger |
Constructor Summary | |
---|---|
RenditionServiceIntegrationTest()
|
Method Summary | |
---|---|
void |
off_test_CleanPersistedRenditionsAndCreateExportedACP()
Deprecated. |
protected void |
onSetUpInTransaction()
On setup in transaction override |
protected void |
onTearDownInTransaction()
|
void |
testALF3733()
|
void |
testBuiltinRenditionDefinitions()
This test method ensures that all the 'built-in' renditionDefinitions are available after startup and that their configuration is correct. |
void |
testCompositeReformatAndResizeRendition()
|
void |
testFailedAsynchronousRendition()
|
void |
testGetRenditionsForNode()
|
void |
testJavascriptAPI()
|
void |
testLoadRenderingAction()
This test method saves one RenderingAction to the repository and loads it back up asserting that it is equivalent to the original. |
void |
testPathBasedRenditionOverwrite()
If we're using path based renditions, it's allowed for two source nodes to end up rendering into folder with the same name as each other. |
void |
testReformatImage()
Tests that the ReformatActionExecutor can be used to render images into different formats. |
void |
testRenderCropImage()
This test method used the RenditionService to render a test image (of type PNG) as a cropped image of the same type. |
void |
testRenderDocumentInAnotherFormatInSitu()
This test method uses the RenditionService to render a test document (of type PDF) into a different format (of type plain_text) and place the rendition under the source node. |
void |
testRenderDocumentInAnotherFormatUnderSpecifiedFolder()
This test method used the RenditionService to render a test document (of type PDF) into a different format (of type plain_text) and place the rendition under the specified folder. |
void |
testRenderFreeMarkerTemplate()
|
void |
testRenderFreeMarkerTemplateOneTransaction()
|
void |
testRenderFreemarkerTemplatePath()
|
void |
testRenderPdfDocumentToFlash()
This test method uses the RenditionService to render a test document (of type PDF) into a different format (of type application/x-shockwave-flash). |
void |
testRenderRescaledImage()
This test method used the RenditionService to render a test image (of type PNG) as a rescaled image of the same type. |
void |
testRenderValidContentThenUpdateToInvalidContent()
This test checks that for a node with an existing rendition, that if you update its content with content that cannot be renditioned (thumbnailed), that existing rendition nodes for failed re-renditions are removed. |
void |
testRenditionPlacements()
Using a dummy rendition engine, perform a number of renditions, both single and composite, to check that the renditions always end up as they should do. |
void |
testSaveAndLoadCompositeRenditionDefinition()
|
void |
testSaveRenderingAction()
Checks that the saveRenderingAction Method creates the proper node in the repository. |
void |
testSuccessfulAsynchronousRendition()
|
Methods inherited from class org.alfresco.util.BaseAlfrescoSpringTest |
---|
createNode |
Methods inherited from class org.alfresco.util.BaseSpringTest |
---|
flushAndClear, getConfigLocations, getSession, loadContext, setSessionFactory |
Methods inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests |
---|
countRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncoding |
Methods inherited from class org.springframework.test.AbstractTransactionalSpringContextTests |
---|
endTransaction, isDefaultRollback, isRollback, onSetUp, onSetUpBeforeTransaction, onTearDown, onTearDownAfterTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransaction |
Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests |
---|
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables |
Methods inherited from class org.springframework.test.AbstractSingleSpringContextTests |
---|
contextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown |
Methods inherited from class org.springframework.test.AbstractSpringContextTests |
---|
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty |
Methods inherited from class org.springframework.test.ConditionalTestCase |
---|
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, 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, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RenditionServiceIntegrationTest()
Method Detail |
---|
protected void onSetUpInTransaction() throws java.lang.Exception
BaseAlfrescoSpringTest
onSetUpInTransaction
in class BaseAlfrescoSpringTest
java.lang.Exception
protected void onTearDownInTransaction() throws java.lang.Exception
onTearDownInTransaction
in class BaseAlfrescoSpringTest
java.lang.Exception
public void testRenderFreeMarkerTemplate() throws java.lang.Exception
java.lang.Exception
public void testRenderFreeMarkerTemplateOneTransaction() throws java.lang.Exception
java.lang.Exception
public void testRenderFreemarkerTemplatePath() throws java.lang.Exception
java.lang.Exception
public void testRenderDocumentInAnotherFormatInSitu() throws java.lang.Exception
java.lang.Exception
public void testRenderPdfDocumentToFlash() throws java.lang.Exception
java.lang.Exception
public void testCompositeReformatAndResizeRendition() throws java.lang.Exception
java.lang.Exception
public void testRenderDocumentInAnotherFormatUnderSpecifiedFolder() throws java.lang.Exception
java.lang.Exception
public void testRenderCropImage() throws java.lang.Exception
java.lang.Exception
public void testRenderRescaledImage() throws java.lang.Exception
java.lang.Exception
public void testReformatImage() throws java.lang.Exception
java.lang.Exception
public void testSuccessfulAsynchronousRendition() throws java.lang.Exception
java.lang.Exception
public void testFailedAsynchronousRendition() throws java.lang.Exception
java.lang.Exception
#testSuccessfulAsynchronousRendition()}
public void testGetRenditionsForNode() throws java.lang.Exception
java.lang.Exception
public void testSaveRenderingAction() throws java.lang.Exception
java.lang.Exception
public void off_test_CleanPersistedRenditionsAndCreateExportedACP() throws java.lang.Exception
java.lang.Exception
public void testLoadRenderingAction() throws java.lang.Exception
java.lang.Exception
public void testSaveAndLoadCompositeRenditionDefinition() throws java.lang.Exception
java.lang.Exception
public void testBuiltinRenditionDefinitions() throws java.lang.Exception
java.lang.Exception
public void testRenderValidContentThenUpdateToInvalidContent() throws java.lang.Exception
java.lang.Exception
public void testALF3733() throws java.lang.Exception
java.lang.Exception
public void testPathBasedRenditionOverwrite() throws java.lang.Exception
java.lang.Exception
public void testRenditionPlacements() throws java.lang.Exception
java.lang.Exception
public void testJavascriptAPI() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |