|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.services.bpel.test.TestAssertion
public class TestAssertion
This class represents a test assertion.
Field Summary | |
---|---|
static int |
ACTIVITY_ASSERTION assertion type indicating the assertion verified an activity's exection count. |
static int |
VALUE_ASSERTION assertion type indicating the assertion compared simple values. |
static int |
XML_ASSERTION assertion type indicating the assertion compared XML values. |
Constructor Summary | |
---|---|
TestAssertion(java.lang.String processName, java.lang.String processInstanceId, java.lang.String processTestName, java.lang.String activityName, java.lang.String actualPath, java.lang.String actualValue, java.lang.String expectedValue, java.lang.String message, boolean wasSuccessful, boolean wasExecuted, boolean isFatal, int iteration, int assertionType) The constructor to be used when adding failures that occurred in sub process tests. |
Method Summary | |
---|---|
java.lang.String |
getActivityExecutedAt() |
java.lang.String |
getActualPath() |
java.lang.String |
getActualValue() |
int |
getAssertionType() |
java.lang.String |
getExpectedValue() |
java.lang.String |
getInstanceRefId() |
int |
getIteration() |
java.lang.String |
getMessage() |
java.lang.String |
getProcessName() |
java.lang.String |
getTestName() |
boolean |
getWasExecuted() |
boolean |
isFatalAssertion() |
boolean |
wasSuccessful() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int VALUE_ASSERTION
public static final int XML_ASSERTION
public static final int ACTIVITY_ASSERTION
Constructor Detail |
---|
public TestAssertion(java.lang.String processName, java.lang.String processInstanceId, java.lang.String processTestName, java.lang.String activityName, java.lang.String actualPath, java.lang.String actualValue, java.lang.String expectedValue, java.lang.String message, boolean wasSuccessful, boolean wasExecuted, boolean isFatal, int iteration, int assertionType)
subProcessName
- The name of the sub process the failure occurred in.subProcessInstanceId
- The instance id of the sub process.subProcessTestName
- The test driver of the sub process.activityName
- the name of the activity at which the assertion was executed.actualPath
- The path of the extracted value.actualValue
- The value extracted.expectedValue
- The value expected.message
- The error message.wasSuccessful
- Did the assertion succeed? Only relevant if wasExecuted is true.wasExecuted
- Was this assertion executed?isFatal
- Was the assertion fatal?assertionType
- The type of assertion. See the constants defined in this class.Method Detail |
---|
public boolean isFatalAssertion()
public boolean wasSuccessful()
public java.lang.String getMessage()
public java.lang.String getExpectedValue()
public java.lang.String getActualValue()
public java.lang.String getActivityExecutedAt()
public java.lang.String getActualPath()
public boolean getWasExecuted()
public int getAssertionType()
public java.lang.String getProcessName()
public java.lang.String getInstanceRefId()
public int getIteration()
public java.lang.String getTestName()
|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |