From: Paul H. <pha...@us...> - 2005-03-06 12:45:22
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/CacheTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21577/nhibernate/src/NHibernate.Test/CacheTest Modified Files: CacheFixture.cs Log Message: Refactored SessionImpl as per 2.1 for Save/Update Index: CacheFixture.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/CacheTest/CacheFixture.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CacheFixture.cs 1 Mar 2005 16:24:41 -0000 1.4 --- CacheFixture.cs 6 Mar 2005 12:44:33 -0000 1.5 *************** *** 45,49 **** // update it; ! ccs.Lock("foo"); Assert.IsNull( ccs.Get("foo", after) ); --- 45,49 ---- // update it; ! ccs.Lock("foo", null); Assert.IsNull( ccs.Get("foo", after) ); *************** *** 82,87 **** // update it again, with multiple locks ! ccs.Lock("foo"); ! ccs.Lock("foo"); Assert.IsNull( ccs.Get("foo", longLongAfter) ); --- 82,87 ---- // update it again, with multiple locks ! ccs.Lock("foo", null); ! ccs.Lock("foo", null); Assert.IsNull( ccs.Get("foo", longLongAfter) ); |