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

E22565-06

oracle.apps.fnd.appltest.diagfwk.engine.impl
Class TestDefListImpl

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<T>
              extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjListImpl<TestDef>
                  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.TestDefListImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<TestDef>, java.util.Collection<TestDef>, java.util.List<TestDef>, java.util.RandomAccess, DiagConstants, DiagBObjList<TestDef>, TestDefList

public class TestDefListImpl
extends DiagBObjListImpl<TestDef>
implements TestDefList

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/appltest/applications/Diagnostics/Engine/src/oracle/apps/fnd/appltest/diagfwk/engine/impl/TestDefListImpl.java /main/11 2009/06/05 14:18:09 ppradhan Exp $
Author:
ppradhan
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
APPS_MSG_ID_TAG_NAME, CFG_ADR_PROVIDER_CLASS, CFG_CACHE_PROVIDER_CLASS, CFG_CRED_PROVIDER_CLASS, CFG_DAO_FACTORY_CLASS, CFG_DB_CONN_INFO_PROVIDER_CLASS, CFG_DB_CONN_PROVIDER_CLASS, CFG_NLS_PROVIDER_CLASS, CFG_PLSQL_PROVIDER_CLASS, CFG_PROFILE_PROVIDER_CLASS, CFG_SECURITY_PROVIDER_CLASS, CFG_SESSION_INFO_PROVIDER_CLASS, CFG_URL_PROVIDER_FACTORY_CLASS, CFG_WLS_MBEANSRV_CONNINFO_PROVIDER_CLASS, DATA_SECURITY_PERMISSION_ALLOWED, DATA_SECURITY_PERMISSION_NOT_ALLOWED, DELIM_URL, EXEC_MODE_CLI, EXEC_MODE_ESS, EXEC_MODE_INCIDENT, EXEC_MODE_JAVA, EXEC_MODE_UI, EXECUTABLE_TYPE_JAVA, EXECUTABLE_TYPE_PLSQL, EXECUTABLE_TYPE_TESTREF, FORMAT_HTML, FORMAT_XML, GUID_ORACLE_MINUS1, GUID_ORACLE_ZERO, INPUTS_STATUS_ALL_OPT_INPUTS, INPUTS_STATUS_NO_INPUTS, INPUTS_STATUS_REQ_INPUTS_NO_DEFAULTS, INPUTS_STATUS_REQ_INPUTS_W_DEFAULTS, IO_FLAG_I, IO_FLAG_O, JMX_API_BASE_OBJECT_NAME, LINK_EXTERNAL, LINK_INTERNAL, LINK_METALINK, N, NLS_BUNDLE_JAVA_RES, NLS_BUNDLE_MSG_SVC, NLS_BUNDLE_RES_REF, NLS_BUNDLE_XLIFF, NO, NULL, ODF_MBEAN_DOMAIN_NAME, PARAM_MON_INTERVAL, PLSQL_DEBUG_ENABLED_SYSTEM_PROP, PREREQ_TYPE_TAG_VALUE, PREREQ_TYPE_TEST, SECONDS_IN_ONE_DAY, SECONDS_IN_ONE_HOUR, STATUS_CANCELED, STATUS_EXECERROR, STATUS_FAILURE, STATUS_RUNNING, STATUS_SUCCESS, STATUS_WARNING, SYS_PROP_MAX_MONITOR_INTERNVAL, SYS_PROP_MAX_NUM_THREADS, SYSPROP_APPCONNFILE, SYSPROP_DIAG_CONFIG_FILE, TAG_TYPE_DIAG, TAG_TYPE_TAXONOMY, TEST_TYPE_DECL, TEST_TYPE_JAVA, USER_NAME, WEB_APP_NAME_TAG_NAME, Y, YES
 
Constructor Summary
TestDefListImpl()
           
 
Method Summary
 TestDef elemInstance()
          Creates an instance of an element for this list
 TestDef getByName(java.lang.String pTestName)
          Returns a test definition object with the given name from the list.
 java.lang.String[] getTestIds()
          Returns a list of test IDs for the tests in this list
 void populateFromDir(java.lang.String pDir)
          Populates one or more TestDef objects into the list based on the test definition files (either Java source files or XML files) that exist under the given directory path.
 java.util.List<TestTreeNode> prepareTreeNodes(java.lang.String[] pTestNames)
          Prepares a list of TestTreeNode instances for the given list of test names.
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjListImpl
copy, copyBObjList
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.DiagBObjList
copy
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

TestDefListImpl

public TestDefListImpl()
Method Detail

populateFromDir

public void populateFromDir(java.lang.String pDir)
Description copied from interface: TestDefList
Populates one or more TestDef objects into the list based on the test definition files (either Java source files or XML files) that exist under the given directory path.

Specified by:
populateFromDir in interface TestDefList
Parameters:
pDir - directory path to load test definitions from.

elemInstance

public TestDef elemInstance()
Description copied from class: DiagBObjListImpl
Creates an instance of an element for this list

Specified by:
elemInstance in interface DiagBObjList<TestDef>
Specified by:
elemInstance in class DiagBObjListImpl<TestDef>
Returns:
an instance of an element (of the right type) for this list.

prepareTreeNodes

public java.util.List<TestTreeNode> prepareTreeNodes(java.lang.String[] pTestNames)
Description copied from interface: TestDefList
Prepares a list of TestTreeNode instances for the given list of test names.

Specified by:
prepareTreeNodes in interface TestDefList
Parameters:
pTestNames - names of tests
Returns:
list of TestTreeNode instances corresponding to the given test names.

getByName

public TestDef getByName(java.lang.String pTestName)
Description copied from interface: TestDefList
Returns a test definition object with the given name from the list.

Specified by:
getByName in interface TestDefList
Parameters:
pTestName - name of the test definition to get
Returns:
the first test definition object with the given name from the list. Returns null if no such test definition found

getTestIds

public java.lang.String[] getTestIds()
Description copied from interface: TestDefList
Returns a list of test IDs for the tests in this list

Specified by:
getTestIds in interface TestDefList
Returns:
a list of test IDs for the tests in this list

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

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.