[mapguide-commits] r1323 - trunk/MgDev/Server/src/UnitTesting
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Mar 21 16:31:48 EDT 2007
Author: brucedechant
Date: 2007-03-21 16:31:48 -0400 (Wed, 21 Mar 2007)
New Revision: 1323
Modified:
trunk/MgDev/Server/src/UnitTesting/TestServerAdminService.cpp
Log:
Fix server admin service unit test failures.
Modified: trunk/MgDev/Server/src/UnitTesting/TestServerAdminService.cpp
===================================================================
--- trunk/MgDev/Server/src/UnitTesting/TestServerAdminService.cpp 2007-03-21 20:26:32 UTC (rev 1322)
+++ trunk/MgDev/Server/src/UnitTesting/TestServerAdminService.cpp 2007-03-21 20:31:48 UTC (rev 1323)
@@ -155,8 +155,8 @@
Ptr<MgPropertyCollection> pPropertyCollection2 = pService->GetConfigurationProperties(L"GeneralProperties");
CPPUNIT_ASSERT(pPropertyCollection1->GetCount() == pPropertyCollection2->GetCount());
- Ptr<MgStringProperty> pProperty1 = (MgStringProperty*)pPropertyCollection1->GetItem(L"DefaultLocale");
- Ptr<MgStringProperty> pProperty2 = (MgStringProperty*)pPropertyCollection2->GetItem(L"DefaultLocale");
+ Ptr<MgStringProperty> pProperty1 = (MgStringProperty*)pPropertyCollection1->GetItem(L"DefaultMessageLocale");
+ Ptr<MgStringProperty> pProperty2 = (MgStringProperty*)pPropertyCollection2->GetItem(L"DefaultMessageLocale");
CPPUNIT_ASSERT(pProperty1->GetValue() == pProperty2->GetValue());
}
@@ -195,14 +195,14 @@
}
Ptr<MgPropertyCollection> pPropertyCollection1 = pService->GetConfigurationProperties(L"GeneralProperties");
- Ptr<MgStringProperty> pProperty1 = (MgStringProperty*)pPropertyCollection1->GetItem(L"DefaultLocale");
+ Ptr<MgStringProperty> pProperty1 = (MgStringProperty*)pPropertyCollection1->GetItem(L"DefaultMessageLocale");
STRING valueOriginal = pProperty1->GetValue();
pProperty1->SetValue(L"fr");
pService->SetConfigurationProperties(L"GeneralProperties", pPropertyCollection1);
Ptr<MgPropertyCollection> pPropertyCollection2 = pService->GetConfigurationProperties(L"GeneralProperties");
- Ptr<MgStringProperty> pProperty2 = (MgStringProperty*)pPropertyCollection1->GetItem(L"DefaultLocale");
+ Ptr<MgStringProperty> pProperty2 = (MgStringProperty*)pPropertyCollection1->GetItem(L"DefaultMessageLocale");
CPPUNIT_ASSERT(pProperty1->GetValue() == pProperty2->GetValue());
More information about the mapguide-commits
mailing list