mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-04 19:13:30 +01:00
Fixed wrong Method name in WinServiceTest.
Added Comment to setFailurActions Method.
This commit is contained in:
parent
123955a2df
commit
2ac3df363c
@ -139,6 +139,8 @@ public:
|
||||
|
||||
void setFailureActions(FailureActionVector failureActions, const std::string& command = "", const std::string& rebootMessage = "");
|
||||
/// Sets the Failure Actions for the service.
|
||||
/// If one of the Actions is SVC_RUN_COMMAND the command Parameter is added.
|
||||
/// If one of the Actions is SVC_REBOOT the Reboot Message is set.
|
||||
|
||||
FailureActionTypeVector getFailureActions() const;
|
||||
/// Returns the Failure Actions for the service.
|
||||
|
@ -30,7 +30,7 @@ void WinServiceTest::testServiceReturnsTrueIfStopped() {
|
||||
}
|
||||
|
||||
void WinServiceTest::testServiceReturnsFailureActionConfigured() {
|
||||
auto failureActions = spoolerService_.getFailureAction();
|
||||
auto failureActions = spoolerService_.getFailureActions();
|
||||
assertEqual(3, failureActions.size());
|
||||
|
||||
assertEqual(WinService::SVC_RESTART, failureActions[0]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user