public class CalendarServiceImplTest
extends java.lang.Object
CalendarServiceImpl.| Constructor and Description |
|---|
CalendarServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
calendarListingPermissionsChecking()
Checks that the correct permission checking occurs on fetching
calendar listings (which go through canned queries)
|
void |
calendarMultiSiteListing()
Test that we can retrieve (with date filtering) events from
multiple sites
|
void |
calendarSingleSiteListing()
Simplest tests for listing on just one site, with no filtering
|
void |
createNewEntry() |
void |
createUpdateDeleteEntry() |
static void |
deleteClassTestNodesAndUsers() |
void |
deleteTestNodes() |
static void |
initTestsContext() |
void |
newContainerSetup()
Ensures that when we try to write an entry to the
container of a new site, it is correctly setup for us.
|
void |
setAdminUser()
By default, all tests are run as the admin user.
|
void |
tagging() |
void |
testCannedQueryEntityResults()
Ensure that the canned query returns the right entity objects
for the underlying calendar entries.
|
public static void initTestsContext()
throws java.lang.Exception
java.lang.Exceptionpublic void createNewEntry()
throws java.lang.Exception
java.lang.Exceptionpublic void createUpdateDeleteEntry()
throws java.lang.Exception
java.lang.Exceptionpublic void newContainerSetup()
throws java.lang.Exception
java.lang.Exceptionpublic void tagging()
throws java.lang.Exception
java.lang.Exceptionpublic void calendarSingleSiteListing()
throws java.lang.Exception
java.lang.Exceptionpublic void calendarListingPermissionsChecking()
throws java.lang.Exception
java.lang.Exceptionpublic void calendarMultiSiteListing()
throws java.lang.Exception
java.lang.Exceptionpublic void testCannedQueryEntityResults()
throws java.lang.Exception
java.lang.Exceptionpublic void setAdminUser()
public void deleteTestNodes()
throws java.lang.Exception
java.lang.Exceptionpublic static void deleteClassTestNodesAndUsers()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.