[mapguide-commits] r9664 - sandbox/jng/catch2/Server/src/UnitTesting

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Jul 13 08:45:01 PDT 2020


Author: jng
Date: 2020-07-13 08:45:01 -0700 (Mon, 13 Jul 2020)
New Revision: 9664

Modified:
   sandbox/jng/catch2/Server/src/UnitTesting/TestMdfModel.cpp
   sandbox/jng/catch2/Server/src/UnitTesting/TestMisc.cpp
   sandbox/jng/catch2/Server/src/UnitTesting/TestTransformMesh.cpp
Log:
Tidy test names

Modified: sandbox/jng/catch2/Server/src/UnitTesting/TestMdfModel.cpp
===================================================================
--- sandbox/jng/catch2/Server/src/UnitTesting/TestMdfModel.cpp	2020-07-13 15:06:55 UTC (rev 9663)
+++ sandbox/jng/catch2/Server/src/UnitTesting/TestMdfModel.cpp	2020-07-13 15:45:01 UTC (rev 9664)
@@ -749,7 +749,7 @@
     }
 }
 
-TEST_CASE("Tile Set Definition (default provider)", "[MdfModel]")
+TEST_CASE("TileSetDefinitionDefaultProvider", "[MdfModel]")
 {
     try
     {
@@ -863,7 +863,7 @@
     }
 }
 
-TEST_CASE("Tile Set Definition (xyz provider)", "[MdfModel]")
+TEST_CASE("TileSetDefinitionXyzProvider", "[MdfModel]")
 {
     try
     {
@@ -943,7 +943,7 @@
     }
 }
 
-TEST_CASE("Layer Definition (disabled bounds)", "[MdfModel]")
+TEST_CASE("LayerDefinitionDisabledBounds", "[MdfModel]")
 {
     try
     {

Modified: sandbox/jng/catch2/Server/src/UnitTesting/TestMisc.cpp
===================================================================
--- sandbox/jng/catch2/Server/src/UnitTesting/TestMisc.cpp	2020-07-13 15:06:55 UTC (rev 9663)
+++ sandbox/jng/catch2/Server/src/UnitTesting/TestMisc.cpp	2020-07-13 15:45:01 UTC (rev 9664)
@@ -32,7 +32,7 @@
 #define THREAD_GROUP 65520
 #define TESTREQUESTS 5000
 
-TEST_CASE("Common Exception Messages", "[Misc]")
+TEST_CASE("CommonExceptionMessages", "[Misc]")
 {
     try
     {
@@ -211,7 +211,7 @@
     }
 }
 
-TEST_CASE("LineBuffer Conversion", "[Misc]")
+TEST_CASE("LineBufferConversion", "[Misc]")
 {
     //This isn't really a test, it's more verification and internal documentation
     //of how LineBuffers are meant to be represented for various geometry types
@@ -726,7 +726,7 @@
     }
 }
 
-TEST_CASE("MgUtil::TryParseDouble", "[Misc]")
+TEST_CASE("MgUtil_TryParseDouble", "[Misc]")
 {
     try
     {
@@ -763,7 +763,7 @@
     }
 }
 
-TEST_CASE("Bad resource identifier", "[Misc]")
+TEST_CASE("BadResourceIdentifier", "[Misc]")
 {
     try
     {
@@ -782,7 +782,7 @@
     }
 }
 
-TEST_CASE("Double to String with decimals", "[Misc]")
+TEST_CASE("DoubleToStringWithDecimals", "[Misc]")
 {
     try
     {
@@ -854,7 +854,7 @@
     }
 }
 
-TEST_CASE("API Version Check", "[Misc]")
+TEST_CASE("ApiVersionCheck", "[Misc]")
 {
     try
     {
@@ -874,7 +874,7 @@
     }
 }
 
-TEST_CASE("Trac #611", "[Misc]")
+TEST_CASE("TracTicket611", "[Misc]")
 {
     try
     {
@@ -920,7 +920,7 @@
     }
 }
 
-TEST_CASE("Trac #833", "[Misc]")
+TEST_CASE("TracTicket833", "[Misc]")
 {
     try
     {
@@ -956,7 +956,7 @@
     }
 }
 
-TEST_CASE("Trac #1304", "[Misc]")
+TEST_CASE("TracTicket1304", "[Misc]")
 {
     try
     {
@@ -989,7 +989,7 @@
     }
 }
 
-TEST_CASE("Create Map w/ initial display params", "[Misc]")
+TEST_CASE("CreateMapWithInitialDisplayParams", "[Misc]")
 {
     try 
     {
@@ -1024,7 +1024,7 @@
     }
 }
 
-TEST_CASE("Map Layer Collection", "[Misc]")
+TEST_CASE("MapLayerCollection", "[Misc]")
 {
     try
     {
@@ -1111,7 +1111,7 @@
     return 0;
 }
 
-TEST_CASE("Thread-safe configuration", "[Misc]")
+TEST_CASE("ThreadSafeConfiguration", "[Misc]")
 {
     try
     {

Modified: sandbox/jng/catch2/Server/src/UnitTesting/TestTransformMesh.cpp
===================================================================
--- sandbox/jng/catch2/Server/src/UnitTesting/TestTransformMesh.cpp	2020-07-13 15:06:55 UTC (rev 9663)
+++ sandbox/jng/catch2/Server/src/UnitTesting/TestTransformMesh.cpp	2020-07-13 15:45:01 UTC (rev 9664)
@@ -71,7 +71,7 @@
     return result;
 }
 
-TEST_CASE("TransformMesh default ctor", "[TransformMesh]")
+TEST_CASE("TransformMesh_DefaultCtor", "[TransformMesh]")
 {
     try
     {
@@ -96,7 +96,7 @@
     }
 }
 
-TEST_CASE("TransformMesh LL84 to WAG", "[TransformMesh]")
+TEST_CASE("TransformMesh_LL84_to_WAG", "[TransformMesh]")
 {
     try
     {
@@ -135,7 +135,7 @@
     }
 }
 
-TEST_CASE("TransformMesh LL84 to LL84", "[TransformMesh]")
+TEST_CASE("TransformMesh_LL84_to_LL84", "[TransformMesh]")
 {
     try
     {
@@ -185,7 +185,7 @@
     }
 }
 
-TEST_CASE("TransformMesh ArbXYM to ArbXYM", "[TransformMesh]")
+TEST_CASE("TransformMesh_ArbXYM_to_ArbXYM", "[TransformMesh]")
 {
     try
     {
@@ -235,7 +235,7 @@
     }
 }
 
-TEST_CASE("TransformMesh ArbXYKM to ArbXYM", "[TransformMesh]")
+TEST_CASE("TransformMesh_ArbXYKM_to_ArbXYM", "[TransformMesh]")
 {
     try
     {
@@ -295,8 +295,7 @@
     }
 }
 
-//void TestTransformMesh::TestCase_TransformMesh_Small_Image_01()
-TEST_CASE("TransformMesh Small Image 01", "[TransformMesh]")
+TEST_CASE("TransformMesh_Small_Image_01", "[TransformMesh]")
 {
     try
     {



More information about the mapguide-commits mailing list