コード例 #1
0
 public SELF step_$_of_scenario_$_has_a_data_table_as_parameter(
     @Table List<List<String>> dataTable) {
   StepModel step = getStep(1, 1);
   Word word = Word.argWord("a", "b", new DataTable(Table.HeaderType.HORIZONTAL, dataTable));
   step.addWords(word);
   latestWord = word;
   return self();
 }
コード例 #2
0
 public SELF step_$_of_case_$_has_an_attachment_with_content(
     int stepNr, int caseNr, String content) {
   StepModel step = getStep(stepNr, 1, caseNr);
   step.setAttachment(Attachment.fromText(content, MediaType.PLAIN_TEXT_UTF_8));
   return self();
 }