org.apache.shindig.social.opensocial.service
Class ActivityHandlerTest

java.lang.Object
  extended by org.junit.Assert
      extended by org.apache.shindig.common.EasyMockTestCase
          extended by org.apache.shindig.social.opensocial.service.ActivityHandlerTest

public class ActivityHandlerTest
extends EasyMockTestCase


Field Summary
protected  ContainerConfig containerConfig
           
protected  HandlerRegistry registry
           
 
Constructor Summary
ActivityHandlerTest()
           
 
Method Summary
 void setUp()
           
 void testHandleDelete()
           
 void testHandleGetActivityById()
           
 void testHandleGetAll()
           
 void testHandleGetFriends()
           
 void testHandleGetPlural()
           
 void testHandleGetSelf()
           
 void testHandleGetSuportedFields()
           
 void testHandlePost()
           
 void testHandlePut()
           
 
Methods inherited from class org.apache.shindig.common.EasyMockTestCase
mock, mock, mock, mock, replay, replay, reset, reset, verify
 
Methods inherited from class org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registry

protected HandlerRegistry registry

containerConfig

protected ContainerConfig containerConfig
Constructor Detail

ActivityHandlerTest

public ActivityHandlerTest()
Method Detail

setUp

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

testHandleGetAll

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

testHandleGetFriends

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

testHandleGetSelf

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

testHandleGetPlural

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

testHandleGetActivityById

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

testHandlePost

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

testHandlePut

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

testHandleDelete

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

testHandleGetSuportedFields

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


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.