org.apache.shindig.social.dataservice.integration
Class RestfulJsonActivityEntryTest
java.lang.Object
org.junit.Assert
org.apache.shindig.common.EasyMockTestCase
org.apache.shindig.social.dataservice.integration.AbstractLargeRestfulTests
org.apache.shindig.social.dataservice.integration.RestfulJsonActivityEntryTest
public class RestfulJsonActivityEntryTest
- extends AbstractLargeRestfulTests
Tests the ActivityStreams REST API by comparing test fixtures to actual
server responses.
TODO: naming consistency with activity & activityEntry
TODO: test server errors with invalid requests e.g. "400 Activity not found: objectXYZ"
| Methods inherited from class org.apache.shindig.social.dataservice.integration.AbstractLargeRestfulTests |
abstractLargeRestfulBefore, childNodesToMap, childNodesToMapofMap, childNodesToNodeMap, getJson, getResponse, getResponse, getResponse, getResponse, getResponse, getServlet, parseXmlContent, setResponse, setServlet |
| 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 |
RestfulJsonActivityEntryTest
public RestfulJsonActivityEntryTest()
testGetActivityEntryJsonById
public void testGetActivityEntryJsonById()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetActivityEntryJsonByIds
public void testGetActivityEntryJsonByIds()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetActivityEntryJsonByGroup
public void testGetActivityEntryJsonByGroup()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDeleteActivityEntryJson
public void testDeleteActivityEntryJson()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUpdateActivityEntryJson
public void testUpdateActivityEntryJson()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateActivityEntryJson
public void testCreateActivityEntryJson()
throws java.lang.Exception
- Throws:
java.lang.Exception
testActivityEntryExtensionJson
public void testActivityEntryExtensionJson()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetActivityEntrySupportedFields
public void testGetActivityEntrySupportedFields()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.