public class ExporterComponentTest extends BaseSpringTest
sessionFactoryjdbcTemplatetransactionDefinition, transactionManager, transactionStatusAUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO| Constructor and Description |
|---|
ExporterComponentTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onSetUpInTransaction() |
protected void |
onTearDownInTransaction() |
void |
testExport() |
void |
testRoundTripKeepsCategoriesWhenWithinSameStore()
Round-trip of export then import will result in the imported content having the same categories
assigned to it as for the exported content -- provided the source and destination stores are the same.
|
void |
testRoundTripLosesCategoriesImportingToDifferentStore()
If the source and destination stores are not the same, then a round-trip of export then import
will result in the imported content not having the categories assigned to it that were present
on the exported content.
|
flushAndClear, getConfigLocations, getSession, loadContext, setSessionFactorycountRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncodingendTransaction, isDefaultRollback, isRollback, onSetUp, onSetUpBeforeTransaction, onTearDown, onTearDownAfterTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransactiongetAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariablescontextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDownaddContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirtygetDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBarecountTestCases, createResult, getName, run, run, runTest, setName, 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, formatprotected void onSetUpInTransaction()
throws java.lang.Exception
onSetUpInTransaction in class org.springframework.test.AbstractTransactionalSpringContextTestsjava.lang.Exceptionprotected void onTearDownInTransaction()
throws java.lang.Exception
onTearDownInTransaction in class org.springframework.test.AbstractTransactionalSpringContextTestsjava.lang.Exceptionpublic void testExport()
throws java.lang.Exception
java.lang.Exceptionpublic void testRoundTripKeepsCategoriesWhenWithinSameStore()
throws java.lang.Exception
java.lang.Exceptionpublic void testRoundTripLosesCategoriesImportingToDifferentStore()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.