Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.test.sample
Class SampleTestReportFormat

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.api.AbstractDiagTest
      extended by oracle.apps.fnd.appltest.diagfwk.test.sample.SampleTestReportFormat
All Implemented Interfaces:
DiagTest

public class SampleTestReportFormat
extends AbstractDiagTest

Sample Test to test report format and display.


Constructor Summary
SampleTestReportFormat()
           
 
Method Summary
protected static void addSummaryMsg(SummaryInfo pObj, java.lang.String pId, int pNumMsg)
           
protected  void cleanup()
          Performs any cleanup required.
protected  void init()
          Performs any initialization activities prior to executing the test logic.
protected static ErrorInfo makeErrorInfo(java.lang.String pErrorId)
           
protected static FixInfo makeFixInfo(java.lang.String pId, int pNumMsg)
           
protected static Message makeMessage(java.lang.String pMsgId)
           
protected static SummaryInfo makeSummaryInfo(java.lang.String pId, int pNumMsg)
           
protected  void runTest()
          Performs the execution logic for the test.
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.api.AbstractDiagTest
addOutputParam, addOutputParam, addOutputParam, addOutputParam, addOutputParam, addOutputParam, addOutputParam, createApplicationModule, createApplicationModule, getBooleanInputParam, getBundleClassLoader, getContext, getDateInputParam, getDoubleInputParam, getFloatInputParam, getIntegerInputParam, getLongInputParam, getStringInputParam, releaseApplicationModule, runTest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleTestReportFormat

public SampleTestReportFormat()
Method Detail

runTest

protected void runTest()
Description copied from class: AbstractDiagTest
Performs the execution logic for the test. In addition to executing the test, this method will also update the StepReport (and optionally the TestReport) available from the DiagContext with the results collected. Finally, the method will also update the context with the result of the test.

Specified by:
runTest in class AbstractDiagTest

init

protected void init()
Description copied from class: AbstractDiagTest
Performs any initialization activities prior to executing the test logic. Such activities may include collecting values for all input parameters for the test, validating them etc.

Specified by:
init in class AbstractDiagTest

cleanup

protected void cleanup()
Description copied from class: AbstractDiagTest
Performs any cleanup required. This method will get invoked after the runTest() method in a finally block to ensure that the cleanup activities occur even if runTest() failed.

Specified by:
cleanup in class AbstractDiagTest

makeSummaryInfo

protected static SummaryInfo makeSummaryInfo(java.lang.String pId,
                                             int pNumMsg)

addSummaryMsg

protected static void addSummaryMsg(SummaryInfo pObj,
                                    java.lang.String pId,
                                    int pNumMsg)

makeMessage

protected static Message makeMessage(java.lang.String pMsgId)

makeErrorInfo

protected static ErrorInfo makeErrorInfo(java.lang.String pErrorId)

makeFixInfo

protected static FixInfo makeFixInfo(java.lang.String pId,
                                     int pNumMsg)

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.