public class IngestATRStep extends Object
Constructor and Description |
---|
IngestATRStep(World world) |
Modifier and Type | Method and Description |
---|---|
void |
atr_contains_binary_objects(int nbBinaryObjects)
The atr contains the tag exactly the number given
|
void |
atr_contains_complex_value(String value)
Check if the ATR contains a complex string with special chars (like , " .
|
void |
atr_contains_n_times_the_tag(int count,
String tag)
Check if the ATR contains the tag exactly the number of time given
|
void |
atr_contains_n_times_the_value(int count,
String value)
Check if the ATR contains the value exactly the number of times given
|
void |
atr_contains_physical_objects(int nbPhysicalObjects)
The atr contains the tag exactly the number given
|
void |
atr_contains_units(int nbUnits)
The atr contains the tag exactly the number given
|
void |
atr_contains_value(List<String> values)
Check if the atr contains the String values
|
void |
download_atr()
Download the ATR file
|
void |
final_status_atr(String replyCode)
Check the replyCode value in the ATR
|
public IngestATRStep(World world)
@When(value="je t\u00e9l\u00e9charge son fichier ATR") public void download_atr() throws VitamClientException, IOException
VitamClientException
IOException
@Then(value="^l\'\u00e9tat final du fichier ATR est (.*)$") public void final_status_atr(String replyCode)
replyCode
- reply code@Then(value="^le fichier ATR contient (?:la|les) valeur[s]? (.*)$") public void atr_contains_value(List<String> values)
values
- values@Then(value="^le fichier ATR contient la cha\u00eene de caract\u00e8res$") public void atr_contains_complex_value(String value)
value
- value@Then(value="^le fichier ATR contient (.*) fois la valeur (.*)$") public void atr_contains_n_times_the_value(int count, String value)
count
- number of timesvalue
- value@Then(value="^le fichier ATR contient (.*) balise[s]? de type (.*)$") public void atr_contains_n_times_the_tag(int count, String tag)
count
- nomber of timestag
- tag@Then(value="^le fichier ATR contient (.*) unit\u00e9[s]? archivistique[s]?$") public void atr_contains_units(int nbUnits)
nbUnits
- number of units@Then(value="^le fichier ATR contient (.*) objet[s]? binaire[s]?$") public void atr_contains_binary_objects(int nbBinaryObjects)
nbBinaryObjects
- number of binary objects@Then(value="^le fichier ATR contient (.*) objet[s]? physique[s]?$") public void atr_contains_physical_objects(int nbPhysicalObjects)
nbPhysicalObjects
- number of physical objectsCopyright © 2018 Vitam. All rights reserved.