[fdo-commits] r800 - branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common

svn_fdo at osgeo.org svn_fdo at osgeo.org
Tue Mar 20 18:04:08 EDT 2007


Author: jacklee
Date: 2007-03-20 18:04:05 -0400 (Tue, 20 Mar 2007)
New Revision: 800

Modified:
   branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/FdoConnectionInfoTest.cpp
   branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/FdoInsertTest.cpp
   branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/Pch.h
Log:
Port to RHEL 4

Modified: branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/FdoConnectionInfoTest.cpp
===================================================================
--- branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/FdoConnectionInfoTest.cpp	2007-03-20 16:02:21 UTC (rev 799)
+++ branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/FdoConnectionInfoTest.cpp	2007-03-20 22:04:05 UTC (rev 800)
@@ -21,7 +21,6 @@
 #include "UnitTestUtil.h"
 
 FdoConnectionInfoTest::FdoConnectionInfoTest ()
-: mConnection(NULL)
 {
 
 }  //  FdoConnectionInfoTest ()

Modified: branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/FdoInsertTest.cpp
===================================================================
--- branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/FdoInsertTest.cpp	2007-03-20 16:02:21 UTC (rev 799)
+++ branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/FdoInsertTest.cpp	2007-03-20 22:04:05 UTC (rev 800)
@@ -26,8 +26,10 @@
 #define  DBG(X)
 #endif
 
-#ifndef _WIN32
+#ifndef _LLONG_MAX
 #   define LLONG_MAX    9223372036854775807LL
+#endif
+#ifndef LLONG_MIN
 #   define LLONG_MIN    (-LLONG_MAX - 1LL)
 #endif
 
@@ -1658,7 +1660,7 @@
 			for (int i=1; i<400; i++)
 				strData += L"abcdefghij";
 			strData += L"X";
-            dataValue = FdoDataValue::Create(strData);
+            dataValue = FdoDataValue::Create((FdoString *) strData);
 	        propertyValue = AddNewProperty( propertyValues, L"xdata.AcXObj.strdata");
 	        propertyValue->SetValue(dataValue);
 

Modified: branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/Pch.h
===================================================================
--- branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/Pch.h	2007-03-20 16:02:21 UTC (rev 799)
+++ branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/Pch.h	2007-03-20 22:04:05 UTC (rev 800)
@@ -63,6 +63,7 @@
 #include <cppunit/TestCase.h>
 #include <cppunit/extensions/HelperMacros.h>
 
+#include <Fdo/Expression/DataValueCollection.h>
 #include <Fdo.h>
 
 #include <FdoCommonOSUtil.h>



More information about the fdo-commits mailing list