Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
public enum Status {
PASS,
FAIL,
RUNNING
RUNNING,
NOT_RUN
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private static KeywordEndedEvent fromEventArguments(final List<?> arguments) {
throw new IllegalArgumentException(
"Keyword ended event should have name of keyword and library, keyword type and status");
}
return new KeywordEndedEvent(libOrResourceName, keywordName, keywordType, Status.valueOf(status));
return new KeywordEndedEvent(libOrResourceName, keywordName, keywordType, Status.valueOf(status.replace(" ", "_")));
}

private final String libOrResourceName;
Expand Down Expand Up @@ -86,4 +86,4 @@ public boolean equals(final Object obj) {
public int hashCode() {
return Objects.hash(libOrResourceName, name, keywordType, status);
}
}
}