From: Sergey K. <jus...@us...> - 2005-03-26 14:11:03
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28028/src/NHibernate.Test Modified Files: ABCProxyTest.cs FooBarTest.cs Log Message: Fixed messed up formatting Index: FooBarTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/FooBarTest.cs,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** FooBarTest.cs 26 Mar 2005 13:24:35 -0000 1.87 --- FooBarTest.cs 26 Mar 2005 14:10:51 -0000 1.88 *************** *** 17,39 **** { ExportSchema(new string[] { ! "FooBar.hbm.xml", ! "Baz.hbm.xml", ! "Qux.hbm.xml", ! "Glarch.hbm.xml", ! "Fum.hbm.xml", ! "Fumm.hbm.xml", ! "Fo.hbm.xml", ! "One.hbm.xml", ! "Many.hbm.xml", ! "Immutable.hbm.xml" , ! "Fee.hbm.xml", ! "Vetoer.hbm.xml", ! "Holder.hbm.xml", ! "Location.hbm.xml", ! "Stuff.hbm.xml", ! "Container.hbm.xml", ! "Simple.hbm.xml", ! "XY.hbm.xml" ! }, true); } --- 17,39 ---- { ExportSchema(new string[] { ! "FooBar.hbm.xml", ! "Baz.hbm.xml", ! "Qux.hbm.xml", ! "Glarch.hbm.xml", ! "Fum.hbm.xml", ! "Fumm.hbm.xml", ! "Fo.hbm.xml", ! "One.hbm.xml", ! "Many.hbm.xml", ! "Immutable.hbm.xml" , ! "Fee.hbm.xml", ! "Vetoer.hbm.xml", ! "Holder.hbm.xml", ! "Location.hbm.xml", ! "Stuff.hbm.xml", ! "Container.hbm.xml", ! "Simple.hbm.xml", ! "XY.hbm.xml" ! }, true); } *************** *** 816,820 **** [Test] ! //[Ignore("TimeZone Portions commented out - http://jira.nhibernate.org:8080/browse/NH-88")] public void AssociationId() { --- 816,820 ---- [Test] ! //[Ignore("TimeZone Portions commented out - http://jira.nhibernate.org:8080/browse/NH-88")] public void AssociationId() { *************** *** 968,972 **** { ISession s = sessions.OpenSession(); ! // ITransaction t = s.BeginTransaction(); Foo[] foos = new Foo[] { null, new Foo() }; s.Save(foos[1]); --- 968,972 ---- { ISession s = sessions.OpenSession(); ! // ITransaction t = s.BeginTransaction(); Foo[] foos = new Foo[] { null, new Foo() }; s.Save(foos[1]); *************** *** 1071,1075 **** s.Delete(baz2); s.Delete(foos[1]); ! // t.Commit(); s.Close(); --- 1071,1075 ---- s.Delete(baz2); s.Delete(foos[1]); ! // t.Commit(); s.Close(); *************** *** 1202,1207 **** //if( !(dialect is Dialect.SAPDBDialect) ) //{ ! list = s.Find("select distinct foo from baz in class NHibernate.DomainModel.Baz, foo in baz.FooArray.elements"); ! Assert.AreEqual( 2, list.Count, "collection.elements find" ); //} --- 1202,1207 ---- //if( !(dialect is Dialect.SAPDBDialect) ) //{ ! list = s.Find("select distinct foo from baz in class NHibernate.DomainModel.Baz, foo in baz.FooArray.elements"); ! Assert.AreEqual( 2, list.Count, "collection.elements find" ); //} *************** *** 1786,1793 **** s.Find( "select foo.TheFoo.TheFoo.TheFoo.String from foo in class Foo where foo.TheFoo.TheFoo = 'bar'" ); s.Find( "select foo.TheFoo.TheFoo.String from foo in class Foo where foo.TheFoo.TheFoo.TheFoo.String = 'bar'" ); ! // if( !( dialect is Dialect.HSQLDialect ) ) ! // { s.Find( "select foo.String from foo in class Foo where foo.TheFoo.TheFoo.TheFoo = foo.TheFoo.TheFoo" ); ! // } s.Find( "select foo.String from foo in class Foo where foo.TheFoo.TheFoo = 'bar' and foo.TheFoo.TheFoo.TheFoo = 'baz'" ); s.Find( "select foo.String from foo in class Foo where foo.TheFoo.TheFoo.TheFoo.String = 'a' and foo.TheFoo.String = 'b'" ); --- 1786,1793 ---- s.Find( "select foo.TheFoo.TheFoo.TheFoo.String from foo in class Foo where foo.TheFoo.TheFoo = 'bar'" ); s.Find( "select foo.TheFoo.TheFoo.String from foo in class Foo where foo.TheFoo.TheFoo.TheFoo.String = 'bar'" ); ! // if( !( dialect is Dialect.HSQLDialect ) ) ! // { s.Find( "select foo.String from foo in class Foo where foo.TheFoo.TheFoo.TheFoo = foo.TheFoo.TheFoo" ); ! // } s.Find( "select foo.String from foo in class Foo where foo.TheFoo.TheFoo = 'bar' and foo.TheFoo.TheFoo.TheFoo = 'baz'" ); s.Find( "select foo.String from foo in class Foo where foo.TheFoo.TheFoo.TheFoo.String = 'a' and foo.TheFoo.String = 'b'" ); *************** *** 3362,3367 **** bool proxyBoolean = ( (FooProxy)s.Load( typeof(Foo), id )).Boolean; } ! // this won't work until Proxies are implemented because now it throws an ! // ObjectNotFoundException catch(LazyInitializationException lie) { --- 3362,3367 ---- bool proxyBoolean = ( (FooProxy)s.Load( typeof(Foo), id )).Boolean; } ! // this won't work until Proxies are implemented because now it throws an ! // ObjectNotFoundException catch(LazyInitializationException lie) { Index: ABCProxyTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/ABCProxyTest.cs,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** ABCProxyTest.cs 26 Mar 2005 13:24:35 -0000 1.13 --- ABCProxyTest.cs 26 Mar 2005 14:10:51 -0000 1.14 *************** *** 43,47 **** [Test] ! //[Ignore("Proxies Required - http://jira.nhibernate.org:8080/browse/NH-41")] public void Subclassing() { --- 43,47 ---- [Test] ! //[Ignore("Proxies Required - http://jira.nhibernate.org:8080/browse/NH-41")] public void Subclassing() { |