aboutsummaryrefslogtreecommitdiffstats
path: root/test/test-platform/TestPlatform.h
diff options
context:
space:
mode:
authorKevin Rocard <kevinx.rocard@intel.com>2012-05-02 11:53:59 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:09 +0100
commit8bd2757c16afd5e31bf38c93ce09ba833bba8052 (patch)
tree9999725f64464ed1f99df45d9b0c73b38b1037df /test/test-platform/TestPlatform.h
parent3124230f268f949b67ac68a85ced771f8da716ab (diff)
downloadexternal_parameter-framework-8bd2757c16afd5e31bf38c93ce09ba833bba8052.zip
external_parameter-framework-8bd2757c16afd5e31bf38c93ce09ba833bba8052.tar.gz
external_parameter-framework-8bd2757c16afd5e31bf38c93ce09ba833bba8052.tar.bz2
PFW: Add CriterionFromStateList to test-platform
BZ: 34881 Add commands : createExclusiveSelectionCriterionFromStateList and createInclusiveSelectionCriterionFromStateList For routing testing purpose, the PFW test program "test-platform" need commands to create criterion from a state list, so that each criterion state could have a specific name. Change-Id: Ibf4214723e085069ea9513efb099034478fa3b73 Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com> Reviewed-on: http://android.intel.com:8080/47499 Reviewed-by: De Chivre, Renaud <renaud.de.chivre@intel.com> Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'test/test-platform/TestPlatform.h')
-rw-r--r--test/test-platform/TestPlatform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-platform/TestPlatform.h b/test/test-platform/TestPlatform.h
index f169cce..1d7fcbb 100644
--- a/test/test-platform/TestPlatform.h
+++ b/test/test-platform/TestPlatform.h
@@ -53,6 +53,9 @@ public:
private:
//////////////// Remote command parsers
/// Selection Criterion
+ CCommandHandler::CommandStatus createExclusiveSelectionCriterionFromStateListCommandProcess(const IRemoteCommand& remoteCommand, string& strResult);
+ CCommandHandler::CommandStatus createInclusiveSelectionCriterionFromStateListCommandProcess(const IRemoteCommand& remoteCommand, string& strResult);
+
CCommandHandler::CommandStatus createExclusiveSelectionCriterionCommandProcess(const IRemoteCommand& remoteCommand, string& strResult);
CCommandHandler::CommandStatus createInclusiveSelectionCriterionCommandProcess(const IRemoteCommand& remoteCommand, string& strResult);
CCommandHandler::CommandStatus startParameterMgrCommandProcess(const IRemoteCommand& remoteCommand, string& strResult);
@@ -60,6 +63,9 @@ private:
CCommandHandler::CommandStatus applyConfigurationsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult);
// Commands
+ bool createExclusiveSelectionCriterionFromStateList(const string& strName, const IRemoteCommand& remoteCommand, string& strResult);
+ bool createInclusiveSelectionCriterionFromStateList(const string& strName, const IRemoteCommand& remoteCommand, string& strResult);
+
bool createExclusiveSelectionCriterion(const string& strName, uint32_t uiNbValues, string& strResult);
bool createInclusiveSelectionCriterion(const string& strName, uint32_t uiNbValues, string& strResult);
bool setCriterionState(const string& strName, uint32_t uiState, string& strResult);