[fdo-commits] r168 - trunk/Providers/SHP/Src/UnitTest

svn_fdo at osgeo.org svn_fdo at osgeo.org
Mon Jan 29 12:58:34 EST 2007


Author: danstoica
Date: 2007-01-29 12:58:33 -0500 (Mon, 29 Jan 2007)
New Revision: 168

Modified:
   trunk/Providers/SHP/Src/UnitTest/InsertTests.cpp
Log:
Merge branch 3.2.0 to trunk

Modified: trunk/Providers/SHP/Src/UnitTest/InsertTests.cpp
===================================================================
--- trunk/Providers/SHP/Src/UnitTest/InsertTests.cpp	2007-01-26 00:30:09 UTC (rev 167)
+++ trunk/Providers/SHP/Src/UnitTest/InsertTests.cpp	2007-01-29 17:58:33 UTC (rev 168)
@@ -305,7 +305,11 @@
 		FdoString *esriCodepage = (FdoString *)cpg->GetCodePage();
 		if (VERBOSE) printf("CPG: %ls\n", (FdoString*)esriCodepage );
 
+#pragma message ("TODO: Test on LINUX. ")
+
+#ifdef _WIN32
         CPPUNIT_ASSERT_MESSAGE ("incorrect value for ESRI codepage", wcscmp( esriCodepage, expected_cpg)==0);
+#endif
 		delete cpg;
 
 		FdoString *esriCodepage2 = dbf->GetCodePage();
@@ -313,8 +317,11 @@
 
 		// Apparenttly LDID supports code pages <= 1257
 		FdoStringP	codepage = FdoStringP(expected_cpg);
+
+#ifdef _WIN32
 		if ( codepage.ToLong() <= 1257 )
 			CPPUNIT_ASSERT_MESSAGE ("incorrect value for ESRI codepage2", wcscmp( esriCodepage2, expected_cpg)==0);
+#endif
 		delete dbf;
 
         FdoPtr<FdoIInsert> insert = (FdoIInsert*)mConnection->CreateCommand (FdoCommandType_Insert);



More information about the fdo-commits mailing list