public class SiteServiceImplTest extends BaseAlfrescoSpringTest
actionService, authenticationService, contentService, rootNodeRef, storeRef, transactionServicesessionFactoryjdbcTemplatetransactionDefinition, transactionManager, transactionStatusAUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO| Constructor and Description |
|---|
SiteServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onSetUpInTransaction()
Called during the transaction setup
|
protected void |
onTearDownInTransaction() |
void |
testALF_1017_nonSitesInSitesSpace()
ALF-1017 - Non sites in the Sites Space container shouldn't
break the listing methods
|
void |
testALF_3200()
ALF-3200
You shouldn't be able to rename a Site using the normal node service
type operations, because the relationship between a site and its
authorities is based on a pattern that uses the site name.
|
void |
testALF_5556() |
void |
testALF8036_PermissionsAfterCopyingFolderBetweenSites() |
void |
testALFCOM_3109()
Create a site with a USER manager.
|
void |
testALFCOM_3111()
Create a site with a USER manager.
|
void |
testConfigurableSitePublicGroup()
This method tests https://issues.alfresco.com/jira/browse/ALF-3785 which allows 'public' sites
to be only visible to members of a configured group, by default EVERYONE.
|
void |
testContainer() |
void |
testCreateSite()
This test method ensures that public sites can be created and that their site info is correct.
|
void |
testCustomSiteProperties() |
void |
testCustomSiteType()
Creates a site with a custom type, and ensures that
it behaves correctly.
|
void |
testDeleteSite_DoesNotExist() |
void |
testDeleteSite_ViaNodeService() |
void |
testDeleteSite() |
void |
testETHREEOH_1268()
Create a private site.
|
void |
testETHREEOH_15()
This method tests that admin and system users can set site membership for a site of which they are not SiteManagers.
|
void |
testETHREEOH_2133()
Test for duplicate site exception where the duplicate is a private site.
|
void |
testfindSitesWithWildcardTitles()
This test method ensures that searches with wildcards work as they should
|
void |
testGetSite() |
void |
testGroupMembership() |
void |
testIsPublic() |
void |
testJoinLeave() |
void |
testJSAPI() |
void |
testListMembersInfo() |
void |
testListSites()
Test listSite and findSites methods.
|
void |
testMembership() |
void |
testNonDefaultPublicGroupPermissions()
ALF-10343 - When the default public group for sites isn't EVERYBODY,
check that creating and altering sites results in the correct permissions
|
void |
testPermissionsAfterMovingFolderBetweenSites() |
void |
testRenameSite() |
void |
testSiteGetRoles() |
void |
testSiteVisibility()
Tests the visibility of a site
See https://issues.alfresco.com/jira/browse/JAWS-291
|
void |
testUpdateSite() |
createNodeflushAndClear, 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 BaseAlfrescoSpringTestjava.lang.Exceptionprotected void onTearDownInTransaction()
throws java.lang.Exception
onTearDownInTransaction in class BaseAlfrescoSpringTestjava.lang.Exceptionpublic void testCreateSite()
throws java.lang.Exception
java.lang.Exceptionpublic void testETHREEOH_2133()
throws java.lang.Exception
java.lang.Exceptionpublic void testConfigurableSitePublicGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testETHREEOH_15()
throws java.lang.Exception
java.lang.Exceptionpublic void testListSites()
throws java.lang.Exception
SiteService#findSites(String, int) offers eventually consistent results and therefore may
exhibit changed behaviour if Lucene is switched off or is replaced by SOLR.
SiteService.listSites(List, List, org.alfresco.query.PagingRequest) and the other listSites methods
should offer consistent, accurate result sets.java.lang.Exceptionpublic void testfindSitesWithWildcardTitles()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetSite()
public void testUpdateSite()
public void testDeleteSite_DoesNotExist()
public void testDeleteSite_ViaNodeService()
public void testDeleteSite()
public void testIsPublic()
public void testMembership()
public void testJoinLeave()
public void testContainer()
public void testSiteGetRoles()
public void testCustomSiteProperties()
public void testCustomSiteType()
public void testGroupMembership()
public void testSiteVisibility()
public void testNonDefaultPublicGroupPermissions()
throws java.lang.Exception
java.lang.Exceptionpublic void testALFCOM_3109()
public void testALFCOM_3111()
public void testETHREEOH_1268()
public void testALF_3200()
throws java.lang.Exception
java.lang.Exceptionpublic void testALF_5556()
throws java.lang.Exception
java.lang.Exceptionpublic void testALF8036_PermissionsAfterCopyingFolderBetweenSites()
throws java.lang.Exception
java.lang.Exceptionpublic void testALF_1017_nonSitesInSitesSpace()
throws java.lang.Exception
java.lang.Exceptionpublic void testRenameSite()
public void testPermissionsAfterMovingFolderBetweenSites()
throws java.lang.Exception
java.lang.Exceptionpublic void testJSAPI()
throws java.lang.Exception
java.lang.Exceptionpublic void testListMembersInfo()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.