|
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.UTestDiagCmdExtractReport
public class UTestDiagCmdExtractReport
Test suite for the extract report command
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 | |
---|---|
UTestDiagCmdExtractReport()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
For testing standalone (outside of the build) |
protected TestRun |
runModuleKey(java.lang.String pModuleKey,
int pExpectedExecsTopLevel,
int pExpectedExecsNested)
|
protected TestRun |
runTest(java.lang.String pTestName)
|
protected TestRun |
runTest(java.lang.String pTestName,
int pExpectedTopLevelExecs,
int pExpectedNestedExecs)
|
void |
setUp()
|
static void |
setUpClass()
|
static junit.framework.Test |
suite()
For compatibility with old (pre junit 4.0) junit runners |
void |
tearDown()
|
static void |
tearDownClass()
|
void |
testInvalidDestDirFile()
|
void |
testInvalidDestDirParentPermission()
|
void |
testInvalidDestDirPermission()
|
void |
testInvalidExactOneReqParamRunIdExecId()
|
void |
testInvalidExactOneReqParamRunIdRunName()
|
void |
testInvalidExactOneReqParamRunNameExecId()
|
void |
testInvalidExactOneReqParamRunNameExecIdRunId()
|
void |
testInvalidExecId()
|
void |
testInvalidExecIdNoReport()
|
void |
testInvalidExtractReportNoRunIdRunNameExecIdParamsSpecified()
|
void |
testInvalidFormat()
|
void |
testInvalidNoViewReportPrivExecIdHTML()
|
void |
testInvalidRunId()
|
void |
testInvalidRunIdNoReport()
|
void |
testInvalidRunName()
|
void |
testInvalidRunNameNoReport()
|
void |
testValidNoViewReportPrivRunIdHTML()
|
void |
testValidRunMultiRunIdHTML()
|
void |
testValidRunMultiRunIdHTMLNoChildren()
|
void |
testValidRunMultiRunIdXML()
|
void |
testValidRunNestedExecIdHTML()
|
void |
testValidRunNestedExecIdXML()
|
void |
testValidRunNestedExecWithNoReport()
|
void |
testValidRunNestedExecWithNoReportXML()
|
void |
testValidRunSingleExecExecIdHTML()
|
void |
testValidRunSingleExecExecIdXML()
|
void |
testValidRunSingleExecRunIdHTML()
|
void |
testValidRunSingleExecRunIdHTMLNoNLSBundleSpecified()
|
void |
testValidRunSingleExecRunIdXML()
|
void |
testValidRunSingleExecRunIdXMLConsecutive()
|
void |
testValidRunSingleExecRunIdXMLConsecutive3Times()
|
protected static void |
verifyExtractedReport(TestExec pExec,
DiagCmdExtractReport.ReportWrapper pCmdResult,
java.lang.String pFormat)
|
protected static void |
verifyExtractedReport(TestRun pRun,
DiagCmdExtractReport.ReportWrapper pCmdResult,
java.lang.String pFormat)
|
protected static void |
verifyExtractedReport(TestRun pRun,
DiagCmdExtractReport.ReportWrapper pCmdResult,
java.lang.String pFormat,
boolean pCheckChildren)
|
protected static void |
verifyExtractedReportsExist(java.lang.String pMsg,
TestExec pExec,
java.lang.String pFormat)
Verifies that the report for the given execution along with reports for all the nested executions exists. |
protected static void |
verifyExtractedReportsExist(java.lang.String pMsg,
TestExec pExec,
java.lang.String pFormat,
java.lang.String pSubDir)
Verifies that the report for the given execution along with reports for all the nested executions exists. |
protected static void |
verifyExtractedReportsExist(java.lang.String pMsg,
TestRun pRun,
java.lang.String pFormat)
Verifies that the run report for the given run along with reports for all the nested executions exist |
protected static void |
verifyExtractedReportsExist(java.lang.String pMsg,
TestRun pRun,
java.lang.String pFormat,
boolean pCheckChildren)
Verifies that the run report for the given run along with reports for all the nested executions exist |
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 UTestDiagCmdExtractReport()
Method Detail |
---|
public static void setUpClass()
public void setUp()
public void testInvalidNoViewReportPrivExecIdHTML()
public void testInvalidExtractReportNoRunIdRunNameExecIdParamsSpecified()
public void testInvalidRunId()
public void testInvalidRunIdNoReport()
public void testInvalidRunName()
public void testInvalidRunNameNoReport()
public void testInvalidExecId()
public void testInvalidExecIdNoReport()
public void testInvalidExactOneReqParamRunIdRunName()
public void testInvalidExactOneReqParamRunIdExecId()
public void testInvalidExactOneReqParamRunNameExecId()
public void testInvalidExactOneReqParamRunNameExecIdRunId()
public void testInvalidFormat()
public void testInvalidDestDirFile()
public void testInvalidDestDirParentPermission()
public void testInvalidDestDirPermission()
public void testValidNoViewReportPrivRunIdHTML()
public void testValidRunSingleExecRunIdXML()
public void testValidRunSingleExecExecIdXML()
public void testValidRunSingleExecRunIdHTML()
public void testValidRunSingleExecRunIdHTMLNoNLSBundleSpecified()
public void testValidRunSingleExecExecIdHTML()
public void testValidRunMultiRunIdXML()
public void testValidRunMultiRunIdHTML()
public void testValidRunMultiRunIdHTMLNoChildren()
public void testValidRunNestedExecIdXML()
public void testValidRunNestedExecIdHTML()
public void testValidRunSingleExecRunIdXMLConsecutive()
public void testValidRunSingleExecRunIdXMLConsecutive3Times()
public void testValidRunNestedExecWithNoReport()
public void testValidRunNestedExecWithNoReportXML()
protected static void verifyExtractedReport(TestRun pRun, DiagCmdExtractReport.ReportWrapper pCmdResult, java.lang.String pFormat)
protected static void verifyExtractedReport(TestRun pRun, DiagCmdExtractReport.ReportWrapper pCmdResult, java.lang.String pFormat, boolean pCheckChildren)
protected static void verifyExtractedReport(TestExec pExec, DiagCmdExtractReport.ReportWrapper pCmdResult, java.lang.String pFormat)
protected static void verifyExtractedReportsExist(java.lang.String pMsg, TestRun pRun, java.lang.String pFormat)
pRun
- run for which to verify reports are extractedpFormat
- the expected format for the report.protected static void verifyExtractedReportsExist(java.lang.String pMsg, TestRun pRun, java.lang.String pFormat, boolean pCheckChildren)
pRun
- run for which to verify reports are extractedpFormat
- the expected format for the report.protected static void verifyExtractedReportsExist(java.lang.String pMsg, TestExec pExec, java.lang.String pFormat)
pExec
- execution for which to verify reports are extractedpFormat
- the expected format for the report.protected static void verifyExtractedReportsExist(java.lang.String pMsg, TestExec pExec, java.lang.String pFormat, java.lang.String pSubDir)
pExec
- execution for which to verify reports are extractedpFormat
- the expected format for the report.pSubDir
- if not null, uses this as the expected subdirectory. If null,
uses the execution's run id as the expected subdirectory
for this execution. Otherwise expects the sub directory to be the execution
id.protected TestRun runTest(java.lang.String pTestName)
protected TestRun runTest(java.lang.String pTestName, int pExpectedTopLevelExecs, int pExpectedNestedExecs)
protected TestRun runModuleKey(java.lang.String pModuleKey, int pExpectedExecsTopLevel, int pExpectedExecsNested)
public void tearDown()
public static void tearDownClass()
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
|
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 |