Class ContextStep
- java.lang.Object
-
- fr.gouv.vitam.functionaltest.cucumber.step.ContextStep
-
public class ContextStep extends java.lang.Object
Context Step
-
-
Constructor Summary
Constructors Constructor Description ContextStep(World world)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
a_context_file_named(java.lang.String fileName)
define a context filevoid
a_context_named(java.lang.String contextName)
define a context namevoid
a_file_query_named(java.lang.String queryContextfileName)
define a context query fileNamevoid
fail_upload_context()
void
find_a_context_id(java.lang.String name)
void
metadata_are(cucumber.api.DataTable dataTable)
void
success_upload_context()
void
update_context_by_identifier_query(java.lang.String contextIdentifier, java.lang.Integer status)
void
update_context_by_name_query(java.lang.String name, java.lang.Integer status)
-
-
-
Constructor Detail
-
ContextStep
public ContextStep(World world)
-
-
Method Detail
-
a_context_file_named
@Given("^un fichier contexte nomm\u00e9 (.*)$") public void a_context_file_named(java.lang.String fileName)
define a context file- Parameters:
fileName
- name of a context file
-
a_context_named
@Given("^un contexte nomm\u00e9 (.*)$") public void a_context_named(java.lang.String contextName)
define a context name- Parameters:
contextName
- name of a context
-
a_file_query_named
@Given("^un fichier requete nomm\u00e9 (.*)$") public void a_file_query_named(java.lang.String queryContextfileName)
define a context query fileName- Parameters:
queryContextfileName
- name of a context
-
success_upload_context
@Then("^j\'importe ce contexte en succ\u00e8s") public void success_upload_context() throws java.io.IOException, AccessExternalClientServerException, InvalidParseOperationException
- Throws:
java.io.IOException
AccessExternalClientServerException
InvalidParseOperationException
-
fail_upload_context
@Then("^j\'importe ce contexte en \u00e9chec") public void fail_upload_context() throws AccessExternalClientServerException, InvalidParseOperationException, java.io.IOException
- Throws:
AccessExternalClientServerException
InvalidParseOperationException
java.io.IOException
-
update_context_by_name_query
@When("^je modifie le contexte nomm\u00e9 (.*) le statut de la requ\u00eate est (.*)$") public void update_context_by_name_query(java.lang.String name, java.lang.Integer status) throws InvalidParseOperationException, VitamClientException, java.io.IOException, AccessExternalClientException, InvalidCreateOperationException
- Throws:
InvalidParseOperationException
VitamClientException
java.io.IOException
AccessExternalClientException
InvalidCreateOperationException
-
update_context_by_identifier_query
@When("^je modifie le contexte dont l\'identifiant est (.*) le statut de la requ\u00eate est (.*)$") public void update_context_by_identifier_query(java.lang.String contextIdentifier, java.lang.Integer status) throws InvalidParseOperationException, java.io.IOException, AccessExternalClientException
- Throws:
InvalidParseOperationException
java.io.IOException
AccessExternalClientException
-
find_a_context_id
@When("^je recherche un contexte nomm\u00e9 (.*)$") public void find_a_context_id(java.lang.String name) throws VitamClientException, InvalidCreateOperationException, InvalidParseOperationException
-
metadata_are
@Then("^les m\u00e9tadonn\u00e9es du context sont$") public void metadata_are(cucumber.api.DataTable dataTable)
-
-