Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Web.Tests/Objects/Factory/Support
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv23167/test/Spring/Spring.Web.Tests/Objects/Factory/Support
Modified Files:
WebObjectDefinitionFactoryTests.cs WebObjectFactoryTests.cs
Log Message:
fixed SPRNET-872
Index: WebObjectDefinitionFactoryTests.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Web.Tests/Objects/Factory/Support/WebObjectDefinitionFactoryTests.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** WebObjectDefinitionFactoryTests.cs 27 Jan 2008 23:29:55 -0000 1.3
--- WebObjectDefinitionFactoryTests.cs 14 Mar 2008 12:02:45 -0000 1.4
***************
*** 22,29 ****
using System;
- using System.Web;
using NUnit.Framework;
using NUnitAspEx;
! using Spring.Objects.Factory.Config;
#endregion
--- 22,28 ----
using System;
using NUnit.Framework;
using NUnitAspEx;
! using Spring.TestSupport;
#endregion
Index: WebObjectFactoryTests.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Web.Tests/Objects/Factory/Support/WebObjectFactoryTests.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** WebObjectFactoryTests.cs 16 Dec 2007 12:43:56 -0000 1.4
--- WebObjectFactoryTests.cs 14 Mar 2008 12:02:45 -0000 1.5
***************
*** 25,29 ****
using Spring.Objects.Factory.Config;
using Spring.TestSupport;
- using Spring.Web.TestSupport;
#endregion
--- 25,28 ----
***************
*** 47,51 ****
// we need to create WOF within a valid HttpContext environment 'cause we will
// make use of 'request' and 'session' scope.
! using (new VirtualEnvironmentMock("/somedir/some.file", "/", true))
{
wof = new WebObjectFactory("/somedir/", false);
--- 46,50 ----
// we need to create WOF within a valid HttpContext environment 'cause we will
// make use of 'request' and 'session' scope.
! using (new VirtualEnvironmentMock("/somedir/some.file", null, "/", true))
{
wof = new WebObjectFactory("/somedir/", false);
|