Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28882/NHibernate.Test
Modified Files:
FooBarTest.cs
Log Message:
completed another test because Filter is working better.
Index: FooBarTest.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/FooBarTest.cs,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** FooBarTest.cs 16 Aug 2004 05:15:10 -0000 1.58
--- FooBarTest.cs 19 Aug 2004 18:38:00 -0000 1.59
***************
*** 645,649 ****
[Test]
- [Ignore("ISession.Filter is not working. http://jira.nhibernate.org:8080/browse/NH-80")]
public void CollectionWhere()
{
--- 645,648 ----
***************
*** 668,673 ****
Assert.AreEqual( 1, s.Find("from Baz baz, baz.FooArray foo").Count );
Assert.AreEqual( 2, s.Find("from Foo foo").Count );
! // TODO: filter is not working because QueryKeyCacheFactor is null
! //Assert.AreEqual( 1, s.Filter(baz.FooArray, "").Count );
s.Delete("from Foo foo");
--- 667,671 ----
Assert.AreEqual( 1, s.Find("from Baz baz, baz.FooArray foo").Count );
Assert.AreEqual( 2, s.Find("from Foo foo").Count );
! Assert.AreEqual( 1, s.Filter(baz.FooArray, "").Count );
s.Delete("from Foo foo");
|