org.alfresco.repo.web.scripts.site
Class SiteServiceTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.web.scripts.BaseWebScriptTest
org.alfresco.repo.web.scripts.site.SiteServiceTest
- All Implemented Interfaces:
- junit.framework.Test
public class SiteServiceTest
- extends BaseWebScriptTest
Unit test to test site Web Script API of the Site Object.
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 |
SiteServiceTest
public SiteServiceTest()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class BaseWebScriptTest
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
java.lang.Exception
testCreateSite
public void testCreateSite()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSites
public void testGetSites()
throws java.lang.Exception
- Throws:
java.lang.Exception
testQuerySites
public void testQuerySites()
throws java.lang.Exception
- https://issues.alfresco.com/jira/browse/JAWS-456
- Throws:
java.lang.Exception
testGetSite
public void testGetSite()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUpdateSite
public void testUpdateSite()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDeleteSite
public void testDeleteSite()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMemberships
public void testGetMemberships()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPostMemberships
public void testPostMemberships()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMembership
public void testGetMembership()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPutMembership
public void testPutMembership()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGroupMembership
public void testGroupMembership()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDeleteMembership
public void testDeleteMembership()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetPersonSites
public void testGetPersonSites()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetPotentialMemberships
public void testGetPotentialMemberships()
throws java.lang.Exception
- Throws:
java.lang.Exception
- Since:
- 4.0
testSiteCustomProperties
public void testSiteCustomProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvitationSanityCheck
public void testInvitationSanityCheck()
throws java.lang.Exception
- End to end sanity check of web site invitation.
Nominated and Moderated invitations.
- Throws:
java.lang.Exception
testGetInvitation
public void testGetInvitation()
throws java.lang.Exception
- Detailed Test of Get Invitation Web Script
- Throws:
java.lang.Exception
testListInvitation
public void testListInvitation()
throws java.lang.Exception
- Detailed Test of List Invitation Web Script.
- Throws:
java.lang.Exception
testCreateInvitation
public void testCreateInvitation()
throws java.lang.Exception
- Detailed test of Create Invitation Web Script
Create Nominated Invitation
Create Moderated Invitation
- Throws:
java.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.