private void printStatement() { if (_statement == null) { return; } calculateLocationIndentations(); @out.println(); printComments(_statement.getComments(), " "); if (_statement is TagStatement) { printTags(((TagStatement)_statement).getTags(), " "); } @out.append(" "); @out.append(_statement.getKeyword()); @out.append(": "); @out.append(_statement.getName()); String location = executing ? _uri + ":" + _statement.getLine() : null; @out.println(indentedLocation(location, true)); printDescription(_statement.getDescription(), " ", true); _statement = null; }
private void printStatement() { if (_statement == null) { return; } calculateLocationIndentations(); @out.println(); printComments(_statement.getComments(), " "); if (_statement is TagStatement) { printTags(((TagStatement)_statement).getTags(), " "); } @out.append(" "); @out.append(_statement.getKeyword()); @out.append(": "); @out.append(_statement.getName()); String location = executing ? _uri + ":" + _statement.getLine() : null; @out.println(indentedLocation(location, true)); printDescription(_statement.getDescription(), " ", true); _statement = null; }
public void scenario(Scenario scenario) { replay(); _statement = scenario; }
public void scenario(Scenario scenario) { replay(); _statement = scenario; }