[mapguide-commits] r4583 - sandbox/adsk/2.2gp/Server/src/UnitTesting
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Feb 3 15:14:55 EST 2010
Author: waltweltonlair
Date: 2010-02-03 15:14:55 -0500 (Wed, 03 Feb 2010)
New Revision: 4583
Modified:
sandbox/adsk/2.2gp/Server/src/UnitTesting/Makefile.am
sandbox/adsk/2.2gp/Server/src/UnitTesting/TestTransformMesh.cpp
Log:
The TransformMesh unit test was missing under Linux. Fixed the Makefile and also a Linux compile error...
Modified: sandbox/adsk/2.2gp/Server/src/UnitTesting/Makefile.am
===================================================================
--- sandbox/adsk/2.2gp/Server/src/UnitTesting/Makefile.am 2010-02-03 20:11:27 UTC (rev 4582)
+++ sandbox/adsk/2.2gp/Server/src/UnitTesting/Makefile.am 2010-02-03 20:14:55 UTC (rev 4583)
@@ -47,6 +47,7 @@
TestSiteManager.cpp \
TestSiteService.cpp \
TestTileService.cpp \
+ TestTransformMesh.cpp \
UnitTesting.cpp
noinst_HEADERS = \
@@ -68,6 +69,7 @@
TestSiteManager.h \
TestSiteService.h \
TestTileService.h \
+ TestTransformMesh.h \
UnitTesting.h
libMgUnitTesting_la_LIBADD = -lcppunit
Modified: sandbox/adsk/2.2gp/Server/src/UnitTesting/TestTransformMesh.cpp
===================================================================
--- sandbox/adsk/2.2gp/Server/src/UnitTesting/TestTransformMesh.cpp 2010-02-03 20:11:27 UTC (rev 4582)
+++ sandbox/adsk/2.2gp/Server/src/UnitTesting/TestTransformMesh.cpp 2010-02-03 20:14:55 UTC (rev 4583)
@@ -152,7 +152,7 @@
TransformMesh xformMesh(gridSize, minGridSize, gridSizeOverride, srcExt, srcWidth, srcHeight, destExt, destWidth, destHeight, &xformer);
CPPUNIT_ASSERT(CheckTransformMeshSize(srcWidth, srcHeight, &xformMesh));
- CPPUNIT_ASSERT(xformMesh.IsYAxisInverted() == TRUE);
+ CPPUNIT_ASSERT(xformMesh.IsYAxisInverted() == true);
CPPUNIT_ASSERT(true);
}
More information about the mapguide-commits
mailing list