[fdo-commits] r2609 - trunk/Providers/SHP/Src/UnitTest
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Fri Feb 23 11:55:13 EST 2007
Author: pierredalcourt
Date: 2007-02-23 11:55:13 -0500 (Fri, 23 Feb 2007)
New Revision: 2609
Modified:
trunk/Providers/SHP/Src/UnitTest/SelectTests.cpp
Log:
TRAC Ticket #17 "SHP/SDF: fix various Select/SelectAggregates defects"
Modified: trunk/Providers/SHP/Src/UnitTest/SelectTests.cpp
===================================================================
--- trunk/Providers/SHP/Src/UnitTest/SelectTests.cpp 2007-02-23 16:54:57 UTC (rev 2608)
+++ trunk/Providers/SHP/Src/UnitTest/SelectTests.cpp 2007-02-23 16:55:13 UTC (rev 2609)
@@ -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