Re: WOUnitTest and context().request().requestHandlerKey()
Re: WOUnitTest and context().request().requestHandlerKey()
- Subject: Re: WOUnitTest and context().request().requestHandlerKey()
- From: Kaj Hejer <email@hidden>
- Date: Sun, 1 Aug 2004 13:19:41 +0200
At 13:09 +0200 01-08-04, Kaj Hejer wrote:
Hi!
In WO5.1 we did the following
WORequest aRequest = new WORequest(
"GET", "/cgi-bin/medark.woa/wa/ShowKasus.wo?kasus=11&arkiv=1",
"HTTP/1.1", null, null, null);
DirectAction aDirectAction = new DirectAction(aRequest);
KasusPage aKasusPage = (KasusPage) aDirectAction.showKasusAction();
//added for WO5.2 to make sure context().page() is set
aKasusPage.generateResponse();
and now as it looks from our old tests (this is a project I havn't
touched for about a year) that
context().request().requestHandlerKey()
was set.
When running WO5.2.3 and WOUnitTest_r7 on osx 10.3.4 with java 1.4.2
context().request().requestHandlerKey() is null.
Any ideas how to make sure that
context().request().requestHandlerKey() is set?
TIA!
My previous email was sent a bit early! Sorry!
Please just delete my previous message!
-Kaj :)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.