Package io.cucumber.core.runtime
Class TestCaseResultObserver
java.lang.Object
io.cucumber.core.runtime.TestCaseResultObserver
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EventPublisherprivate @Nullable Resultprivate final EventHandler<SnippetsSuggestedEvent> private final List<TestCaseResultObserver.Suggestion> private final EventHandler<TestCaseFinished> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertTestCasePassed(Supplier<Throwable> testCaseSkipped, Function<Throwable, Throwable> testCaseSkippedWithException, Function<List<TestCaseResultObserver.Suggestion>, Throwable> testCaseWasUndefined, Function<Throwable, Throwable> testCaseWasPending) voidclose()private voidprivate void
-
Field Details
-
bus
-
suggestions
-
snippetsSuggested
-
result
-
testCaseFinished
-
-
Constructor Details
-
TestCaseResultObserver
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
handleSnippetSuggestedEvent
-
handleTestCaseFinished
-
assertTestCasePassed
-