public class NodeServiceImplTest extends BaseVersionStoreTest
| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.service.cmr.repository.NodeService |
versionStoreNodeService
version store node service
|
authenticationDAO, authenticationService, contentService, dbNodeService, dictionaryDAO, mlText, MLTEXT_PROP, MULTI_PROP, MULTI_VALUE_1, MULTI_VALUE_2, multiValue, nodeArchiveService, nodeProperties, nodeService, permissionService, PROP_1, PROP_2, PROP_3, rootNodeRef, TEST_ASPECT_QNAME, TEST_ASSOC, TEST_CHILD_ASSOC_1, TEST_CHILD_ASSOC_2, TEST_CONTENT, TEST_NAMESPACE, TEST_TYPE_QNAME, testStoreRef, transactionService, txnHelper, VALUE_1, VALUE_2, VALUE_3, VERSION_PROP_1, VERSION_PROP_2, VERSION_PROP_3, versionableNodes, versionProperties, versionServicesessionFactoryjdbcTemplatetransactionDefinition, transactionManager, transactionStatus| Constructor and Description |
|---|
NodeServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onSetUpInTransaction()
Called during the transaction setup
|
void |
testAddAspect()
Test addAspect
|
void |
testAddChild()
Test addChild
|
void |
testALF1793AddVersionableAspect() |
void |
testCreateAssociation()
Test createAssociation
|
void |
testCreateNode()
Test createNode
|
void |
testDeleteNode()
Test delete node
|
void |
testGetAspects()
Test getAspects
|
void |
testGetAssociationSources()
Test getAssociationSources
|
void |
testGetAssociationTargets()
Test getAssociationTargets
|
void |
testGetChildAssocs()
Test getChildAssocs
|
void |
testGetParentAssocs()
Test getParentAssocs
|
void |
testGetPath()
Test getPath
|
void |
testGetPaths()
Test getPaths
|
void |
testGetPrimaryParent()
Test getPrimaryParent
|
void |
testGetProperties()
Test getProperties
|
void |
testGetProperty()
Test getProperty
|
void |
testGetType()
Test getType
|
void |
testHasAspect()
Test hasAspect
|
void |
testRemoveAspect()
Test removeAspect
|
void |
testRemoveAssociation()
Test removeAssociation
|
void |
testRemoveChild()
Test removeChild
|
void |
testSetProperties()
Test setProperties
|
void |
testSetProperty()
Test setProperty
|
void |
testUnicodeNamesAndProperties()
Tests that we can store and retrieve unicode properties
and association names.
|
checkNewVersion, checkVersion, createNewNode, createNewVersionableNode, createNode, createVersion, createVersion, createVersion, peekNextVersionLabel, setDictionaryDAO, setVersionServiceflushAndClear, getConfigLocations, getSession, loadContext, setSessionFactorycountRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncodingendTransaction, isDefaultRollback, isRollback, onSetUp, onSetUpBeforeTransaction, onTearDown, onTearDownAfterTransaction, onTearDownInTransaction, 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 org.alfresco.service.cmr.repository.NodeService versionStoreNodeService
protected void onSetUpInTransaction()
throws java.lang.Exception
onSetUpInTransaction in class BaseVersionStoreTestjava.lang.Exceptionpublic void testGetType()
public void testGetProperties()
public void testGetProperty()
public void testGetChildAssocs()
public void testGetAssociationTargets()
public void testHasAspect()
public void testGetAspects()
public void testGetParentAssocs()
public void testGetPrimaryParent()
public void testCreateNode()
public void testAddAspect()
public void testRemoveAspect()
public void testDeleteNode()
public void testAddChild()
public void testRemoveChild()
public void testSetProperties()
public void testSetProperty()
public void testCreateAssociation()
public void testRemoveAssociation()
public void testGetAssociationSources()
public void testGetPath()
public void testGetPaths()
public void testUnicodeNamesAndProperties()
public void testALF1793AddVersionableAspect()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.