|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
NUnit And Active RecordHi All, Having followed the example at at
Castle.ActiveRecord.Framework.Scopes.AbstractThreadScopeInfo.RegisterScope(ISessionScope
scope) at Castle.ActiveRecord.SessionScope..ctor() at AbstractModelTestCase.CreateScope() in
E:\solutions\espiritu\Tests\AbstractModelTestCase.cs:line 41 at AbstractModelTestCase.Init() in
E:\solutions\espiritu\Tests\AbstractModelTestCase.cs:line 18 --TearDown at System.RuntimeMethodHandle._InvokeMethodFast(Object
target, Object[] arguments, SignatureStruct& sig, MethodAttributes
methodAttributes, RuntimeTypeHandle typeOwner) at
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments,
Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr,
Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object
obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo
culture) at
NUnit.Core.TestMethod.doTearDown(TestCaseResult testResult) --TargetInvocationException at AbstractModelTestCase.DisposeScope() in
E:\solutions\espiritu\Tests\AbstractModelTestCase.cs:line 46 at AbstractModelTestCase.Terminate() in
E:\solutions\espiritu\Tests\AbstractModelTestCase.cs:line 24 The error line boils down to : scope = new SessionScope();
(line 18) and scope.Dispose(); (line 46) before any tests are run in set
set and teardown stage. Regards, Ed Wake w:www.remotenewmedia.co.uk e:ed@... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ CastleProject-users mailing list CastleProject-users@... https://lists.sourceforge.net/lists/listinfo/castleproject-users |
|
|
Re: NUnit And Active RecordIs isWeb=true on the configuration? It shouldn't.
On 10/17/06, Ed Wake <ed@...> wrote: > Castle.ActiveRecord.Framework.Scopes.WebThreadScopeInfo.get_CurrentStack() -- Cheers, hammett http://hammett.castleproject.org/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ CastleProject-users mailing list CastleProject-users@... https://lists.sourceforge.net/lists/listinfo/castleproject-users |
|
|
Re: NUnit And Active RecordI remember reading that on a post else where (I'm sure it was yourself with
the same advice), but didn't take it in. That sorted it. Many thanks. Ed -----Original Message----- From: castleproject-users-bounces@... [mailto:castleproject-users-bounces@...] On Behalf Of hammett Sent: 17 October 2006 18:00 To: castleproject-users@... Subject: Re: [Castle-users] NUnit And Active Record Is isWeb=true on the configuration? It shouldn't. On 10/17/06, Ed Wake <ed@...> wrote: > Castle.ActiveRecord.Framework.Scopes.WebThreadScopeInfo.get_CurrentStack() -- Cheers, hammett http://hammett.castleproject.org/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ CastleProject-users mailing list CastleProject-users@... https://lists.sourceforge.net/lists/listinfo/castleproject-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ CastleProject-users mailing list CastleProject-users@... https://lists.sourceforge.net/lists/listinfo/castleproject-users |
| Free Forum Powered by Nabble | Forum Help |