[fdo-commits] r240 - branches/3.2.x/Providers/SDF/Src/UnitTest
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Tue Mar 20 12:05:15 EDT 2007
Author: brentrobinson
Date: 2007-03-20 12:05:14 -0400 (Tue, 20 Mar 2007)
New Revision: 240
Modified:
branches/3.2.x/Providers/SDF/Src/UnitTest/ConstraintsTest.cpp
branches/3.2.x/Providers/SDF/Src/UnitTest/ConstraintsTest.h
Log:
Updated CreateConnection signature
Modified: branches/3.2.x/Providers/SDF/Src/UnitTest/ConstraintsTest.cpp
===================================================================
--- branches/3.2.x/Providers/SDF/Src/UnitTest/ConstraintsTest.cpp 2007-03-19 21:30:05 UTC (rev 239)
+++ branches/3.2.x/Providers/SDF/Src/UnitTest/ConstraintsTest.cpp 2007-03-20 16:05:14 UTC (rev 240)
@@ -41,11 +41,9 @@
}
#endif
-FdoIConnection* ConstraintsTest::CreateConnection( FdoBoolean recreateDb )
+void ConstraintsTest::CreateConnection( Context& context, FdoBoolean recreateDb )
{
- FdoIConnection *connection = UnitTestUtil::OpenConnection( CONSTRAINTS_TEST_FILE, recreateDb );
-
- return connection;
+ context.connection = UnitTestUtil::OpenConnection( CONSTRAINTS_TEST_FILE, recreateDb );
}
FdoBoolean ConstraintsTest::CanRestrictCheckConstraint()
Modified: branches/3.2.x/Providers/SDF/Src/UnitTest/ConstraintsTest.h
===================================================================
--- branches/3.2.x/Providers/SDF/Src/UnitTest/ConstraintsTest.h 2007-03-19 21:30:05 UTC (rev 239)
+++ branches/3.2.x/Providers/SDF/Src/UnitTest/ConstraintsTest.h 2007-03-20 16:05:14 UTC (rev 240)
@@ -36,7 +36,7 @@
// void setUp ();
protected:
- virtual FdoIConnection* CreateConnection( FdoBoolean recreateDb = false );
+ virtual void CreateConnection( Context& context, FdoBoolean recreateDb = false );
virtual FdoBoolean CanRestrictCheckConstraint();
};
More information about the fdo-commits
mailing list