ch.hsr.bieridee.test.resources
Class BreweryListResourceTest

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.BreweryListResourceTest

public class BreweryListResourceTest
extends ResourceTest

Tests for the beer consumptions.


Constructor Summary
BreweryListResourceTest()
           
 
Method Summary
 void createBrewery()
          Tests the creation of a new beertype.
 void getAllBreweries()
          Requests all beertypes and checks if the first matches ale beertype.
 void retrieveFilteredBeertypeList()
          Tests the size filter.
 void retrieveLimitedBeertypeList()
          Tests the limited beertypelist.
 void retrieveLimitedFilterdBeertypeList()
          Tests the limited beertypelist.
 void retrievePagedBeertypeList()
          Tests the paged beertypelist.
 void retrievePagedFilterdBeertypeList()
          Tests the paged filtered beertypelist.
 
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

BreweryListResourceTest

public BreweryListResourceTest()
Method Detail

createBrewery

public void createBrewery()
Tests the creation of a new beertype.


getAllBreweries

public void getAllBreweries()
Requests all beertypes and checks if the first matches ale beertype.


retrieveFilteredBeertypeList

public void retrieveFilteredBeertypeList()
Tests the size filter.


retrieveLimitedBeertypeList

public void retrieveLimitedBeertypeList()
Tests the limited beertypelist.


retrieveLimitedFilterdBeertypeList

public void retrieveLimitedFilterdBeertypeList()
Tests the limited beertypelist.


retrievePagedBeertypeList

public void retrievePagedBeertypeList()
Tests the paged beertypelist.


retrievePagedFilterdBeertypeList

public void retrievePagedFilterdBeertypeList()
Tests the paged filtered beertypelist.