ch.hsr.bieridee.test.resources
Class BeerListResourceTest

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

public class BeerListResourceTest
extends ResourceTest

Tests to test the beerlist resource. (Bonjour Captain Obvious)


Constructor Summary
BeerListResourceTest()
           
 
Method Summary
 void barcodeFilter()
          Test the barcode filtering of the beer list resource.
 void createBeer()
          Tests the creation of a beer via post request.
 void createBeerWithUnknownBreweryAndBeertype()
          Tests the creation of a beer with unknown brewery and beertype.
 void retrieveLimitedBeerList()
          Tests the limited beerlist.
 void retrieveLimitedBeerListWithTagfilter()
          Tests the limited beerlist.
 void retrievePagedBeerlist()
          Tests the beerlist.
 void retrievePagedFilteredBeerlist()
          Tests the paged and filtered beerlist.
 
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

BeerListResourceTest

public BeerListResourceTest()
Method Detail

createBeer

public void createBeer()
Tests the creation of a beer via post request.


createBeerWithUnknownBreweryAndBeertype

public void createBeerWithUnknownBreweryAndBeertype()
Tests the creation of a beer with unknown brewery and beertype.


retrieveLimitedBeerList

public void retrieveLimitedBeerList()
Tests the limited beerlist.


retrieveLimitedBeerListWithTagfilter

public void retrieveLimitedBeerListWithTagfilter()
Tests the limited beerlist.


barcodeFilter

public void barcodeFilter()
Test the barcode filtering of the beer list resource.


retrievePagedBeerlist

public void retrievePagedBeerlist()
Tests the beerlist.


retrievePagedFilteredBeerlist

public void retrievePagedFilteredBeerlist()
Tests the paged and filtered beerlist.