Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

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

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

public class SampleCurrentUserInfoTest
extends AbstractDiagTest

Sample test that collects user specific information. It: 1. Prints the user's app and security roles 2. Prints the user's session attributes 3. Prints the user's profile attributes


Constructor Summary
SampleCurrentUserInfoTest()
           
 
Method Summary
protected  void cleanup()
          Performs any cleanup required.
protected  void init()
          Creates Profile Service AM with the given name.
protected  void runTest()
          Sample test that collects user specific information.
 
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

SampleCurrentUserInfoTest

public SampleCurrentUserInfoTest()
Method Detail

init

protected void init()
Creates Profile Service AM with the given name. Set up a Database connection

Specified by:
init in class AbstractDiagTest

runTest

protected void runTest()
Sample test that collects user specific information. It: 1. Prints the user's app and security roles 2. Prints the user's session attributes 3. Prints the user's profile attributes

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 Diagnostics
11g Release 1 (11.1.2)

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.