Package cucumber
Class ValidateStepDefs
java.lang.Object
cucumber.ValidateStepDefs
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoida_test_string_with_string(String testName, String testDir) voidbefore(io.cucumber.java.Scenario scenario) voidcontent_validation_is_enabled(String enableContentValidation) voidexecute_a_validate_command(String commandArgs) voidgenerate_ldd(String ingestLDDFilename) voidgenerate_pds4_schema(String pds4Version) voidproduced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported(String testDir) voidwith_test_property(int messageCount, String problemEnum)
-
Constructor Details
-
ValidateStepDefs
public ValidateStepDefs()
-
-
Method Details
-
before
public void before(io.cucumber.java.Scenario scenario) -
a_test_string_with_string
-
with_test_property
@Given("expected error\\/warning count {int} with expected error from ValidateProblems enumeration {string}") public void with_test_property(int messageCount, String problemEnum) -
content_validation_is_enabled
@Given("content validation is enabled {string}") public void content_validation_is_enabled(String enableContentValidation) -
generate_pds4_schema
@Given("the latest PDS4 schema\\/schematron is generated for IM Version {string}") public void generate_pds4_schema(String pds4Version) throws Exception - Throws:
Exception
-
generate_ldd
@Given("a new LDD is generated using the IngestLDDs {string}") public void generate_ldd(String ingestLDDFilename) throws Exception - Throws:
Exception
-
execute_a_validate_command
@When("execute validate command with {string} as arguments") public void execute_a_validate_command(String commandArgs) -
produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported
@Then("produced output from validate command should be similar to reported {string} JSON report or no error reported.") public void produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported(String testDir)
-