public class SubscriptionServiceImplTest
extends junit.framework.TestCase
| Modifier and Type | Field and Description |
|---|---|
static org.alfresco.service.namespace.QName |
ASPECT_ARCHIVE |
static java.lang.String[] |
CONTEXTS |
protected org.springframework.context.ApplicationContext |
ctx |
static java.lang.String |
FOLLOWED_NODE_NAME |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected PersonService |
personService |
protected org.alfresco.service.cmr.search.SearchService |
searchService |
protected SubscriptionService |
subscriptionService |
protected TransactionService |
transactionService |
static java.lang.String |
USER_BOB |
static java.lang.String |
USER_LISA |
static java.lang.String |
USER_TOM |
| Constructor and Description |
|---|
SubscriptionServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
createPerson(java.lang.String userId) |
protected void |
deletePerson(java.lang.String userId) |
void |
setUp() |
protected void |
tearDown() |
void |
testDeletePerson() |
void |
testFollow() |
void |
testPrivateList() |
void |
testSubscriptionsRemovalOnArchivingNodesForAlf12358() |
countTestCases, 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, formatpublic static final java.lang.String[] CONTEXTS
public static final java.lang.String USER_BOB
public static final java.lang.String USER_TOM
public static final java.lang.String USER_LISA
public static final java.lang.String FOLLOWED_NODE_NAME
public static final org.alfresco.service.namespace.QName ASPECT_ARCHIVE
protected org.springframework.context.ApplicationContext ctx
protected TransactionService transactionService
protected SubscriptionService subscriptionService
protected PersonService personService
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected org.alfresco.service.cmr.search.SearchService searchService
public void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionprotected void deletePerson(java.lang.String userId)
protected org.alfresco.service.cmr.repository.NodeRef createPerson(java.lang.String userId)
public void testFollow()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeletePerson()
throws java.lang.Exception
java.lang.Exceptionpublic void testPrivateList()
throws java.lang.Exception
java.lang.Exceptionpublic void testSubscriptionsRemovalOnArchivingNodesForAlf12358()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.