[fdo-commits] r199 - branches/3.2.x/Providers/SHP/Src/UnitTest

svn_fdo at osgeo.org svn_fdo at osgeo.org
Fri Feb 23 11:43:29 EST 2007


Author: pierredalcourt
Date: 2007-02-23 11:43:29 -0500 (Fri, 23 Feb 2007)
New Revision: 199

Modified:
   branches/3.2.x/Providers/SHP/Src/UnitTest/SelectTests.cpp
Log:
TRAC Ticket #17 "SHP/SDF: fix various Select/SelectAggregates defects"

Modified: branches/3.2.x/Providers/SHP/Src/UnitTest/SelectTests.cpp
===================================================================
--- branches/3.2.x/Providers/SHP/Src/UnitTest/SelectTests.cpp	2007-02-22 20:55:32 UTC (rev 198)
+++ branches/3.2.x/Providers/SHP/Src/UnitTest/SelectTests.cpp	2007-02-23 16:43:29 UTC (rev 199)
@@ -49,6 +49,20 @@
 
 void SelectTests::tearDown ()
 {
+    // Delete old class, if its there:
+    try
+    {
+        TestCommonSchemaUtil::CleanUpClass (mConnection, L"MySchema", L"MyClass");
+    }
+    catch (FdoException* e)
+    {
+        e->Release();
+    }
+    catch (...)
+    {
+        ;
+    }
+
     mConnection->Close ();
 	FDO_SAFE_RELEASE(mConnection.p);
 }



More information about the fdo-commits mailing list