@Override public Configuration configuration() { return candidateSteps.configuration(); } }
/** * Creates an {@link InstanceStepsFactory} with the given {@link Configuration} for the given {@link com.epam.gepard.gherkin.jbehave.JBehaveTestCase}. * @param configuration the configuration to use * @param testCase the test case which will be used in the step creation process * @return a new instance of {@link InstanceStepsFactory} */ public InstanceStepsFactory createForTestCase(final Configuration configuration, final JBehaveTestCase testCase) { return new InstanceStepsFactory(configuration, testCase); }
/** * @param valueSeparator A regexp to use as list separate */ public DateListConverter(String valueSeparator) { this.dateConverter = new ParameterConverters.DateConverter(); this.valueSeparator = valueSeparator; }
private StepCandidate findMatchingStep(String stringStep) { for (StepCandidate step : allCandidates) { if (step.matches(stringStep, previousNonAndStep)) { if (step.getStepType() != StepType.AND) { previousNonAndStep = step.getStartingWord() + " "; } return step; } } return null; }
@Override public boolean matches(String stepAsString) { return stepCandidate.matches(stepAsString); }
@Override public String[] composedSteps() { return stepCandidate.composedSteps(); //To change body of overridden methods use File | Settings | File Templates. }
@Override public StepType getStepType() { return stepCandidate.getStepType(); }
@Override public String toString() { return stepCandidate.toString(); //To change body of overridden methods use File | Settings | File Templates. } }
@Override public Method getMethod() { return stepCandidate.getMethod(); }
@Override public boolean isPending() { return stepCandidate.isPending(); //To change body of overridden methods use File | Settings | File Templates. }
@Override public String getPatternAsString() { return stepCandidate.getPatternAsString(); }
@Override public Step createMatchedStep(String stepAsString, Map<String, String> namedParameters) { return stepCandidate.createMatchedStep(stepAsString, namedParameters); }
@Override public List<BeforeOrAfterStep> listBeforeOrAfterStories() { return candidateSteps.listBeforeOrAfterStories(); }
@Override public boolean isAndStep(String stepAsString) { return stepCandidate.isAndStep(stepAsString); //To change body of overridden methods use File | Settings | File Templates. }
private StepCandidate findMatchingStep(String stringStep) { for (StepCandidate step : allCandidates) { if (step.matches(stringStep, previousNonAndStep)) { if (step.getStepType() != StepType.AND) { previousNonAndStep = step.getStartingWord() + " "; } return step; } } return null; }
@Override public boolean matches(String stepAsString) { return stepCandidate.matches(stepAsString); //To change body of overridden methods use File | Settings | File Templates. }
@Override public String[] composedSteps() { return stepCandidate.composedSteps(); }
@Override public StepType getStepType() { return stepCandidate.getStepType(); //To change body of overridden methods use File | Settings | File Templates. }
@Override public String toString() { return stepCandidate.toString(); } }
@Override public Method getMethod() { return stepCandidate.getMethod(); //To change body of overridden methods use File | Settings | File Templates. }