예제 #1
0
        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;
        }
예제 #2
0
 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;
 }
예제 #3
0
 public void scenario(Scenario scenario)
 {
     replay();
     _statement = scenario;
 }
예제 #4
0
 public void scenario(Scenario scenario)
 {
     replay();
     _statement = scenario;
 }