private boolean justStartedAFluentSequenceFor(ExecutedStepDescription description) { boolean thisStepIsFluent = AnnotatedStepDescription.from(description).isFluent(); return (!inFluentStepSequence && thisStepIsFluent); }
private boolean justStartedAFluentSequenceFor(ExecutedStepDescription description) { boolean thisStepIsFluent = AnnotatedStepDescription.from(description).isFluent(); return (!inFluentStepSequence && thisStepIsFluent); }
private boolean justFinishedAFluentSequenceFor(ExecutedStepDescription description) { boolean thisStepIsFluent = AnnotatedStepDescription.from(description).isFluent(); return (inFluentStepSequence && !thisStepIsFluent); }
private boolean currentlyInAFluentSequenceFor(ExecutedStepDescription description) { boolean thisStepIsFluent = AnnotatedStepDescription.from(description).isFluent(); return (inFluentStepSequence && thisStepIsFluent); }
private boolean currentlyInAFluentSequenceFor(ExecutedStepDescription description) { boolean thisStepIsFluent = AnnotatedStepDescription.from(description).isFluent(); return (inFluentStepSequence && thisStepIsFluent); }
private boolean justFinishedAFluentSequenceFor(ExecutedStepDescription description) { boolean thisStepIsFluent = AnnotatedStepDescription.from(description).isFluent(); return (inFluentStepSequence && !thisStepIsFluent); }
private void recordStep(ExecutedStepDescription description) { String stepName = AnnotatedStepDescription.from(description).getName(); updateFluentStepStatus(description, stepName); if (justStartedAFluentSequenceFor(description) || notInAFluentSequence()) { TestStep step = new TestStep(stepName); startNewGroupIfNested(); setDefaultResultFromAnnotations(step, description); currentStepStack.push(step); recordStepToCurrentTestOutcome(step); } inFluentStepSequence = AnnotatedStepDescription.from(description).isFluent(); }
private void recordStep(ExecutedStepDescription description) { String stepName = AnnotatedStepDescription.from(description).getName(); updateFluentStepStatus(description, stepName); if (justStartedAFluentSequenceFor(description) || notInAFluentSequence()) { TestStep step = new TestStep(stepName); startNewGroupIfNested(); setDefaultResultFromAnnotations(step, description); currentStepStack.push(step); recordStepToCurrentTestOutcome(step); } inFluentStepSequence = AnnotatedStepDescription.from(description).isFluent(); }