From: Michael D. <mik...@us...> - 2004-04-12 06:02:19
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11707/NHibernate.Test Modified Files: ABCProxyTest.cs ABCTest.cs TestCase.cs Log Message: Modified signature on TestCase.DropSchema to no longer take an array of files - just uses the cfg object and never used the files anyway. Index: TestCase.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/TestCase.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** TestCase.cs 9 Apr 2004 13:39:48 -0000 1.8 --- TestCase.cs 12 Apr 2004 05:48:33 -0000 1.9 *************** *** 39,46 **** } ! public void DropSchema(string[] files) { new SchemaExport(cfg).Drop(true, true); } public void ExecuteStatement(string sql) { --- 39,50 ---- } ! /// <summary> ! /// Drops the schema that was built with the TestCase's Configuration. ! /// </summary> ! public void DropSchema() { new SchemaExport(cfg).Drop(true, true); } + public void ExecuteStatement(string sql) { Index: ABCProxyTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/ABCProxyTest.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ABCProxyTest.cs 7 Apr 2004 21:24:21 -0000 1.3 --- ABCProxyTest.cs 12 Apr 2004 05:48:33 -0000 1.4 *************** *** 19,23 **** public void TearDown() { ! DropSchema(new string[] { "ABCProxy.hbm.xml"}); } --- 19,23 ---- public void TearDown() { ! DropSchema(); } Index: ABCTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/ABCTest.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ABCTest.cs 7 Apr 2004 21:24:21 -0000 1.3 --- ABCTest.cs 12 Apr 2004 05:48:33 -0000 1.4 *************** *** 22,26 **** public void TearDown() { ! DropSchema(new string[] { "ABC.hbm.xml"}); } --- 22,26 ---- public void TearDown() { ! DropSchema(); } |