morgand 02/05/02 16:18:36 Modified: latka/src/distribution/tests/latka-self-test TestLatka.xml Log: added tests for responseHeader cond="false" and cookie cond="false" Revision Changes Path 1.2 +11 -1 jakarta-commons/latka/src/distribution/tests/latka-self-test/TestLatka.xml Index: TestLatka.xml =================================================================== RCS file: /home/cvs/jakarta-commons/latka/src/distribution/tests/latka-self-test/TestLatka.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TestLatka.xml 22 Apr 2002 15:48:34 -0000 1.1 +++ TestLatka.xml 2 May 2002 23:18:36 -0000 1.2 @@ -65,6 +65,9 @@ <responseHeader headerName="Date" label="Date spelling"/> <responseHeader headerName="date" label="date spelling"/> <responseHeader headerName="dATE" label="dATE spelling"/> + + <responseHeader headerName="Scooby Doo" cond="false" + label="make sure fake header does not exist"/> </validate> </request> @@ -93,7 +96,14 @@ <regexp pattern="Cookie path: /"/> <regexp pattern="Cookie domain: localhost"/> <cookie name="foo" value="bar" - label="verify that HttpClient assigned 'foo' cookie to the session"/> + label="verify that HttpClient assigned 'foo' cookie to the session"/> + <cookie name="foo" value="foo" cond="false" + label="verify that cookie 'foo' does not have value 'foo'"/> + + <cookie name="scooby dooby" cond="false" + label="verify that there is not a cookie labeled scooby dooby"/> + <cookie name="scooby dooby" value="shaggy" cond="false" + label="verify that scooby dooby does not have value shaggy"/> </validate> </request>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>