|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestExec
Models a single test execution
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.facade.TestRunTreeNode |
---|
TestRunTreeNode.NodeType |
Field Summary |
---|
Method Summary | |
---|---|
void |
addChild(TestExec pChild)
Adds the given TestExec object to the list of this execution's child executions. |
void |
completeStepReport(java.lang.String pStepName)
Complets the step report for the given step |
void |
computeLinksInReport()
Computes the links within the contents of this report as well as any nested reports. |
void |
copy(TestExec e)
Copies contents of the given TestExec object into this object |
void |
fetch()
Fetches the details of a particular test execution. |
void |
fetch(boolean pFetchChildExecutions)
Fetches the details of a particular test execution. |
void |
fetch(boolean pFetchChildExecutions,
boolean bLoadReport)
Fetches the details of a particular test execution. |
TestExecList |
getChildTestExecList()
Gets the list of child executions for this test if any |
java.util.Date |
getEndTime()
Gets the end time |
java.lang.String |
getExecutionId()
Gets the test execution id |
java.lang.String |
getParentExecutionId()
Gets the parent execution id if any |
java.lang.String |
getReport()
Gets the execution report in the form a XML document |
TestReportExtn |
getReportObj()
Returns the associated report object |
java.lang.String |
getRunId()
Gets the test run id |
java.util.Date |
getStartTime()
Gets the start time |
java.lang.String |
getTestDisplayName()
Gets the test display name for this execution |
java.lang.String |
getTestId()
Gets the test id |
java.lang.String |
getTestName()
Gets the test name for this execution |
java.lang.Boolean |
getViewReportAllowed()
|
void |
initializeReport(java.lang.String pTestName,
java.lang.String pTestDisplayName,
java.lang.String pTestVersion)
Initializes the test report |
void |
initializeStepReport(java.lang.String pStepName,
java.lang.String pExecName,
java.lang.String pExecType)
Initializes the step report for the given step name |
void |
setChildTestExecList(TestExecList childExecList)
Sets the list of child executions for this test if any |
void |
setEndTime(java.util.Date pEndTime)
Sets the end time |
void |
setExecutionId(java.lang.String pExecutionId)
Sets the execution id |
void |
setParentExecutionId(java.lang.String pParentExecutionId)
Sets the parent execution id |
void |
setReport(java.lang.String pReport)
Sets the report XML |
void |
setReportObj(TestReportExtn pReport)
Sets the associated report object |
void |
setRunId(java.lang.String pRunId)
Sets the run id |
void |
setStartTime(java.util.Date pStartTime)
Sets the start time |
void |
setStatus(java.lang.String pStatus)
Sets the status |
void |
setTestDisplayName(java.lang.String testDisplayName)
Sets the test display name for this execution |
void |
setTestId(java.lang.String pTestId)
Sets the test id |
void |
setTestName(java.lang.String pTestName)
Sets the test name for this execution |
void |
setViewReportAllowed(java.lang.Boolean pViewReportAllowed)
|
void |
translateReport()
Translates the translatable contents of this report to user's session language. |
void |
visitAll(TestRun.TestRunVisitor pVisitor)
Traverses this Execution as well as all Exections under this Execution and invokes the appropriate "visit()" method on the TestRunVisitor for each node. |
java.lang.String |
writeReport(java.lang.String pOutDir,
boolean pWriteChildExecutions,
DiagConstants.Format pFormat)
Writes the contents of this execution's report in the specified format to the given output directory. |
java.lang.String |
writeReport(java.lang.String pOutDir,
DiagConstants.Format pFormat)
Writes the contents of this execution's report in the specified format to the given output directory. |
java.lang.String |
writeReportHTML(java.lang.String pOutDir)
Writes the contents of this execution's report in HTML format to the given output directory. |
java.lang.String |
writeReportHTML(java.lang.String pOutDir,
boolean pWriteChildExecutions)
Writes the contents of this execution's report in HTML format to the given output directory. |
java.lang.String |
writeReportXML(java.lang.String pOutDir)
Writes the report for this execution as well as all included executions (if any) to the given output directory. |
java.lang.String |
writeReportXML(java.lang.String pOutDir,
boolean pWriteChildExecutions)
Writes the report for this execution to the given output directory. |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.TestMoniterable |
---|
checkCanceled, checkDone, getStatus, isDone, save |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.DiagBObj |
---|
copyT, getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.facade.TestRunTreeNode |
---|
getChildren, getCreatedBy, getDiagStatus, getDisplayName, getElapsedTime, getExecStatus, getID, getName, getNodeReportObj, getNodeType, getRunBy, getStatus, hasReport, isDone |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.facade.DiagTreeNode |
---|
hasChildren |
Method Detail |
---|
java.lang.String getExecutionId()
java.lang.String getRunId()
java.lang.String getTestId()
java.lang.String getTestName()
java.lang.String getTestDisplayName()
java.lang.String getParentExecutionId()
java.util.Date getStartTime()
getStartTime
in interface TestRunTreeNode
java.util.Date getEndTime()
getEndTime
in interface TestRunTreeNode
java.lang.String getReport()
TestReportExtn getReportObj()
void setReportObj(TestReportExtn pReport)
pReport
- the execution report objectTestExecList getChildTestExecList()
void setExecutionId(java.lang.String pExecutionId)
pExecutionId
- the execution idvoid setRunId(java.lang.String pRunId)
pRunId
- the run idvoid setTestId(java.lang.String pTestId)
pTestId
- the test idvoid setTestName(java.lang.String pTestName)
pTestName
- the test name for this executionvoid setTestDisplayName(java.lang.String testDisplayName)
testDisplayName
- the display name for the test
in this execution.void setParentExecutionId(java.lang.String pParentExecutionId)
pParentExecutionId
- the parent execution idvoid setStatus(java.lang.String pStatus)
pStatus
- the statusvoid setStartTime(java.util.Date pStartTime)
pStartTime
- the start timevoid setEndTime(java.util.Date pEndTime)
pEndTime
- the end timevoid setReport(java.lang.String pReport)
pReport
- the report XMLjava.lang.Boolean getViewReportAllowed()
getViewReportAllowed
in interface TestRunTreeNode
void setViewReportAllowed(java.lang.Boolean pViewReportAllowed)
pViewReportAllowed
- new value of whether a test's execution report can
be viewedvoid setChildTestExecList(TestExecList childExecList)
childExecList
- the list of child executions for this test if anyvoid copy(TestExec e)
e
- the source TestExec object to copy fromvoid initializeReport(java.lang.String pTestName, java.lang.String pTestDisplayName, java.lang.String pTestVersion)
void initializeStepReport(java.lang.String pStepName, java.lang.String pExecName, java.lang.String pExecType)
pStepName
- name of the steppExecName
- name of the executable that will get executed for
the step.pExecType
- type of the executable for the step.void completeStepReport(java.lang.String pStepName)
pStepName
- name of the step to completevoid addChild(TestExec pChild)
pChild
- child execution to add.void fetch()
void fetch(boolean pFetchChildExecutions)
pFetchChildExecutions
- if true, this method will additionally,
also fetch details of any child executions. Otherwise fetches
details for only the current execution.void fetch(boolean pFetchChildExecutions, boolean bLoadReport)
pFetchChildExecutions
- if true, this method will additionally,
also fetch details of any child executions. Otherwise fetches
details for only the current execution.bLoadReport
- if true, this method will check the view report
permission and load the test report if it is allowed.java.lang.String writeReportXML(java.lang.String pOutDir, boolean pWriteChildExecutions)
The filenames for the report files are based on the GUID for the execution.
pOutDir
- output directory where the report file(s) are
written to.pWriteChildExecutions
- if true
writes the test
reports for all nested executions in this execution. Otherwise writes only
the report for this execution.
java.lang.String writeReportXML(java.lang.String pOutDir)
The file names for the report files are based on the GUIDs for the respective executions.
pOutDir
- output directory where the report file(s) are
written to.
java.lang.String writeReportHTML(java.lang.String pOutDir, boolean pWriteChildExecutions)
Additionally if pWriteChildExecutions is set to true, it will also write the reports for all nested executions (if any) to the output directory.
The file names for the report files are based on the GUIDs for the respective executions.
pOutDir
- output directory where the report files are generated.pWriteChildExecutions
- - if true
writes the test
reports for all nested executions in this execution. Otherwise writes only
the report for this execution.
java.lang.String writeReportHTML(java.lang.String pOutDir)
Additionally, this method also writes the reports for all nested executions (if any) to the output directory.
The file names for the report files are based on the GUIDs for the respective executions.
pOutDir
- output directory where the report files are generated.
java.lang.String writeReport(java.lang.String pOutDir, DiagConstants.Format pFormat)
Additionally, this method also writes the reports for all nested executions (if any) to the output directory.
The file names for the report files are based on the GUIDs for the respective executions.
pOutDir
- output directory where the report files are generated.pFormat
- format for the output e.g. XML or HTML.
java.lang.String writeReport(java.lang.String pOutDir, boolean pWriteChildExecutions, DiagConstants.Format pFormat)
Additionally if pWriteChildExecutions is set to true, it will also write the reports for all nested executions (if any) to the output directory.
The file names for the report files are based on the GUIDs for the respective executions.
pOutDir
- output directory where the report files are generated.pWriteChildExecutions
- - if true
writes the test
reports for all nested executions in this execution. Otherwise writes only
the report for this execution.pFormat
- - Format for the output e.g. XML or HTML
void translateReport()
void computeLinksInReport()
void visitAll(TestRun.TestRunVisitor pVisitor)
This method initially invokes pVisitor.visit(TestExec) with this execution object. Subsequently, it invokes pVisitor.visit(TestExec) for each nested execution (if any).
pVisitor
- TestRunVisitor performing the visit
on this run.
|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |