[mapguide-commits] r7947 - trunk/MgDev/Server/src/UnitTesting

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Dec 2 03:14:03 PST 2013


Author: jng
Date: 2013-12-02 03:14:03 -0800 (Mon, 02 Dec 2013)
New Revision: 7947

Modified:
   trunk/MgDev/Server/src/UnitTesting/TestRenderingService.cpp
Log:
Fix improper rendering test cleanup

Modified: trunk/MgDev/Server/src/UnitTesting/TestRenderingService.cpp
===================================================================
--- trunk/MgDev/Server/src/UnitTesting/TestRenderingService.cpp	2013-12-02 10:58:39 UTC (rev 7946)
+++ trunk/MgDev/Server/src/UnitTesting/TestRenderingService.cpp	2013-12-02 11:14:03 UTC (rev 7947)
@@ -548,10 +548,10 @@
 
         // Data related to stylization function tests
         Ptr<MgResourceIdentifier> ldfres20 = new MgResourceIdentifier(L"Library://UnitTests/Layers/StylizationFuncs.LayerDefinition");
-        m_svcResource->GetResourceHeader(ldfres20);
+        m_svcResource->DeleteResource(ldfres20);
 
         Ptr<MgResourceIdentifier> mapres15 = new MgResourceIdentifier(L"Library://UnitTests/Maps/StylizationFuncs.MapDefinition");
-        m_svcResource->GetResourceHeader(mapres15);
+        m_svcResource->DeleteResource(mapres15);
 
         #ifdef _DEBUG
         MgFdoConnectionManager* pFdoConnectionManager = MgFdoConnectionManager::GetInstance();



More information about the mapguide-commits mailing list