[mapguide-commits] r4582 - trunk/MgDev/Server/src/UnitTesting
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Feb 3 15:11:28 EST 2010
Author: waltweltonlair
Date: 2010-02-03 15:11:27 -0500 (Wed, 03 Feb 2010)
New Revision: 4582
Modified:
trunk/MgDev/Server/src/UnitTesting/Makefile.am
trunk/MgDev/Server/src/UnitTesting/TestTransformMesh.cpp
Log:
The TransformMesh unit test was missing under Linux. Fixed the Makefile and also a Linux compile error...
Modified: trunk/MgDev/Server/src/UnitTesting/Makefile.am
===================================================================
--- trunk/MgDev/Server/src/UnitTesting/Makefile.am 2010-02-03 19:57:35 UTC (rev 4581)
+++ trunk/MgDev/Server/src/UnitTesting/Makefile.am 2010-02-03 20:11:27 UTC (rev 4582)
@@ -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: trunk/MgDev/Server/src/UnitTesting/TestTransformMesh.cpp
===================================================================
--- trunk/MgDev/Server/src/UnitTesting/TestTransformMesh.cpp 2010-02-03 19:57:35 UTC (rev 4581)
+++ trunk/MgDev/Server/src/UnitTesting/TestTransformMesh.cpp 2010-02-03 20:11:27 UTC (rev 4582)
@@ -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