org.alfresco.repo.subscriptions
Class SubscriptionServiceImplTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.subscriptions.SubscriptionServiceImplTest
All Implemented Interfaces:
junit.framework.Test

public class SubscriptionServiceImplTest
extends junit.framework.TestCase


Field Summary
protected  org.springframework.context.ApplicationContext ctx
           
protected  PersonService personService
           
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 Summary
SubscriptionServiceImplTest()
           
 
Method Summary
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()
           
 
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
 

Field Detail

USER_BOB

public static final java.lang.String USER_BOB
See Also:
Constant Field Values

USER_TOM

public static final java.lang.String USER_TOM
See Also:
Constant Field Values

USER_LISA

public static final java.lang.String USER_LISA
See Also:
Constant Field Values

ctx

protected org.springframework.context.ApplicationContext ctx

transactionService

protected TransactionService transactionService

subscriptionService

protected SubscriptionService subscriptionService

personService

protected PersonService personService
Constructor Detail

SubscriptionServiceImplTest

public SubscriptionServiceImplTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

deletePerson

protected void deletePerson(java.lang.String userId)

createPerson

protected org.alfresco.service.cmr.repository.NodeRef createPerson(java.lang.String userId)

testFollow

public void testFollow()
                throws java.lang.Exception
Throws:
java.lang.Exception

testDeletePerson

public void testDeletePerson()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testPrivateList

public void testPrivateList()
                     throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.