org.alfresco.wcm.sandbox
Class SandboxServiceImplTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.alfresco.wcm.AbstractWCMServiceImplTest
org.alfresco.wcm.sandbox.SandboxServiceImplTest
- All Implemented Interfaces:
- junit.framework.Test
public class SandboxServiceImplTest
- extends AbstractWCMServiceImplTest
Sandbox Service implementation unit test
Fields inherited from class org.alfresco.wcm.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 |
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 |
SandboxServiceImplTest
public SandboxServiceImplTest()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class AbstractWCMServiceImplTest
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class AbstractWCMServiceImplTest
- Throws:
java.lang.Exception
testSimple
public void testSimple()
testCreateAuthorSandbox
public void testCreateAuthorSandbox()
testListSandboxes
public void testListSandboxes()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSandbox
public void testGetSandbox()
testIsSandboxType
public void testIsSandboxType()
testDeleteSandbox
public void testDeleteSandbox()
testListNewItems1
public void testListNewItems1()
testListNewItems2
public void testListNewItems2()
testSubmitNewItems1
public void testSubmitNewItems1()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
xtestSubmitChangedAssets1
public void xtestSubmitChangedAssets1()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testSubmitChangedAssets2
public void testSubmitChangedAssets2()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testSubmitDeletedItems1
public void testSubmitDeletedItems1()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testSubmitDeletedItemsWithLD
public void testSubmitDeletedItemsWithLD()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testSubmitUpdatedItemWithLF
public void testSubmitUpdatedItemWithLF()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testSubmitDeletedItemsWithLF1
public void testSubmitDeletedItemsWithLF1()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testSubmitDeletedItemsWithLF2
public void testSubmitDeletedItemsWithLF2()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testUndo
public void testUndo()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testListSnapshots
public void testListSnapshots()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testRevertSnapshot1
public void testRevertSnapshot1()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testRevertSnapshot2
public void testRevertSnapshot2()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
testSubmitAction
public void testSubmitAction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUndoAction
public void testUndoAction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRevertSnapshotAction
public void testRevertSnapshotAction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPseudoScaleTest
public void testPseudoScaleTest()
recursiveList
protected void recursiveList(java.lang.String store)
recursiveList
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.
- Parameters:
repoName
- The name of the AVMStore.version
- The version to look under.
recursiveList
protected java.lang.String recursiveList(java.lang.String path,
int version,
int indent,
boolean followLinks)
- Recursive list the given path.
- Parameters:
path
- The path.version
- The version.indent
- The current indent level.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.