|
From: Michael D. <mik...@us...> - 2004-06-09 01:22:47
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2313 Modified Files: MultiTableTest.cs NewPerformanceTest.cs ODMGTest.cs ParentChildTest.cs SQLFunctionsTest.cs Log Message: Created shells for more Test Fixtures. Index: ParentChildTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/ParentChildTest.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ParentChildTest.cs 9 Jun 2004 01:05:46 -0000 1.1 --- ParentChildTest.cs 9 Jun 2004 01:22:37 -0000 1.2 *************** *** 9,20 **** /// </summary> [TestFixture] ! public class ParentChildTest { ! public ParentChildTest() { - // - // TODO: Add constructor logic here - // } } } --- 9,105 ---- /// </summary> [TestFixture] ! public class ParentChildTest : TestCase { ! [SetUp] ! public void SetUp() ! { ! 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", ! "ParentChild.hbm.xml", ! "Simple.hbm.xml", ! "Container.hbm.xml", ! "Circular.hbm.xml", ! "Stuff.hbm.xml" ! } ); ! } ! ! [Test] ! [Ignore("Test not yet written")] ! public void CollectionQuery() ! { ! } ! ! [Test] ! [Ignore("Test not yet written")] ! public void ParentChild() ! { ! } ! ! [Test] ! [Ignore("Test not yet written")] ! public void ParentNullChild() { } + + [Test] + [Ignore("Test not yet written")] + public void ManyToMany() + { + } + + [Test] + [Ignore("Test not yet written")] + public void Container() + { + } + + [Test] + [Ignore("Test not yet written")] + public void CascadeCompositeElements() + { + } + + [Test] + [Ignore("Test not yet written")] + public void Bag() + { + } + + [Test] + [Ignore("Test not yet written")] + public void CircularCascade() + { + } + + [Test] + [Ignore("Test not yet written")] + public void DeleteEmpty() + { + } + + [Test] + [Ignore("Test not yet written")] + public void Locking() + { + } + + [Test] + [Ignore("Test not yet written")] + public void ObjectType() + { + } + + } } Index: NewPerformanceTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NewPerformanceTest.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NewPerformanceTest.cs 9 Jun 2004 01:05:46 -0000 1.1 --- NewPerformanceTest.cs 9 Jun 2004 01:22:37 -0000 1.2 *************** *** 9,20 **** /// </summary> [TestFixture] ! public class NewPerformanceTest { ! public NewPerformanceTest() { ! // ! // TODO: Add constructor logic here ! // } } } --- 9,36 ---- /// </summary> [TestFixture] ! public class NewPerformanceTest : TestCase { ! [SetUp] ! public void SetUp() { ! ExportSchema( new string[] { "Simple.hbm.xml"} ); ! } ! ! [Test] ! [Ignore("Test not yet written")] ! public void Performance() ! { ! } ! ! private void Prepare() ! { ! //TODO: add details - not a test method } + + private void Delete() + { + //TODO: add details - not a test method + } + } } Index: ODMGTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/ODMGTest.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ODMGTest.cs 9 Jun 2004 01:05:46 -0000 1.1 --- ODMGTest.cs 9 Jun 2004 01:22:37 -0000 1.2 *************** *** 14,18 **** { // ! // TODO: Add constructor logic here // } --- 14,19 ---- { // ! // TODO: figure out if I even want to port this ! // or just get rid of the ODMG API // } Index: MultiTableTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/MultiTableTest.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MultiTableTest.cs 9 Jun 2004 01:05:46 -0000 1.1 --- MultiTableTest.cs 9 Jun 2004 01:22:37 -0000 1.2 *************** *** 18,69 **** --- 18,95 ---- } + [Test] + [Ignore("Test not yet written")] public void TestJoins() { } + [Test] + [Ignore("Test not yet written")] public void SubclassCollection() { } + [Test] + [Ignore("Test not yet written")] public void CollectionOnly() { } + [Test] + [Ignore("Test not yet written")] public void Queries() { } + [Test] + [Ignore("Test not yet written")] public void Constraints() { } + [Test] + [Ignore("Test not yet written")] public void MultiTable() { } + [Test] + [Ignore("Test not yet written")] public void MutliTableGeneratedId() { } + [Test] + [Ignore("Test not yet written")] public void MultiTableCollections() { } + [Test] + [Ignore("Test not yet written")] public void MultiTableManyToOne() { } + [Test] + [Ignore("Test not yet written")] public void MultiTableNativeId() { } + [Test] + [Ignore("Test not yet written")] public void Collection() { } + [Test] + [Ignore("Test not yet written")] public void OneToOne() { } + [Test] + [Ignore("Test not yet written")] public void CollectionPointer() { Index: SQLFunctionsTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/SQLFunctionsTest.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SQLFunctionsTest.cs 9 Jun 2004 01:05:46 -0000 1.1 --- SQLFunctionsTest.cs 9 Jun 2004 01:22:37 -0000 1.2 *************** *** 9,20 **** /// </summary> [TestFixture] ! public class SQLFunctionsTest { ! public SQLFunctionsTest() { ! // ! // TODO: Add constructor logic here ! // } } } --- 9,47 ---- /// </summary> [TestFixture] ! public class SQLFunctionsTest : TestCase { ! [SetUp] ! public void SetUp() { ! ExportSchema( new string[] { "Simple.hbm.xml"//, ! //"Blobber.hbm.xml" ! } ); } + + [Test] + [Ignore("Test not yet written")] + public void SetProperties() + { + } + + [Test] + [Ignore("Test not yet written")] + public void NothingToUpdate() + { + } + + [Test] + [Ignore("Test not yet written")] + public void SQLFunctions() + { + } + + [Test] + [Ignore("Test not yet written")] + public void BlobClob() + { + } + + } } |