aboutsummaryrefslogtreecommitdiffstats
path: root/test/test-platform/TestPlatform.cpp
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2014-10-24 17:41:58 +0200
committerDavid Wagner <david.wagner@intel.com>2014-10-24 17:41:58 +0200
commitd9ad02e2a322fff355cd113c5bb98ff4667a95f2 (patch)
tree7bfbb4fd253ffa8abb98f03887a4e76f1f26caaa /test/test-platform/TestPlatform.cpp
parenta022e315ecfede7bb37ab17382482eb794b33f00 (diff)
parentd9526499d6ab53b7d13d1434f748f6f2161c2e0a (diff)
downloadexternal_parameter-framework-d9ad02e2a322fff355cd113c5bb98ff4667a95f2.zip
external_parameter-framework-d9ad02e2a322fff355cd113c5bb98ff4667a95f2.tar.gz
external_parameter-framework-d9ad02e2a322fff355cd113c5bb98ff4667a95f2.tar.bz2
Merge pull request #13 from 01org/OznOg-bis
some C++ cleanup
Diffstat (limited to 'test/test-platform/TestPlatform.cpp')
-rw-r--r--test/test-platform/TestPlatform.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/test-platform/TestPlatform.cpp b/test/test-platform/TestPlatform.cpp
index aaa3d02..f1e99b6 100644
--- a/test/test-platform/TestPlatform.cpp
+++ b/test/test-platform/TestPlatform.cpp
@@ -40,6 +40,8 @@
#include "ParameterMgrPlatformConnector.h"
#include "RemoteProcessorServer.h"
+using std::string;
+
class CParameterMgrPlatformConnectorLogger : public CParameterMgrPlatformConnector::ILogger
{
public:
@@ -49,10 +51,10 @@ public:
if (bIsWarning) {
- cerr << strLog << endl;
+ std::cerr << strLog << std::endl;
} else {
- cout << strLog << endl;
+ std::cout << strLog << std::endl;
}
}
};
@@ -165,7 +167,7 @@ bool CTestPlatform::load(std::string& strError)
// Start remote processor server
if (!_pRemoteProcessorServer->start()) {
- ostringstream oss;
+ std::ostringstream oss;
oss << "TestPlatform: Unable to start remote processor server on port " << _portNumber;
strError = oss.str();
@@ -364,7 +366,7 @@ bool CTestPlatform::createExclusiveSelectionCriterion(const string& strName, uin
for (uistate = 0; uistate < uiNbStates; uistate++) {
- ostringstream ostrValue;
+ std::ostringstream ostrValue;
ostrValue << "State_";
ostrValue << uistate;
@@ -397,7 +399,7 @@ bool CTestPlatform::createInclusiveSelectionCriterion(const string& strName, uin
for (uiState = 0; uiState < uiNbStates; uiState++) {
- ostringstream ostrValue;
+ std::ostringstream ostrValue;
ostrValue << "State_0x";
ostrValue << (0x1 << uiState);