コード例 #1
0
    @Override
    public boolean processStepDefinition(StepDefinitionAnnotation stepDefinitionAnnotation) {
      StepMatcher stepMatcher =
          stepPatternParser.parseStep(stepType, stepDefinitionAnnotation.getAnnotationText());

      if (stepMatcher.matches(stepText)) {
        matchingAnnotation = stepDefinitionAnnotation;

        return false;
      }
      return true;
    }
コード例 #2
0
 @Override
 public boolean processStepDefinition(StepDefinitionAnnotation stepDefinitionAnnotation) {
   suggestions.add(actualStepPrefix + " " + stepDefinitionAnnotation.getAnnotationText());
   return true;
 }