unitee.common
Class TreePrinter

java.lang.Object
  |
  +--unitee.common.TreePrinter
Direct Known Subclasses:
HTMLTreePrinter

public class TreePrinter
extends java.lang.Object
implements TestTreeBuilder

This implementation of TestTreeBuilder echo building tree notifications to a print stream.


Constructor Summary
TreePrinter(java.io.PrintStream output)
           
 
Method Summary
 void buildParameter(java.lang.String name, java.lang.String clazz, java.lang.String value)
           
 void buildSuite(java.lang.String name)
           
 void buildTestCase(java.lang.String name, java.lang.String clazz)
           
 void endSuite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreePrinter

public TreePrinter(java.io.PrintStream output)
Method Detail

buildSuite

public void buildSuite(java.lang.String name)
Specified by:
buildSuite in interface TestTreeBuilder

endSuite

public void endSuite()
Specified by:
endSuite in interface TestTreeBuilder

buildTestCase

public void buildTestCase(java.lang.String name,
                          java.lang.String clazz)
Specified by:
buildTestCase in interface TestTreeBuilder

buildParameter

public void buildParameter(java.lang.String name,
                           java.lang.String clazz,
                           java.lang.String value)
Specified by:
buildParameter in interface TestTreeBuilder