Package dev.aherscu.qa.jgiven.ssh.steps
Class SshVerifications<SELF extends SshVerifications<SELF>>
- java.lang.Object
-
- com.tngtech.jgiven.base.StageBase<SELF>
-
- com.tngtech.jgiven.Stage<SELF>
-
- dev.aherscu.qa.jgiven.commons.utils.StageEx<SELF>
-
- dev.aherscu.qa.jgiven.commons.steps.GenericVerifications<SshScenarioType,SELF>
-
- dev.aherscu.qa.jgiven.ssh.steps.SshVerifications<SELF>
-
- Type Parameters:
SELF
- the type of the subclass
- All Implemented Interfaces:
dev.aherscu.qa.jgiven.commons.model.ScenarioType<SshScenarioType>
@ThreadSafe public class SshVerifications<SELF extends SshVerifications<SELF>> extends dev.aherscu.qa.jgiven.commons.steps.GenericVerifications<SshScenarioType,SELF>
Generic SSH configuration verifications. Verifications on the response retrieved by previous action.- Author:
- aherscu
-
-
Field Summary
Fields Modifier and Type Field Description protected ThreadLocal<Integer>
exitStatus
The exit status of last SSH batch command.
-
Constructor Summary
Constructors Constructor Description SshVerifications()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELF
the_exit_status_is(int expected)
Verifies that the exit status of last executed SSH batch command is as expected.-
Methods inherited from class dev.aherscu.qa.jgiven.commons.steps.GenericVerifications
beforeScenarioConfigurePolling, eventually, eventually, eventually_assert_that, should_succeed, the_file_$_should_contain, the_file_$_should_match, the_JSON_file_$_should_contain
-
-
-
-
Field Detail
-
exitStatus
@ExpectedScenarioState protected final ThreadLocal<Integer> exitStatus
The exit status of last SSH batch command.
-
-
Method Detail
-
the_exit_status_is
public SELF the_exit_status_is(int expected)
Verifies that the exit status of last executed SSH batch command is as expected.- Parameters:
expected
- the expected exit status- Returns:
StageBase.self()
-
-