Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10322/NHibernate.Test Modified Files: ABCProxyTest.cs FooBarTest.cs MasterDetailTest.cs NewPerformanceTest.cs ParentChildTest.cs PerformanceTest.cs SQLFunctionsTest.cs Log Message: Added jira issues to some of the [Ignore] and all "Test not written yet." have the same description now. Index: FooBarTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/FooBarTest.cs,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** FooBarTest.cs 4 Aug 2004 17:27:53 -0000 1.52 --- FooBarTest.cs 6 Aug 2004 14:50:34 -0000 1.53 *************** *** 462,466 **** [Test] ! [Ignore("Fails because Proxies not written yet.")] public void NamedParams() { --- 462,466 ---- [Test] ! [Ignore("Proxies Required - http://jira.nhibernate.org:8080/browse/NH-41")] public void NamedParams() { *************** *** 493,497 **** [Test] ! //[Ignore("Test not written yet.")] public void FindByCriteria() { --- 493,497 ---- [Test] ! [Ignore("SetMaxResults - http://jira.nhibernate.org:8080/browse/NH-87")] public void FindByCriteria() { *************** *** 543,549 **** Assert.IsTrue(list.Count==1 && list[0]==f); ! //TODO: the SetMaxResults doesn't seem to have any impact ! // list = s.CreateCriteria(typeof(Foo)).SetMaxResults(0).List(); ! // Assert.AreEqual(0, list.Count); list = s.CreateCriteria(typeof(Foo)) --- 543,548 ---- Assert.IsTrue(list.Count==1 && list[0]==f); ! list = s.CreateCriteria(typeof(Foo)).SetMaxResults(0).List(); ! Assert.AreEqual(0, list.Count); list = s.CreateCriteria(typeof(Foo)) *************** *** 698,702 **** [Test] ! //[Ignore("Test not written yet.")] public void AssociationId() { --- 697,701 ---- [Test] ! //[Ignore("TimeZone Portions commented out - http://jira.nhibernate.org:8080/browse/NH-88")] public void AssociationId() { *************** *** 716,719 **** --- 715,719 ---- stuf.Id = 1234; + //TODO: http://jira.nhibernate.org:8080/browse/NH-88 //stuf.setProperty(TimeZone.getDefault() ); s.Save(more); *************** *** 777,780 **** --- 777,781 ---- // TODO: figure out what to do with TimeZone + // http://jira.nhibernate.org:8080/browse/NH-88 //Assert.IsTrue( stuff.getProperty().equals( TimeZone.getDefault() ) ); Assert.AreEqual("More Stuff", stuff.MoreStuff.Name); *************** *** 845,849 **** [Test] - //[Ignore("Test is failing because sub selects are not working. http://jira.nhibernate.org:8080/browse/NH-69")] public void CollectionsInSelect() { --- 846,849 ---- *************** *** 1025,1029 **** [Test] ! //[Ignore("Test not written yet.")] public void PersistCollections() { --- 1025,1029 ---- [Test] ! //[Ignore("Time Portions commented out - http://jira.nhibernate.org:8080/browse/NH-89")] public void PersistCollections() { *************** *** 1060,1063 **** --- 1060,1064 ---- baz.StringList[0] = "new value"; baz.StringSet = new Hashtable(); + //http://jira.nhibernate.org:8080/browse/NH-89 // TODO: baz.TimeArray[2] = new DateTime( *************** *** 1358,1362 **** [Test] ! [Ignore("Test fails because Proxy not implemented yet.")] public void Load() { --- 1359,1363 ---- [Test] ! [Ignore("Proxies Required - http://jira.nhibernate.org:8080/browse/NH-41")] public void Load() { *************** *** 1699,1705 **** [Test] ! //[Ignore("Test not written yet.")] ! public void Iterators() { ISession s = sessions.OpenSession(); for( int i=0; i<10; i++ ) --- 1700,1707 ---- [Test] ! public void Enumerable() { + // this test used to be called Iterators() + ISession s = sessions.OpenSession(); for( int i=0; i<10; i++ ) *************** *** 1721,1725 **** q.Stuff = "foo"; // can't remove item from IEnumerator in .net ! //if (count==0 || count==5) enumer.Remove(); count++; } --- 1723,1727 ---- q.Stuff = "foo"; // can't remove item from IEnumerator in .net ! if (count==0 || count==5) s.Delete(q); count++; } *************** *** 1731,1735 **** s = sessions.OpenSession(); ! Assert.AreEqual(10, s.Delete("from q in class NHibernate.DomainModel.Qux where q.Stuff=?", "foo", NHibernate.String), "delete by query"); --- 1733,1737 ---- s = sessions.OpenSession(); ! Assert.AreEqual(8, s.Delete("from q in class NHibernate.DomainModel.Qux where q.Stuff=?", "foo", NHibernate.String), "delete by query"); *************** *** 2458,2462 **** [Test] ! [Ignore("Test not written yet.")] public void ProxyArray() { --- 2460,2464 ---- [Test] ! [Ignore("Proxies Required - http://jira.nhibernate.org:8080/browse/NH-41")] public void ProxyArray() { *************** *** 2730,2734 **** [Test] ! [Ignore("Test depends on Proxies being implemented.")] public void LoadAfterDelete() { --- 2732,2736 ---- [Test] ! [Ignore("Proxies Required - http://jira.nhibernate.org:8080/browse/NH-41")] public void LoadAfterDelete() { *************** *** 3014,3018 **** [Test] ! [Ignore("Test not written yet.")] public void ProxiesInCollections() { --- 3016,3020 ---- [Test] ! [Ignore("Proxies Required - http://jira.nhibernate.org:8080/browse/NH-41")] public void ProxiesInCollections() { Index: ParentChildTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/ParentChildTest.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ParentChildTest.cs 6 Aug 2004 14:07:30 -0000 1.5 --- ParentChildTest.cs 6 Aug 2004 14:50:34 -0000 1.6 *************** *** 223,227 **** [Test] ! [Ignore("Test not yet written")] public void Container() { --- 223,227 ---- [Test] ! [Ignore("Test not written yet.")] public void Container() { *************** *** 229,233 **** [Test] - //[Ignore("Test not yet written")] public void CascadeCompositeElements() { --- 229,232 ---- *************** *** 293,297 **** [Test] ! [Ignore("Test not yet written")] public void Bag() { --- 292,296 ---- [Test] ! [Ignore("Test not written yet.")] public void Bag() { *************** *** 299,303 **** [Test] ! [Ignore("Test not yet written")] public void CircularCascade() { --- 298,302 ---- [Test] ! [Ignore("Test not written yet.")] public void CircularCascade() { *************** *** 305,309 **** [Test] ! [Ignore("Test not yet written")] public void DeleteEmpty() { --- 304,308 ---- [Test] ! [Ignore("Test not written yet.")] public void DeleteEmpty() { *************** *** 311,315 **** [Test] ! [Ignore("Test not yet written")] public void Locking() { --- 310,314 ---- [Test] ! [Ignore("Test not written yet.")] public void Locking() { *************** *** 317,321 **** [Test] ! [Ignore("Test not yet written")] public void ObjectType() { --- 316,320 ---- [Test] ! [Ignore("Test not written yet.")] public void ObjectType() { Index: SQLFunctionsTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/SQLFunctionsTest.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SQLFunctionsTest.cs 9 Jun 2004 01:22:37 -0000 1.2 --- SQLFunctionsTest.cs 6 Aug 2004 14:50:34 -0000 1.3 *************** *** 20,24 **** [Test] ! [Ignore("Test not yet written")] public void SetProperties() { --- 20,24 ---- [Test] ! [Ignore("Test not written yet.")] public void SetProperties() { *************** *** 26,30 **** [Test] ! [Ignore("Test not yet written")] public void NothingToUpdate() { --- 26,30 ---- [Test] ! [Ignore("Test not written yet.")] public void NothingToUpdate() { *************** *** 32,36 **** [Test] ! [Ignore("Test not yet written")] public void SQLFunctions() { --- 32,36 ---- [Test] ! [Ignore("Test not written yet.")] public void SQLFunctions() { *************** *** 38,42 **** [Test] ! [Ignore("Test not yet written")] public void BlobClob() { --- 38,42 ---- [Test] ! [Ignore("Test not written yet.")] public void BlobClob() { Index: PerformanceTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/PerformanceTest.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** PerformanceTest.cs 29 Jul 2004 13:16:39 -0000 1.6 --- PerformanceTest.cs 6 Aug 2004 14:50:34 -0000 1.7 *************** *** 62,66 **** [Test] - //[Ignore("User should comment this out if they want it to run. Does not test any functions.")] public void Many() { --- 62,65 ---- *************** *** 137,141 **** [Test] ! [Ignore("Have not written yet.")] public void Simultaneous() { --- 136,140 ---- [Test] ! [Ignore("Test not written yet.")] public void Simultaneous() { *************** *** 143,147 **** [Test] ! [Ignore("Have not written yet.")] public void HibernateOnly() { --- 142,146 ---- [Test] ! [Ignore("Test not written yet.")] public void HibernateOnly() { *************** *** 149,153 **** [Test] ! [Ignore("Have not written yet.")] public void AdoNetOnly() { --- 148,152 ---- [Test] ! [Ignore("Test not written yet.")] public void AdoNetOnly() { Index: NewPerformanceTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NewPerformanceTest.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NewPerformanceTest.cs 9 Jun 2004 01:22:37 -0000 1.2 --- NewPerformanceTest.cs 6 Aug 2004 14:50:34 -0000 1.3 *************** *** 18,22 **** [Test] ! [Ignore("Test not yet written")] public void Performance() { --- 18,22 ---- [Test] ! [Ignore("Test not written yet.")] public void Performance() { Index: ABCProxyTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/ABCProxyTest.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ABCProxyTest.cs 17 Jun 2004 21:17:54 -0000 1.8 --- ABCProxyTest.cs 6 Aug 2004 14:50:34 -0000 1.9 *************** *** 19,23 **** [Test] ! [Ignore("Test will fail because of proxy initalization problems")] public void Subclassing() { --- 19,23 ---- [Test] ! [Ignore("Proxies Required - http://jira.nhibernate.org:8080/browse/NH-41")] public void Subclassing() { Index: MasterDetailTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/MasterDetailTest.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MasterDetailTest.cs 31 Jul 2004 14:51:01 -0000 1.6 --- MasterDetailTest.cs 6 Aug 2004 14:50:34 -0000 1.7 *************** *** 281,285 **** [Test] ! [Ignore("Test not yet written")] public void Serialization() { --- 281,285 ---- [Test] ! [Ignore("ISession not fully serializable - http://jira.nhibernate.org:8080/browse/NH-60")] public void Serialization() { *************** *** 538,542 **** [Test] ! [Ignore("Test not yet written")] public void CustomPersister() { --- 538,542 ---- [Test] ! [Ignore("Test not written yet.")] public void CustomPersister() { |