hudson.plugins.utplsql
Class TestPackage

java.lang.Object
  extended by hudson.plugins.utplsql.TestPackage
All Implemented Interfaces:
Serializable

public class TestPackage
extends Object
implements Serializable

Holds all information about one testpackage (Testcases and number of errors etc.) Currently just an intermediate solution for easy creation of the jUnit xml files. Maybe this becomes obsolete later.

See Also:
Testcase, Serialized Form

Constructor Summary
TestPackage(String name)
          Creates a new instance of this class
 
Method Summary
 void add(Testcase testcase)
          Add a Testcase to this package
 long getCounter()
           
 String getName()
           
 String getXmlSnippet()
          The result of this function should be written to one xml-file later representing The testresults for one Testpackage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPackage

public TestPackage(String name)
Creates a new instance of this class

Parameters:
name - the name of the test package
Method Detail

getName

public String getName()

getCounter

public long getCounter()

add

public void add(Testcase testcase)
Add a Testcase to this package

Parameters:
testcase - the Testcase to add

getXmlSnippet

public String getXmlSnippet()
The result of this function should be written to one xml-file later representing The testresults for one Testpackage.

Returns:
the xml-code to be inserted into


Copyright © 2004-2014. All Rights Reserved.