|
|||||||||
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.alfresco.repo.web.scripts.BaseWebScriptTest
org.alfresco.repo.web.scripts.calendar.CalendarRestApiTest
public class CalendarRestApiTest
Unit Test to test the Calendaring Web Script API
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.alfresco.repo.web.scripts.BaseWebScriptTest |
---|
BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener |
Constructor Summary | |
---|---|
CalendarRestApiTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testCreateEditDeleteEntry()
Creating, editing, fetching and deleting an entry |
void |
testDifferentDateStyles()
Checks that we can work with old style two part date times, ISO8601 datetimes with offsets, and ISO8601 datetimes with an explicit timezone. |
void |
testOverallListing()
Listing |
void |
testPermissions()
When fetching an event, we get permission details. |
void |
testRepeatingEventsInListings()
Repeating events support, across both the site specific and user wide listings. |
void |
testUserListing()
Listing for a user |
Methods inherited from class org.alfresco.repo.web.scripts.BaseWebScriptTest |
---|
getDefaultRunAs, getRemoteServer, getServer, isLogEnabled, log, sendLocalRequest, sendRemoteRequest, sendRequest, sendRequest, setCustomContext, setDefaultRunAs, setListener, setRemoteServer, setTraceReqRes |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, 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 CalendarRestApiTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class BaseWebScriptTest
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testCreateEditDeleteEntry() throws java.lang.Exception
java.lang.Exception
public void testPermissions() throws java.lang.Exception
java.lang.Exception
public void testDifferentDateStyles() throws java.lang.Exception
java.lang.Exception
public void testOverallListing() throws java.lang.Exception
java.lang.Exception
public void testUserListing() throws java.lang.Exception
java.lang.Exception
public void testRepeatingEventsInListings() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |