ch.hsr.bieridee.test.resources
Class TimelineResourceTest

java.lang.Object
  extended by ch.hsr.bieridee.test.ServerTest
      extended by ch.hsr.bieridee.test.resources.ResourceTest
          extended by ch.hsr.bieridee.test.resources.TimelineResourceTest

public class TimelineResourceTest
extends ResourceTest

Tests the timeline resource.


Constructor Summary
TimelineResourceTest()
           
 
Method Summary
 void retrieveFilteredTimeline()
          Tests the timeline filter by user function.
 void retrieveLimitedFilteredTimeline()
          Tests the timeline item limitation.
 void retrieveLimitedTimeline()
          Tests the timeline item limitation.
 void retrievePagedFilteredTimeline()
          Tests the paged timeline.
 void retrievePagedTimeline()
          Tests the paged timeline.
 void retrieveTimeline()
          Tests the retrieval of the timeline.
 void retrieveTimelineWithNonExistingUser()
          Tests whether a HTTP 404 error occcurs, if an non existing user is provided as filter argument.
 
Methods inherited from class ch.hsr.bieridee.test.ServerTest
shutdownDB, startResletAPI
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimelineResourceTest

public TimelineResourceTest()
Method Detail

retrieveTimeline

public void retrieveTimeline()
Tests the retrieval of the timeline.


retrieveFilteredTimeline

public void retrieveFilteredTimeline()
Tests the timeline filter by user function.


retrieveLimitedTimeline

public void retrieveLimitedTimeline()
Tests the timeline item limitation.


retrieveLimitedFilteredTimeline

public void retrieveLimitedFilteredTimeline()
Tests the timeline item limitation.


retrievePagedTimeline

public void retrievePagedTimeline()
Tests the paged timeline.


retrievePagedFilteredTimeline

public void retrievePagedFilteredTimeline()
Tests the paged timeline.


retrieveTimelineWithNonExistingUser

public void retrieveTimelineWithNonExistingUser()
Tests whether a HTTP 404 error occcurs, if an non existing user is provided as filter argument.