public class SandboxServiceImplTest extends AbstractWCMServiceImplTest
assetService, authenticationService, avmLockingService, CLEAN, ctx, personService, POLL_DELAY, POLL_MAX_ATTEMPTS, sbService, TEST_RUN, TEST_USER, TEST_WEBPROJ_DEFAULT_WEBAPP, TEST_WEBPROJ_DESCRIPTION, TEST_WEBPROJ_DNS, TEST_WEBPROJ_DONT_USE_AS_TEMPLATE, TEST_WEBPROJ_NAME, TEST_WEBPROJ_TITLE, TEST_WEBPROJ_USE_AS_TEMPLATE, transactionService, USER_ADMIN, USER_FOUR, USER_ONE, USER_THREE, USER_TWO, wpService| Constructor and Description |
|---|
SandboxServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
recursiveList(java.lang.String store) |
protected java.lang.String |
recursiveList(java.lang.String repoName,
int version,
boolean followLinks)
Helper to write a recursive listing of an AVMStore at a given version.
|
protected java.lang.String |
recursiveList(java.lang.String path,
int version,
int indent,
boolean followLinks)
Recursive list the given path.
|
protected void |
setUp() |
protected void |
tearDown() |
void |
testCreateAuthorSandbox() |
void |
testDeleteSandbox() |
void |
testGetSandbox() |
void |
testIsSandboxType() |
void |
testListNewItems1() |
void |
testListNewItems2() |
void |
testListSandboxes() |
void |
testListSnapshots() |
void |
testPseudoScaleTest() |
void |
testRevertSnapshot1() |
void |
testRevertSnapshot2() |
void |
testRevertSnapshotAction() |
void |
testSimple() |
void |
testSubmitAction() |
void |
testSubmitChangedAssets2() |
void |
testSubmitDeletedItems1() |
void |
testSubmitDeletedItemsWithLD() |
void |
testSubmitDeletedItemsWithLF1() |
void |
testSubmitDeletedItemsWithLF2() |
void |
testSubmitNewItems1() |
void |
testSubmitUpdatedItemWithLF() |
void |
testUndo() |
void |
testUndoAction() |
void |
xtestSubmitChangedAssets1() |
createUser, deleteUser, pollForSnapshotCountcountTestCases, createResult, getName, run, run, runBare, 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 setUp()
throws java.lang.Exception
setUp in class AbstractWCMServiceImplTestjava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class AbstractWCMServiceImplTestjava.lang.Exceptionpublic void testSimple()
public void testCreateAuthorSandbox()
public void testListSandboxes()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetSandbox()
public void testIsSandboxType()
public void testDeleteSandbox()
public void testListNewItems1()
public void testListNewItems2()
public void testSubmitNewItems1()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void xtestSubmitChangedAssets1()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testSubmitChangedAssets2()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testSubmitDeletedItems1()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testSubmitDeletedItemsWithLD()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testSubmitUpdatedItemWithLF()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testSubmitDeletedItemsWithLF1()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testSubmitDeletedItemsWithLF2()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testUndo()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testListSnapshots()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testRevertSnapshot1()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testRevertSnapshot2()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testSubmitAction()
throws java.lang.Exception
java.lang.Exceptionpublic void testUndoAction()
throws java.lang.Exception
java.lang.Exceptionpublic void testRevertSnapshotAction()
throws java.lang.Exception
java.lang.Exceptionpublic void testPseudoScaleTest()
protected void recursiveList(java.lang.String store)
protected java.lang.String recursiveList(java.lang.String repoName,
int version,
boolean followLinks)
repoName - The name of the AVMStore.version - The version to look under.protected java.lang.String recursiveList(java.lang.String path,
int version,
int indent,
boolean followLinks)
path - The path.version - The version.indent - The current indent level.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.