Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Web.Tests/TestSupport
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv3960/test/Spring/Spring.Web.Tests/TestSupport
Modified Files:
TestWebContext.cs
Log Message:
fixed SPRNET-838
Index: TestWebContext.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Web.Tests/TestSupport/TestWebContext.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TestWebContext.cs 21 Jan 2008 07:04:46 -0000 1.3
--- TestWebContext.cs 27 Jan 2008 23:29:55 -0000 1.4
***************
*** 44,48 ****
_out = new StringWriter();
HttpWorkerRequest wr;
! if (Thread.GetDomain().GetData(".appPath") != null)
{
wr = new SimpleWorkerRequest(page, string.Empty, _out);
--- 44,49 ----
_out = new StringWriter();
HttpWorkerRequest wr;
! object appPath = Thread.GetDomain().GetData(".appPath");
! if (appPath != null)
{
wr = new SimpleWorkerRequest(page, string.Empty, _out);
|