Methods Summary |
---|
public void | addErrorDetails(java.lang.String s)Fill in Error details
errorDetails.addElement(s);
if (debug)
System.out.println (s);
|
public void | addGoodDetails(java.lang.String s)Fill in Good details
goodDetails.addElement(s);
if (debug)
System.out.println (s);
|
public void | addNaDetails(java.lang.String s)Retrieve Not Applicable details
naDetails.addElement(s);
if (debug) {
System.out.println (s);
}
|
public void | addWarningDetails(java.lang.String s)Fill in Warning details
warningDetails.addElement(s);
if (debug)
System.out.println (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.util.Vector | getGoodDetails()Retrieve Good details
return goodDetails;
|
public java.util.Vector | getNaDetails()Retrieve Not Applicable details
return naDetails;
|
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 | init(java.lang.Class c)Initialize the Result object
//setAssertion(StringManagerHelper.getLocalStringsManager().getLocalString((c.getName() + ".assertion"), ""));
String this_package = "com.sun.enterprise.admin.verifier.";
//START OF IASRI 4686336 verifier tool for S1AS
if(c.getName().indexOf("com.iplanet.ias")!=-1)
this_package = "com.sun.enterprise.admin.verifier.";
//END OF IASRI 4686336
setTestName(c.getName().substring(this_package.length()));
|
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 | 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);
|