Hi Dimuthu, Sorry for not replying earlier. As I recall, the "GET_whenRequestHeaders_Accept" was to check that an inbound HTTP request with valid Accept header was processed ok, while the "GET_thenRequestHeaders_Accept" was to check that the outbound HTTP response Accept headers were ok.
Meanwhle, the "GET_whenRequestHeaders_Accept_isinvalid_bad" is that an HTTP request with its Accept header set to some invalid value was detected correctly. HTH .... really appreciate you lending a hand with this task. Dan On 12 January 2014 11:00, DImuthu Upeksha <[email protected]>wrote: > Hi Dan, > I started to implement the test cases we were unable to complete earlier. > There is a problem about meanings of some test cases. As an example there > are two test classes > in org.apache.isis.viewer.restfulobjects.tck.homepage.root package > > Get_thenRequestHeaders_Accept_ok.java > Get_whenRequestHeaders_Accept_ok_TODO.java > > I can't distinguish the task of each class. As I understood both test > classes are expected to do same task of testing correct Accept header in > request. Or is there a difference in those test classes? > > And in Get_whenRequestHeaders_Accept_isInvalid_bad_TODO.java > what is to be checked? > > Thanks > Dimuthu > -- > Regards > > W.Dimuthu Upeksha > Undergraduate > Department of Computer Science And Engineering > > University of Moratuwa, Sri Lanka >
