[fdo-commits] r2712 - in trunk/Providers:
GenericRdbms/Src/UnitTest/Common SDF/Src/UnitTest
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Sat Mar 24 15:19:15 EDT 2007
Author: jacklee
Date: 2007-03-24 15:19:15 -0400 (Sat, 24 Mar 2007)
New Revision: 2712
Modified:
trunk/Providers/GenericRdbms/Src/UnitTest/Common/FdoConnectionInfoTest.cpp
trunk/Providers/GenericRdbms/Src/UnitTest/Common/FdoInsertTest.cpp
trunk/Providers/GenericRdbms/Src/UnitTest/Common/Pch.h
trunk/Providers/SDF/Src/UnitTest/ConstraintsTest.h
Log:
Ticket #45
Port to RHEL 4
Modified: trunk/Providers/GenericRdbms/Src/UnitTest/Common/FdoConnectionInfoTest.cpp
===================================================================
--- trunk/Providers/GenericRdbms/Src/UnitTest/Common/FdoConnectionInfoTest.cpp 2007-03-24 16:36:20 UTC (rev 2711)
+++ trunk/Providers/GenericRdbms/Src/UnitTest/Common/FdoConnectionInfoTest.cpp 2007-03-24 19:19:15 UTC (rev 2712)
@@ -21,7 +21,6 @@
#include "UnitTestUtil.h"
FdoConnectionInfoTest::FdoConnectionInfoTest ()
-: mConnection(NULL)
{
} // FdoConnectionInfoTest ()
Modified: trunk/Providers/GenericRdbms/Src/UnitTest/Common/FdoInsertTest.cpp
===================================================================
--- trunk/Providers/GenericRdbms/Src/UnitTest/Common/FdoInsertTest.cpp 2007-03-24 16:36:20 UTC (rev 2711)
+++ trunk/Providers/GenericRdbms/Src/UnitTest/Common/FdoInsertTest.cpp 2007-03-24 19:19:15 UTC (rev 2712)
@@ -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
@@ -1651,7 +1653,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: trunk/Providers/GenericRdbms/Src/UnitTest/Common/Pch.h
===================================================================
--- trunk/Providers/GenericRdbms/Src/UnitTest/Common/Pch.h 2007-03-24 16:36:20 UTC (rev 2711)
+++ trunk/Providers/GenericRdbms/Src/UnitTest/Common/Pch.h 2007-03-24 19:19:15 UTC (rev 2712)
@@ -63,6 +63,7 @@
#include <cppunit/TestCase.h>
#include <cppunit/extensions/HelperMacros.h>
+#include <Fdo/Expression/DataValueCollection.h>
#include <Fdo.h>
#include <FdoCommonOSUtil.h>
Modified: trunk/Providers/SDF/Src/UnitTest/ConstraintsTest.h
===================================================================
--- trunk/Providers/SDF/Src/UnitTest/ConstraintsTest.h 2007-03-24 16:36:20 UTC (rev 2711)
+++ trunk/Providers/SDF/Src/UnitTest/ConstraintsTest.h 2007-03-24 19:19:15 UTC (rev 2712)
@@ -19,6 +19,7 @@
#include <cppunit/TestCase.h>
#include <cppunit/extensions/HelperMacros.h>
+#include <Fdo/Expression/DataValueCollection.h>
#include <Fdo.h>
#include <TestCommonConstraints.h>
More information about the fdo-commits
mailing list