Class CollectStep
- java.lang.Object
-
- fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
-
- fr.gouv.vitam.functionaltest.cucumber.step.CollectStep
-
public class CollectStep extends CommonStep
step defining collect behaviors
-
-
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.StringTRANSACTION_RETURN_AN_ERROR-
Fields inherited from class fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
world
-
-
Constructor Summary
Constructors Constructor Description CollectStep(World world)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckOperationProject(java.lang.String action)Check result of actionvoidcheckSkippableScenario()This check is done before every scenario and it avoids failures if collect (external) service is not deployed!voidcloseTransaction(java.lang.String status)voidfind_project()voidfind_transaction()voidgetUnitByDslQuery()voidi_use_the_following_file_query(java.lang.String jsonFilename)define a json from a file to reuse it aftervoidinit_project()voidinit_transaction()voidpurge_project()purge projectvoidsentSip(java.lang.String status)voidshould_find_au()voidshould_upload_project_zip(java.lang.String arboFileName)voidupdate_project(java.lang.String name)update field name of projectvoidupdate_transaction(java.lang.String name)update field name of transactionvoiduploadBinary(java.lang.String binaryFilename)voiduploadGot()voiduploadUnit()-
Methods inherited from class fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
checkOperationStatus, runInVitamThread
-
-
-
-
Field Detail
-
TRANSACTION_RETURN_AN_ERROR
public static final java.lang.String TRANSACTION_RETURN_AN_ERROR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CollectStep
public CollectStep(World world)
-
-
Method Detail
-
checkSkippableScenario
@Given("^Le module de collect est deploy\u00e9") public void checkSkippableScenario()This check is done before every scenario and it avoids failures if collect (external) service is not deployed!
-
init_project
@When("^j\'initialise le project") public void init_project() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
i_use_the_following_file_query
@When("^j\'utilise le fichier json suivant (.*)$") public void i_use_the_following_file_query(java.lang.String jsonFilename) throws java.lang.Throwabledefine a json from a file to reuse it after- Parameters:
jsonFilename- name of the file containing the json- Throws:
java.lang.Throwable
-
find_project
@When("^je recherche le projet") public void find_project() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
update_project
@When("^je met a jour le projet avec le nom (.*)$") public void update_project(java.lang.String name) throws java.lang.Throwableupdate field name of project- Parameters:
name-- Throws:
java.lang.Throwable
-
update_transaction
@When("^je met a jour la transaction avec le nom (.*)$") public void update_transaction(java.lang.String name) throws java.lang.Exceptionupdate field name of transaction- Parameters:
name-- Throws:
java.lang.Exception
-
purge_project
@When("^je supprime le projet") public void purge_project() throws java.lang.Throwablepurge project- Throws:
java.lang.Throwable
-
checkOperationProject
@Then("^le projet est (.*) en succ\u00e8s$") public void checkOperationProject(java.lang.String action) throws InvalidParseOperationExceptionCheck result of action- Parameters:
action-- Throws:
InvalidParseOperationException
-
init_transaction
@When("^j\'initialise une transaction") public void init_transaction() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
find_transaction
@When("^je recherche la transaction") public void find_transaction() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
uploadUnit
@When("^je cr\u00e9e une au") public void uploadUnit() throws java.lang.Exception- Throws:
java.lang.Exception
-
getUnitByDslQuery
@When("^je recherche l\'au par rapport \u00e0 son titre") public void getUnitByDslQuery() throws java.lang.Exception- Throws:
java.lang.Exception
-
uploadGot
@When("^je cr\u00e9e un GOT") public void uploadGot() throws java.lang.Exception- Throws:
java.lang.Exception
-
uploadBinary
@When("^j\'upload le fichier suivant (.*)$") public void uploadBinary(java.lang.String binaryFilename) throws java.lang.Exception- Throws:
java.lang.Exception
-
closeTransaction
@When("^je cl\u00f4ture et je constate son statut (.*)$") public void closeTransaction(java.lang.String status) throws java.lang.Exception- Throws:
java.lang.Exception
-
sentSip
@When("^j\'envoie le SIP et je constate son statut (.*)$") public void sentSip(java.lang.String status) throws java.lang.Exception- Throws:
java.lang.Exception
-
should_upload_project_zip
@When("^j\'envoie l\'arborescence bureautique suivante (.*)$") public void should_upload_project_zip(java.lang.String arboFileName) throws java.lang.Exception- Throws:
java.lang.Exception
-
should_find_au
@When("^je constate qu\'une AU ainsi qu\'un GOT sont cr\u00e9\u00e9s") public void should_find_au() throws java.lang.Exception- Throws:
java.lang.Exception
-
-