[mapguide-commits] r9174 - trunk/MgDev/Server/src/UnitTesting
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sun Apr 23 07:37:33 PDT 2017
Author: jng
Date: 2017-04-23 07:37:33 -0700 (Sun, 23 Apr 2017)
New Revision: 9174
Modified:
trunk/MgDev/Server/src/UnitTesting/TestMisc.cpp
Log:
Fix incorrect usage of CPPUNIT_ASSERT_MESSAGE
Modified: trunk/MgDev/Server/src/UnitTesting/TestMisc.cpp
===================================================================
--- trunk/MgDev/Server/src/UnitTesting/TestMisc.cpp 2017-04-23 05:41:50 UTC (rev 9173)
+++ trunk/MgDev/Server/src/UnitTesting/TestMisc.cpp 2017-04-23 14:37:33 UTC (rev 9174)
@@ -579,7 +579,7 @@
CPPUNIT_ASSERT_DOUBLES_EQUAL(coord->GetX(), -87.45, 0.001);
CPPUNIT_ASSERT_DOUBLES_EQUAL(coord->GetY(), 43.32, 0.001);
CPPUNIT_ASSERT_DOUBLES_EQUAL(map->GetViewScale(), 8000.0, 0.0001);
- CPPUNIT_ASSERT_MESSAGE("Expected DPI of 256", map->GetDisplayDpi(), 256);
+ CPPUNIT_ASSERT_MESSAGE("Expected DPI of 256", map->GetDisplayDpi() == 256);
}
catch (MgException* e)
{
More information about the mapguide-commits
mailing list