unitee.server
Class ObjectTestTreeBuilder

java.lang.Object
  |
  +--unitee.server.ObjectTestTreeBuilder

public class ObjectTestTreeBuilder
extends java.lang.Object
implements TestTreeBuilder


Constructor Summary
ObjectTestTreeBuilder(TestFactory factory)
           
 
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()
           
protected  TestCaseHolder getCurrentTestCase()
           
protected  TestSuite getCurrentTestSuite()
           
 TestSuite getRootTestSuite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectTestTreeBuilder

public ObjectTestTreeBuilder(TestFactory factory)
Method Detail

getCurrentTestSuite

protected TestSuite getCurrentTestSuite()

getCurrentTestCase

protected TestCaseHolder getCurrentTestCase()

getRootTestSuite

public TestSuite getRootTestSuite()

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