Changeset 991


Ignore:
Timestamp:
11/15/12 11:34:25 (12 years ago)
Author:
pharms
Message:
  • improved dumping of task tree nodes for debugging purposes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeChecker.java

    r977 r991  
    200200            } 
    201201            out.print(indent); 
    202             out.println("Sequence {"); 
     202            out.print("Sequence"); 
     203            if (node.getDescription() != null) { 
     204                out.print("("); 
     205                out.print(node.getDescription()); 
     206                out.print(")"); 
     207            } 
     208            out.println(" {"); 
    203209        } 
    204210        else if (node instanceof IIteration) { 
     
    207213            } 
    208214            out.print(indent); 
    209             out.println("Iteration {"); 
     215            out.print("Iteration"); 
     216            if (node.getDescription() != null) { 
     217                out.print("("); 
     218                out.print(node.getDescription()); 
     219                out.print(")"); 
     220            } 
     221            out.println(" {"); 
    210222        } 
    211223        else if (node instanceof ISelection) { 
     
    214226            } 
    215227            out.print(indent); 
    216             out.println("Selection {"); 
     228            out.print("Selection"); 
     229            if (node.getDescription() != null) { 
     230                out.print("("); 
     231                out.print(node.getDescription()); 
     232                out.print(")"); 
     233            } 
     234            out.println(" {"); 
    217235        } 
    218236        else if (node instanceof IEventTask) { 
Note: See TracChangeset for help on using the changeset viewer.