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

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine
Interface TestDefList

All Superinterfaces:
java.util.Collection<TestDef>, DiagBObjList<TestDef>, java.lang.Iterable<TestDef>, java.util.List<TestDef>
All Known Implementing Classes:
TestDefListImpl

public interface TestDefList
extends DiagBObjList<TestDef>


Method Summary
 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 pDirPath)
          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 interface oracle.apps.fnd.appltest.diagfwk.engine.DiagBObjList
copy, elemInstance
 
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
 

Method Detail

populateFromDir

void populateFromDir(java.lang.String pDirPath)
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.

Parameters:
pDirPath - directory path to load test definitions from.

prepareTreeNodes

java.util.List<TestTreeNode> prepareTreeNodes(java.lang.String[] pTestNames)
Prepares a list of TestTreeNode instances for the given list of test names.

Parameters:
pTestNames - names of tests
Returns:
list of TestTreeNode instances corresponding to the given test names.

getByName

TestDef getByName(java.lang.String pTestName)
Returns a test definition object with the given name from the list.

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

java.lang.String[] getTestIds()
Returns a list of test IDs for the tests in this list

Returns:
a list of test IDs for the tests in this list

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

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.