summaryrefslogtreecommitdiffstats
path: root/test/test-platform/TestPlatform.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-platform/TestPlatform.h')
-rw-r--r--test/test-platform/TestPlatform.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/test/test-platform/TestPlatform.h b/test/test-platform/TestPlatform.h
index 8a3e59c..47f81f8 100644
--- a/test/test-platform/TestPlatform.h
+++ b/test/test-platform/TestPlatform.h
@@ -24,9 +24,9 @@
*/
#pragma once
+#include "RemoteCommandHandlerTemplate.h"
#include <string>
#include <list>
-#include "RemoteCommandHandlerTemplate.h"
using namespace std;
@@ -57,6 +57,27 @@ private:
CCommandHandler::CommandStatus setCriterionStateCommandProcess(const IRemoteCommand& remoteCommand, string& strResult);
CCommandHandler::CommandStatus applyConfigurationsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult);
+ /** Callback to set if the PFW start should fail in case of missing subsystems.
+ *
+ * @param[in] remoteCommand contains the arguments of the received command.
+ * @param[out] strResult a string containing the result of the command.
+ *
+ * @return CCommandHandler::ESucceeded if command succeeded
+ * or CCommandHandler::EFailed otherwise
+ */
+ CCommandHandler::CommandStatus setFailureOnMissingSubsystemCommandProcess(
+ const IRemoteCommand& remoteCommand, string& strResult);
+ /** Callback to get if the PFW start should fail in case of missing subsystems.
+ *
+ * @param[in] remoteCommand contains the arguments of the received command.
+ * @param[out] strResult a string containing the result of the command.
+ *
+ * @return CCommandHandler::ESucceeded if command succeeded
+ * or CCommandHandler::EFailed otherwise
+ */
+ CCommandHandler::CommandStatus getFailureOnMissingSubsystemCommandProcess(
+ 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);