|
TPTP 4.2.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.automation.core.AbstractService
org.eclipse.hyades.automation.server.AbstractService
org.eclipse.hyades.automation.server.AbstractRelaunchableService
org.eclipse.hyades.automation.server.AbstractWorkspaceSensitiveService
org.eclipse.hyades.automation.server.AbstractProjectSensitiveService
org.eclipse.hyades.test.core.services.AbstractTestResultsPublicationService
The abstract test results publication service provides a base implementation of test results publication that may be extended by more specialized publication services Four input properties of 'workspace', 'project', 'results' and 'report' without any output properties defined. The service identity is 'org.eclipse.hyades.test.core.publish'
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.hyades.automation.core.Service |
|---|
org.eclipse.hyades.automation.core.Service.Discoverable, org.eclipse.hyades.automation.core.Service.Executable, org.eclipse.hyades.automation.core.Service.Requestable |
| Field Summary | |
|---|---|
protected long |
endDate
optional end time range for report |
protected java.lang.String |
report
Path to file where report should be written |
protected java.lang.String |
reportTemplateLocation
optional location of BIRT report template |
protected java.lang.String[] |
resultPaths
|
protected java.util.List |
results
List of results on which to report |
protected long |
startDate
optional start time range for report |
| Fields inherited from class org.eclipse.hyades.automation.server.AbstractProjectSensitiveService |
|---|
project, projectSpecifier |
| Fields inherited from class org.eclipse.hyades.automation.server.AbstractWorkspaceSensitiveService |
|---|
workspace, workspaceSpecifier |
| Constructor Summary | |
|---|---|
protected |
AbstractTestResultsPublicationService()
Default constructor invokes up hierarchy for any initialization required |
| Method Summary | |
|---|---|
protected void |
cleanup()
Cleanup after service executes |
java.lang.Object |
execute()
|
protected void |
handleThrowable(java.lang.Throwable t)
Default outputs throwable to standard console out |
protected void |
initialize()
|
protected abstract void |
publish()
Publish the test results report |
protected void |
resolvePaths()
The pathnames specified in the results list are treated in the following manner: If the path is absolute, it will be converted into a path relative to the project, by searching the workspace and project passed into the service. |
protected java.lang.Object |
returnResult()
Derive result to return |
| Methods inherited from class org.eclipse.hyades.automation.server.AbstractProjectSensitiveService |
|---|
getProject, refreshProject |
| Methods inherited from class org.eclipse.hyades.automation.server.AbstractRelaunchableService |
|---|
copy, reconstructCommandLine |
| Methods inherited from class org.eclipse.hyades.automation.server.AbstractService |
|---|
execute |
| Methods inherited from class org.eclipse.hyades.automation.core.AbstractService |
|---|
configure, configure, createMemento, getIdentifier, getProperties, getProperty, getProperty, getPublicProperties, getRoot, isQuiet, print, println, println, setMemento, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.util.List results
protected java.lang.String report
protected java.lang.String[] resultPaths
protected long startDate
protected long endDate
protected java.lang.String reportTemplateLocation
| Constructor Detail |
protected AbstractTestResultsPublicationService()
| Method Detail |
protected void cleanup()
public final java.lang.Object execute()
protected void initialize()
protected void resolvePaths()
protected void handleThrowable(java.lang.Throwable t)
t - the throwable caught to be handledprotected abstract void publish()
protected java.lang.Object returnResult()
|
TPTP 4.2.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||