Class PreservationStep
- java.lang.Object
-
- fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
-
- fr.gouv.vitam.functionaltest.cucumber.step.PreservationStep
-
public class PreservationStep extends CommonStep
PreservationStep class
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
CommonStep.MyRunnable
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EMPTY_JSON_FILE
-
Fields inherited from class fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
world
-
-
Constructor Summary
Constructors Constructor Description PreservationStep(World world)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteAllPreservationBaseData()
void
importGriffin(java.lang.String fileName)
void
importPreservation(java.lang.String fileName)
void
launchPreservation(java.lang.String scenarioId, java.lang.String usage)
void
launchPreservation(java.lang.String scenarioId, java.lang.String usageEntree, java.lang.String usageSortie)
void
searchGriffinById(java.lang.String identifier)
void
searchNotExistantPreservationById(java.lang.String identifier)
void
searchNotGriffinById(java.lang.String identifier)
void
searchPreservationById(java.lang.String identifier)
void
verifyBinaryIfNotGenerated(java.lang.String qualifierParam)
void
verifyIfTypeBinaryHasBeenGenerated(java.lang.String qualifierParam, java.lang.String type)
-
Methods inherited from class fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
checkOperationStatus, runInVitamThread
-
-
-
-
Field Detail
-
EMPTY_JSON_FILE
public static final java.lang.String EMPTY_JSON_FILE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PreservationStep
public PreservationStep(World world)
-
-
Method Detail
-
importGriffin
@When("^j\'importe le griffon nomm\u00e9 (.*)$") public void importGriffin(java.lang.String fileName)
-
importPreservation
@When("^j\'importe le preservation Scenario nomm\u00e9 (.*)$") public void importPreservation(java.lang.String fileName)
-
searchGriffinById
@When("^je cherche le griffon nomm\u00e9 (.*)$") public void searchGriffinById(java.lang.String identifier) throws VitamClientException, InvalidParseOperationException
-
searchNotGriffinById
@Then("^le griffon nomm\u00e9 (.*) n\'existe pas$") public void searchNotGriffinById(java.lang.String identifier) throws VitamClientException
- Throws:
VitamClientException
-
searchNotExistantPreservationById
@Then("^le sc\u00e9nario de preservation nomm\u00e9 (.*) n\'existe pas$") public void searchNotExistantPreservationById(java.lang.String identifier) throws VitamClientException
- Throws:
VitamClientException
-
searchPreservationById
@When("^je cherche le sc\u00e9nario de preservation nomm\u00e9 (.*)$") public void searchPreservationById(java.lang.String identifier) throws java.lang.Exception
- Throws:
java.lang.Exception
-
deleteAllPreservationBaseData
@When("^je supprime les griffons et les sc\u00e9narios de pr\u00e9servation sur tous les tenants") public void deleteAllPreservationBaseData() throws java.lang.Exception
- Throws:
java.lang.Exception
-
launchPreservation
@When("^je lance la preservation avec le sc\u00e9nario (.*) et pour l\'usage (.*)$") public void launchPreservation(java.lang.String scenarioId, java.lang.String usage) throws java.lang.Exception
- Throws:
java.lang.Exception
-
launchPreservation
@When("^je lance la preservation du sc\u00e9nario (.*) pour l\'usage d\'entr\u00e9e (.*) et pour l\'usage de sortie (.*)$") public void launchPreservation(java.lang.String scenarioId, java.lang.String usageEntree, java.lang.String usageSortie) throws java.lang.Exception
- Throws:
java.lang.Exception
-
verifyIfTypeBinaryHasBeenGenerated
@Then("^le type du binaire g\u00e9n\u00e9r\u00e9 est un (.*) et de type (.*)$") public void verifyIfTypeBinaryHasBeenGenerated(java.lang.String qualifierParam, java.lang.String type) throws InvalidParseOperationException
- Throws:
InvalidParseOperationException
-
verifyBinaryIfNotGenerated
@Then("^Le fichier binaire du type du qualifier (.*) n\'a pas \u00e9t\u00e9 g\u00e9n\u00e9r\u00e9$") public void verifyBinaryIfNotGenerated(java.lang.String qualifierParam) throws InvalidParseOperationException
- Throws:
InvalidParseOperationException
-
-