Exemplo n.º 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;
        }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
 public void scenario(Scenario scenario)
 {
     replay();
     _statement = scenario;
 }
Exemplo n.º 4
0
 public void scenario(Scenario scenario)
 {
     replay();
     _statement = scenario;
 }