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 SampleTestStepSleep

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

public class SampleTestStepSleep
extends AbstractDiagTest

This test step simply sleeps for the specified interval in milliseconds.

Since:
release specific (what release of product did this appear in)
Version:
$Header: SampleTestStepSleep.java 12-dec-2007.15:42:40 ppradhan Exp $
Author:
ppradhan

Field Summary
static java.lang.String P_SLEEP_INTERVAL
           
 
Constructor Summary
SampleTestStepSleep()
           
 
Method Summary
protected  void cleanup()
          Performs any cleanup required.
protected  void init()
          Performs any initialization activities prior to executing the test logic.
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
 

Field Detail

P_SLEEP_INTERVAL

public static final java.lang.String P_SLEEP_INTERVAL
See Also:
Constant Field Values
Constructor Detail

SampleTestStepSleep

public SampleTestStepSleep()
Method Detail

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

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

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

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

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.