org.apache.shindig.social.sample.spi
Class JsonDbOpensocialServiceTest

java.lang.Object
  extended by org.junit.Assert
      extended by org.apache.shindig.social.sample.spi.JsonDbOpensocialServiceTest

public class JsonDbOpensocialServiceTest
extends Assert

Test the JSONOpensocialService


Constructor Summary
JsonDbOpensocialServiceTest()
           
 
Method Summary
 void setUp()
           
 void testDeleteExpectedActivity()
           
 void testDeleteExpectedActivityEntry()
           
 void testDeleteExpectedAppData()
           
 void testGetExpectedActivities()
           
 void testGetExpectedActivitiesForPlural()
           
 void testGetExpectedActivity()
           
 void testGetExpectedActivityEntries()
           
 void testGetExpectedActivityEntriesForPlural()
           
 void testGetExpectedActivityEntry()
           
 void testGetExpectedAppData()
           
 void testGetExpectedAppDataForPlural()
           
 void testGetExpectedFriends()
           
 void testGetExpectedUsersForPlural()
           
 void testGetPersonAllAppData()
           
 void testGetPersonAllFields()
           
 void testGetPersonDefaultFields()
           
 void testGetPersonMultipleAppDataFields()
           
 void testGetPersonOneAppDataField()
           
 void testUpdateExpectedAppData()
           
 void testViewerCanUpdatePerson()
           
 void testViewerNotAllowedUpdatePerson()
           
 
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
 

Constructor Detail

JsonDbOpensocialServiceTest

public JsonDbOpensocialServiceTest()
Method Detail

setUp

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

testGetPersonDefaultFields

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

testGetPersonAllFields

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

testGetPersonAllAppData

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

testGetPersonOneAppDataField

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

testGetPersonMultipleAppDataFields

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

testGetExpectedFriends

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

testGetExpectedUsersForPlural

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

testGetExpectedActivities

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

testGetExpectedActivitiesForPlural

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

testGetExpectedActivity

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

testDeleteExpectedActivity

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

testGetExpectedAppData

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

testGetExpectedAppDataForPlural

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

testDeleteExpectedAppData

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

testUpdateExpectedAppData

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

testGetExpectedActivityEntries

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

testGetExpectedActivityEntriesForPlural

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

testGetExpectedActivityEntry

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

testDeleteExpectedActivityEntry

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

testViewerCanUpdatePerson

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

testViewerNotAllowedUpdatePerson

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


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