@Test public void stringRepresentationTests() { assertThat(new RunningKeyword("lib", "kw", KeywordCallType.NORMAL_CALL).toString()) .isEqualTo("NORMAL_CALL: lib.kw"); assertThat(new RunningKeyword("lib", "kw", KeywordCallType.FOR).toString()) .isEqualTo("FOR: lib.kw"); assertThat(new RunningKeyword("lib", "kw", KeywordCallType.FOR_ITERATION).toString()) .isEqualTo("FOR_ITERATION: lib.kw"); assertThat(new RunningKeyword("lib", "kw", KeywordCallType.SETUP).toString()) .isEqualTo("SETUP: lib.kw"); assertThat(new RunningKeyword("lib", "kw", KeywordCallType.TEARDOWN).toString()) .isEqualTo("TEARDOWN: lib.kw"); assertThat(new RunningKeyword(null, "kw", KeywordCallType.NORMAL_CALL).toString()) .isEqualTo("NORMAL_CALL: null.kw"); assertThat(new RunningKeyword("lib", null, KeywordCallType.NORMAL_CALL).toString()) .isEqualTo("NORMAL_CALL: lib.null"); assertThat(new RunningKeyword(null, null, KeywordCallType.NORMAL_CALL).toString()) .isEqualTo("NORMAL_CALL: null.null"); }
@Override public String toString() { return callType.name() + ": " + libOrResourceName + "." + keywordName; }
RunningKeyword { @Override public String toString() { return callType.name() + ": " + libOrResourceName + "." + keywordName; } }
RunningKeyword { @Override public String toString() { return callType.name() + ": " + libOrResourceName + "." + keywordName; } RunningKeyword(final String libOrResourceName, final String keywordName, final KeywordCallType callType);  RunningKeyword(final RunningKeyword keyword, final KeywordCallType callType);  RunningKeyword(final RunningKeyword keyword); }
RunningKeyword { @Override public String toString() { return callType.name() + ": " + libOrResourceName + "." + keywordName; } RunningKeyword(final String libOrResourceName, final String keywordName, final KeywordCallType callType);  RunningKeyword(final RunningKeyword keyword, final KeywordCallType callType);  RunningKeyword(final RunningKeyword keyword); boolean isSetup(); boolean isTeardown(); boolean isForLoop(); boolean isForIteration(); String asCall(); String getSourceName(); String getName(); KeywordCallType getType(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString(); }
RunningKeyword { @Override public String toString() { return callType.name() + ": " + libOrResourceName + "." + keywordName; } RunningKeyword(final String libOrResourceName, final String keywordName, final KeywordCallType callType);  RunningKeyword(final RunningKeyword keyword, final KeywordCallType callType);  RunningKeyword(final RunningKeyword keyword); boolean isSetup(); boolean isTeardown(); boolean isForLoop(); boolean isForIteration(); String asCall(); String getSourceName(); String getName(); KeywordCallType getType(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }