Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.NHibernate.Tests/Data/NHibernate/Support
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv17466/test/Spring/Spring.Data.NHibernate.Tests/Data/NHibernate/Support
Modified Files:
SessionScopeTests.cs
Log Message:
SPRNET-794 - complete rework of Control interception
minor fixes to SpringAir demo
switched DynamicField implementation to using net-2.0's DynamicMethod technique
Index: SessionScopeTests.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.NHibernate.Tests/Data/NHibernate/Support/SessionScopeTests.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** SessionScopeTests.cs 24 Apr 2008 21:32:07 -0000 1.4
--- SessionScopeTests.cs 13 May 2008 14:22:47 -0000 1.5
***************
*** 288,296 ****
{
TestSessionScopeSettings sss =
! (TestSessionScopeSettings) repository.PartialMock(typeof (TestSessionScopeSettings), expectedSessionFactory);
ISession expectedSession = (ISession)repository.CreateMock(typeof(ISession));
sss.DefaultFlushMode = FlushMode.Never;
! SessionScope sc = new SessionScope( sss, false );
using (repository.Ordered())
--- 288,296 ----
{
TestSessionScopeSettings sss =
! (TestSessionScopeSettings)repository.PartialMock(typeof(TestSessionScopeSettings), expectedSessionFactory);
ISession expectedSession = (ISession)repository.CreateMock(typeof(ISession));
sss.DefaultFlushMode = FlushMode.Never;
! SessionScope sc = new SessionScope(sss, false);
using (repository.Ordered())
***************
*** 320,323 ****
repository.VerifyAll();
}
! }
}
\ No newline at end of file
--- 320,324 ----
repository.VerifyAll();
}
!
! }
}
\ No newline at end of file
|