Package cucumber
Class ValidateStepDefs
- java.lang.Object
-
- cucumber.ValidateStepDefs
-
public class ValidateStepDefs extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ValidateStepDefs.ExitException
-
Constructor Summary
Constructors Constructor Description ValidateStepDefs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
a_test_string_with_string(String testName, String testDir)
void
execute_a_validate_command(String commandArgs)
void
generate_ldd(String ingestLDDFilename)
void
generate_pds4_schema()
void
produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported(String testDir)
void
with_test_property(int messageCount, String messageText, String problemEnum)
-
-
-
Method Detail
-
a_test_string_with_string
@Given("the test {string} at directory {string}") public void a_test_string_with_string(String testName, String testDir)
-
with_test_property
@Given("expected error\\/warning count {int} with expected error\\/warning text of {string} with expected error from ValidateProblems enumeration {string}") public void with_test_property(int messageCount, String messageText, String problemEnum)
-
generate_pds4_schema
@Given("the latest PDS4 schema\\/schematron is generated") public void generate_pds4_schema() 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)
-
-