Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


com.oracle.services.bpel.test
Class TestResult

java.lang.Object
  extended by 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.

 

Method Summary
 TestAssertion[] getFailedAssertions()
           
 java.lang.String getInstanceRefId()
           
 java.lang.String getProcessName()
           
 java.lang.String getSuiteName()
           
 java.lang.String getTestName()
           
 boolean wasSuccessful()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

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.

Method Detail

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

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


Copyright © 2006, Oracle. All rights reserved.