org.alfresco.repo.subscriptions
Class SubscriptionServiceActivitiesTest

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

public class SubscriptionServiceActivitiesTest
extends junit.framework.TestCase


Field Summary
protected  org.springframework.context.ApplicationContext ctx
           
protected  FeedGenerator feedGenerator
           
protected  PersonService personService
           
protected  PostLookup postLookup
           
protected  SubscriptionService subscriptionService
           
protected static java.lang.String TEST_TEMPLATES_LOCATION
           
 
Constructor Summary
SubscriptionServiceActivitiesTest()
           
 
Method Summary
protected  org.alfresco.service.cmr.repository.NodeRef createPerson(java.lang.String userId)
           
protected  void deletePerson(java.lang.String userId)
           
protected  void generateFeed()
           
 void setUp()
           
 void testFollowingActivity()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

TEST_TEMPLATES_LOCATION

protected static final java.lang.String TEST_TEMPLATES_LOCATION
See Also:
Constant Field Values

ctx

protected org.springframework.context.ApplicationContext ctx

subscriptionService

protected SubscriptionService subscriptionService

personService

protected PersonService personService

postLookup

protected PostLookup postLookup

feedGenerator

protected FeedGenerator feedGenerator
Constructor Detail

SubscriptionServiceActivitiesTest

public SubscriptionServiceActivitiesTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp 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)

generateFeed

protected void generateFeed()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testFollowingActivity

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


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