Skip navigation links
com.oracle.services.bpel.test
Class TestResult
java.lang.Object
com.oracle.services.bpel.test.TestResult
-
public class TestResult
- extends java.lang.Object
This class is an object representation of a BPEL test result. It provides some data about the test outcome and any failed assertions that occurred.
Constructor Summary |
TestResult(java.lang.String process, java.lang.String suiteName, java.lang.String testName, java.lang.String instRefId, java.util.List failures)
The constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestResult
public TestResult(java.lang.String process,
java.lang.String suiteName,
java.lang.String testName,
java.lang.String instRefId,
java.util.List failures)
- The constructor.
- Parameters:
suiteName
- The suite name the test is in.
testName
- The test name.
instRefId
- The reference id of the test instance.
failures
- A list of TestAssertion
objects. These represent the assertions that failed during the test's execution.
getProcessName
public java.lang.String getProcessName()
-
- Returns:
- the name of the process that the test initiated.
getSuiteName
public java.lang.String getSuiteName()
-
- Returns:
- the name of the suite that the test is in.
getTestName
public java.lang.String getTestName()
-
- Returns:
- the name of the test.
getInstanceRefId
public java.lang.String getInstanceRefId()
-
- Returns:
- the reference id of the test instance.
getFailedAssertions
public TestAssertion[] getFailedAssertions()
-
- Returns:
- An array of the failed assertions.
wasSuccessful
public boolean wasSuccessful()
-
- Returns:
- true if the test succeeded.
Skip navigation links
Copyright © 2006, Oracle. All rights reserved.