Class IngestATRStep
- java.lang.Object
-
- fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
-
- fr.gouv.vitam.functionaltest.cucumber.step.IngestATRStep
-
public class IngestATRStep extends CommonStep
Class for ATR tests.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
CommonStep.MyRunnable
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
world
-
-
Constructor Summary
Constructors Constructor Description IngestATRStep(World world)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidatr_contains_binary_objects(int nbBinaryObjects)The atr contains the tag exactly the number givenvoidatr_contains_complex_value(java.lang.String value)Check if the ATR contains a complex string with special chars (like , " .voidatr_contains_n_times_the_tag(int count, java.lang.String tag)Check if the ATR contains the tag exactly the number of time givenvoidatr_contains_n_times_the_value(int count, java.lang.String value)Check if the ATR contains the value exactly the number of times givenvoidatr_contains_physical_objects(int nbPhysicalObjects)The atr contains the tag exactly the number givenvoidatr_contains_units(int nbUnits)The atr contains the tag exactly the number givenvoidatr_contains_value(java.util.List<java.lang.String> values)Check if the atr contains the String valuesvoiddownload_atr()Download the ATR filevoidfinal_status_atr(java.lang.String replyCode)Check the replyCode value in the ATR-
Methods inherited from class fr.gouv.vitam.functionaltest.cucumber.step.CommonStep
checkOperationStatus, runInVitamThread
-
-
-
-
Constructor Detail
-
IngestATRStep
public IngestATRStep(World world)
-
-
Method Detail
-
download_atr
@When("je t\u00e9l\u00e9charge son fichier ATR") public void download_atr() throws VitamClientException, java.io.IOExceptionDownload the ATR file- Throws:
VitamClientExceptionjava.io.IOException
-
final_status_atr
@Then("^l\'\u00e9tat final du fichier ATR est (.*)$") public void final_status_atr(java.lang.String replyCode) throws java.io.IOExceptionCheck the replyCode value in the ATR- Parameters:
replyCode- reply code- Throws:
java.io.IOException
-
atr_contains_value
@Then("^le fichier ATR contient (?:la|les) valeur[s]? (.*)$") public void atr_contains_value(java.util.List<java.lang.String> values) throws java.io.IOExceptionCheck if the atr contains the String values- Parameters:
values- values- Throws:
java.io.IOException
-
atr_contains_complex_value
@Then("^le fichier ATR contient la cha\u00eene de caract\u00e8res$") public void atr_contains_complex_value(java.lang.String value) throws java.io.IOExceptionCheck if the ATR contains a complex string with special chars (like , " . { })- Parameters:
value- value- Throws:
java.io.IOException
-
atr_contains_n_times_the_value
@Then("^le fichier ATR contient (.*) fois la valeur (.*)$") public void atr_contains_n_times_the_value(int count, java.lang.String value) throws java.io.IOExceptionCheck if the ATR contains the value exactly the number of times given- Parameters:
count- number of timesvalue- value- Throws:
java.io.IOException
-
atr_contains_n_times_the_tag
@Then("^le fichier ATR contient (.*) balise[s]? de type (.*)$") public void atr_contains_n_times_the_tag(int count, java.lang.String tag) throws java.io.IOExceptionCheck if the ATR contains the tag exactly the number of time given- Parameters:
count- nomber of timestag- tag- Throws:
java.io.IOException
-
atr_contains_units
@Then("^le fichier ATR contient (.*) unit\u00e9[s]? archivistique[s]?$") public void atr_contains_units(int nbUnits) throws java.io.IOExceptionThe atr contains the tag exactly the number given- Parameters:
nbUnits- number of units- Throws:
java.io.IOException
-
atr_contains_binary_objects
@Then("^le fichier ATR contient (.*) objet[s]? binaire[s]?$") public void atr_contains_binary_objects(int nbBinaryObjects) throws java.io.IOExceptionThe atr contains the tag exactly the number given- Parameters:
nbBinaryObjects- number of binary objects- Throws:
java.io.IOException
-
atr_contains_physical_objects
@Then("^le fichier ATR contient (.*) objet[s]? physique[s]?$") public void atr_contains_physical_objects(int nbPhysicalObjects) throws java.io.IOExceptionThe atr contains the tag exactly the number given- Parameters:
nbPhysicalObjects- number of physical objects- Throws:
java.io.IOException
-
-