Methods Summary |
---|
public void | addErrorDetails(java.lang.String s)Fill in Error details
errorDetails.addElement(s);
|
public void | addErrorDetails(int index, java.lang.String s)Fill in Error details
errorDetails.add(index, s);
|
public void | addGoodDetails(java.lang.String s)Fill in Good details
goodDetails.addElement(s);
|
public void | addNaDetails(java.lang.String s)Set Not Applicable details
naDetails.addElement(s);
|
public void | addWarningDetails(java.lang.String s)Fill in Warning details
warningDetails.addElement(s);
|
public void | failed(java.lang.String detail)Store Failed info
setStatus(FAILED);
addErrorDetails(detail);
|
public java.lang.String | getAssertion()Retrieve assertion
return assertion;
|
public java.lang.String | getComponentName()Retrieve component/module name
return componentName;
|
public java.util.Vector | getErrorDetails()Retrieve Error details
return errorDetails;
|
public java.lang.String | getErrorDetailsAsString()Retrieve Error details
String str = "";
for(int i=0; i<errorDetails.size(); i++)
{
if(i>0)
str += "\n";
str += errorDetails.get(i);
}
//add rejection string at the end
if(errorDetails.size()>0 &&
operationPrintName!=null &&
operationPrintName.length()>0)
{
str += "\n";
str += StringManagerHelper.getLocalStringsManager().getLocalString(
"operation_reject_msg","{0} has been rejected.",
new Object[] {operationPrintName});
}
return str;
|
public java.util.Vector | getGoodDetails()Retrieve Good details
return goodDetails;
|
public java.util.Vector | getNaDetails()Retrieve Not Applicable details
return naDetails;
|
public java.lang.String | getOperationPrintName()Retrieve config operation name
return operationPrintName;
|
public int | getStatus()Retrieve test result status
return status;
|
public java.lang.String | getTestName()Retrieve test name
return testName;
|
public java.util.Vector | getWarningDetails()Retrieve Warning details
return warningDetails;
|
public void | notApplicable(java.lang.String detail)Store Not Applicable info
setStatus(NOT_APPLICABLE);
addNaDetails(detail);
|
public void | passed(java.lang.String detail)Store passed info
setStatus(PASSED);
addGoodDetails(detail);
|
public void | setAssertion(java.lang.String s)Set assertion
assertion = s;
|
public void | setComponentName(java.lang.String s)Set component/module name
componentName = s;
|
public void | setOperationPrintName(java.lang.String s)Set component/module name
operationPrintName = s;
|
public void | setStatus(int s)Set test result status
status = s;
|
public void | setTestName(java.lang.String s)Set test name
testName = s;
|
public void | warning(java.lang.String detail)Store warning info
setStatus(WARNING);
addWarningDetails(detail);
|