hudson.plugins.utplsql
Class Testcase
java.lang.Object
hudson.plugins.utplsql.Testcase
- All Implemented Interfaces:
- Serializable
public class Testcase
- extends Object
- implements Serializable
Holds all information given by a single testcase (assert) of utplsql
Currently just an intermediate solution for easy creation of the jUnit xml
files. Maybe this becomes obsolete later.
- See Also:
- Serialized Form
|
Constructor Summary |
Testcase(TestPackage testPackage,
String line)
Constructor to instanciate a testcase by parsing a given line of utPLSQL output |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUCCESS
public static final String SUCCESS
- See Also:
- Constant Field Values
FAILURE
public static final String FAILURE
- See Also:
- Constant Field Values
Testcase
public Testcase(TestPackage testPackage,
String line)
- Constructor to instanciate a testcase by parsing a given line of utPLSQL output
- Parameters:
line - one line of dbms_output indicating success or failure of a single assert
getResult
public String getResult()
getClassName
public String getClassName()
getName
public String getName()
getMessage
public String getMessage()
- Returns:
- Message value (surrounded with quotation marks)
getElapsedTimeInSeconds
public double getElapsedTimeInSeconds()
appendToMessage
public void appendToMessage(String newLine)
getXmlSnippet
public String getXmlSnippet()
- Returns an xml-snippet to be inserted into the jUnit-file
- Returns:
- some text, ready to be inserted into a jUnit-file
Copyright © 2004-2014. All Rights Reserved.