[mapguide-commits] r4782 - sandbox/adsk/2.2gp/Server/src/UnitTesting

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Apr 12 16:04:29 EDT 2010


Author: brucedechant
Date: 2010-04-12 16:04:28 -0400 (Mon, 12 Apr 2010)
New Revision: 4782

Modified:
   sandbox/adsk/2.2gp/Server/src/UnitTesting/TestCoordinateSystem.cpp
Log:
Coordinate System unit test update.

Notes:
- Added output for failing to round trip an EPSG code -> WKT -> EPSG code
- Added output for failing to generate a WKT from an EPSG code


Modified: sandbox/adsk/2.2gp/Server/src/UnitTesting/TestCoordinateSystem.cpp
===================================================================
--- sandbox/adsk/2.2gp/Server/src/UnitTesting/TestCoordinateSystem.cpp	2010-04-12 13:54:24 UTC (rev 4781)
+++ sandbox/adsk/2.2gp/Server/src/UnitTesting/TestCoordinateSystem.cpp	2010-04-12 20:04:28 UTC (rev 4782)
@@ -5876,17 +5876,13 @@
                             else
                             {
                                 // Failed Round trip
-                                #ifdef _DEBUG
-                                printf("%d != %d - Failed!\n", code, epsg);
-                                #endif
+                                printf("%6d - Round trip Failed! Round trip code = %d\n", code, epsg);
                             }
                         }
                         else
                         {
                             // Failed
-                            #ifdef _DEBUG
-                            printf("%d - Failed!\n", code);
-                            #endif
+                            printf("%6d - EPSG to WKT Failed!\n", code);
                         }
                     }
                     catch(MgException* e)



More information about the mapguide-commits mailing list