From: Sergey K. <jus...@us...> - 2005-05-05 19:28:48
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHSpecificTest/Docs/Associations/BiM21 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21725/src/NHibernate.Test/NHSpecificTest/Docs/Associations/BiM21 Modified Files: Fixture.cs Log Message: * Better SQLite support - only about 20 test cases fail on SQLite, mostly due to bugs in SQLite ADO.NET provider * Modified TestCase to clean up unclosed sessions in TearDown - not completely bullet-proof, since some tests don't call TearDown, but covers a lot of the cases. * Changed sessions.OpenSession() to OpenSession() in all tests * Added Dialect.SupportsSubSelects property for use in tests instead of (dialect is SomeDialect) expressions. Index: Fixture.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHSpecificTest/Docs/Associations/BiM21/Fixture.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Fixture.cs 12 Apr 2005 12:51:13 -0000 1.1 --- Fixture.cs 5 May 2005 19:27:55 -0000 1.2 *************** *** 45,49 **** { ! ISession session = sessions.OpenSession(); Person fred = new Person(); --- 45,49 ---- { ! ISession session = OpenSession(); Person fred = new Person(); *************** *** 67,71 **** public void TestErrorUsage() { ! using( ISession session = sessions.OpenSession() ) { Person fred = new Person(); --- 67,71 ---- public void TestErrorUsage() { ! using( ISession session = OpenSession() ) { Person fred = new Person(); |