public class TemporaryNodesTest
extends java.lang.Object
TemporaryNodes.| Modifier and Type | Field and Description |
|---|---|
static ApplicationContextInit |
APP_CONTEXT_INIT |
static org.junit.rules.RuleChain |
ruleChain |
RunAsFullyAuthenticatedRule |
runAsRule |
static TemporaryNodes |
STATIC_TEST_NODES |
static AlfrescoPerson |
TEST_USER1 |
static AlfrescoPerson |
TEST_USER2 |
TemporaryNodes |
testNodes |
| Constructor and Description |
|---|
TemporaryNodesTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
createTestContent() |
void |
ensureCheckedOutNodesAreCleanedUp() |
void |
ensureSiteNodesAreCleanedUp()
Site nodes are a special case as they can only be deleted through the SiteService.
|
void |
ensureTestNodesWereCreatedOk() |
static void |
initStaticData() |
public static ApplicationContextInit APP_CONTEXT_INIT
public static AlfrescoPerson TEST_USER1
public static AlfrescoPerson TEST_USER2
public static TemporaryNodes STATIC_TEST_NODES
public static org.junit.rules.RuleChain ruleChain
public TemporaryNodes testNodes
public RunAsFullyAuthenticatedRule runAsRule
public static void initStaticData()
throws java.lang.Exception
java.lang.Exceptionpublic void createTestContent()
public void ensureTestNodesWereCreatedOk()
throws java.lang.Exception
java.lang.Exceptionpublic void ensureCheckedOutNodesAreCleanedUp()
throws java.lang.Throwable
java.lang.Throwablepublic void ensureSiteNodesAreCleanedUp()
throws java.lang.Throwable
java.lang.ThrowableCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.