|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appllcm.sdk.common.TestBaseLCM oracle.apps.fnd.appltest.diagfwk.TestBaseDiagfwk oracle.apps.fnd.appltest.diagfwk.engine.impl.apt.UTestAnnotationConverter
public class UTestAnnotationConverter
Nested Class Summary | |
---|---|
static class |
UTestAnnotationConverter.SampleTest
A Sample Java Test class to illustrate the use of annotations to specify test definition metadata |
Field Summary |
---|
Fields inherited from class oracle.apps.fnd.appltest.diagfwk.TestBaseDiagfwk |
---|
SYSPROP_ORACLE_ADR_BASE, SYSPROP_ORACLE_ADR_HOME, SYSPROP_ORACLE_ADR_INSTANCE_ID, SYSPROP_ORACLE_ADR_PRODUCT_ID, SYSPROP_TEST_DIR |
Fields inherited from class oracle.apps.fnd.appllcm.sdk.common.TestBaseLCM |
---|
mWorkingDir |
Constructor Summary | |
---|---|
UTestAnnotationConverter()
|
Method Summary | |
---|---|
oracle.xml.parser.schema.XMLSchema |
getSchema(java.io.InputStream xsdIS)
|
static void |
main(java.lang.String[] args)
|
void |
setUp()
|
static void |
setUpBeforeClass()
Use the SampleTest class to validate |
static junit.framework.Test |
suite()
|
static void |
tearDown()
|
void |
testAddName()
Test that testDefType name is set correctly. |
void |
testCreateStepDef()
Test that a JavaStepDef was create and added to the testDefType |
void |
testCreateSteps()
Test that a step was created and added to the testDeftype |
void |
testCreateTestDefMetadata()
Is this test set up correctly |
void |
testMain()
|
void |
testProcessAndTaxonomyTags()
Test testDefType.getTags, this can be filled by a Tags - Tag annotation and Taxonomy - Module annotations. |
void |
testProcessInputParameter()
Test testDeftype Inputs InputParameters |
void |
testProcessInputs()
Test testDefType Inputs |
void |
testProcessOutputParameter()
Test testDefType Outputs OutputParameter |
void |
testProcessOutputs()
Test testDefType Outputs |
void |
testProcessPLSQLPkg()
Test to see if testDefType.getTargetModules() contains objects for the TargetPLSQLPkgs annotation |
void |
testProcessPrereqs()
Test testDefType Prereqs |
void |
testProcessTag()
Test testDefType.getTags has TagNameValue objects inserted by the Tags Tag annotations |
void |
testProcessTargetJavaClasses()
Test testDefType.getTargetModule has JavaClassType as inserted by TargetJavaClasses annotation |
void |
testProcessTargetPLSQLPkgs()
The testDefType.getTargetModules.getJavaClassOrPlsqlPkg() contains objects for both the TargetJavaClasses and TargetPLSQLPkgs annotations so check the count |
void |
testProcessTaxonomyTagsModules()
Test testDefType.getTags has TagValueIdType objects inserted by the TaxonomyTags Module annotations |
void |
testProcessTestDef()
Test that the TestDef annotation info is copied into testDefType |
void |
validateXMLDoc(java.io.InputStream xmlIS,
java.io.InputStream xsdIS)
Helper method to validate an xml InputStream with a XMLSchema |
void |
validationTest()
Marshal the testDefType to xml and validate with testDef.xsd |
void |
validationTest(TestDefType tdt)
|
Methods inherited from class oracle.apps.fnd.appllcm.sdk.common.TestBaseLCM |
---|
assertFileContains, deleteFilesUnderDir, deleteFilesUnderDir, deleteFileUnderDir, deleteFileUnderWorkDir, getWorkingDir, setUpBase, setWorkingDir, tearDownBase, writeFileUnderDir, writeFileUnderWorkDir |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UTestAnnotationConverter()
Method Detail |
---|
public static void main(java.lang.String[] args)
public void setUp() throws java.lang.Exception
java.lang.Exception
public static void setUpBeforeClass() throws java.lang.Exception
java.lang.Exception
public static junit.framework.Test suite()
public static void tearDown()
public void testCreateTestDefMetadata()
public void testAddName()
public void testCreateSteps()
public void testCreateStepDef()
public void testProcessTestDef()
public void testProcessInputs()
public void testProcessInputParameter()
public void testProcessOutputs()
public void testProcessOutputParameter()
public void testProcessPrereqs()
public void testProcessAndTaxonomyTags()
public void testProcessTag()
public void testProcessTaxonomyTagsModules()
public void testProcessTargetJavaClasses()
public void testProcessTargetPLSQLPkgs()
public void testProcessPLSQLPkg()
public void validationTest()
public void testMain()
public void validationTest(TestDefType tdt)
tdt
- public void validateXMLDoc(java.io.InputStream xmlIS, java.io.InputStream xsdIS)
xmlIS
- xsdIS
- public oracle.xml.parser.schema.XMLSchema getSchema(java.io.InputStream xsdIS)
xsdIS
-
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |