|
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.test.core.testgen.TestGenerator
Object to be extended by objects which will generate tests in the Testgen infrastructure This object is associated with extension point org.eclipse.hyades.execution.testgen.TestGenerator
| Field Summary | |
|---|---|
protected org.eclipse.core.runtime.IProgressMonitor |
monitor
|
protected java.lang.String |
outputFileName
the output filename (ends with .testsuite) |
protected org.eclipse.core.resources.IFile |
recModelFile
reference to the .recmodel file associated with the generated test |
| Constructor Summary | |
|---|---|
TestGenerator()
|
|
| Method Summary | |
|---|---|
void |
closeProgressDialog()
Deprecated. |
java.lang.String |
getJobTitle()
returns a string to be used as a job name |
java.lang.String |
getOutputFileName()
|
void |
initialize(org.eclipse.core.resources.IFile recModelFile,
java.lang.String outputFileName)
method called to initialize the Test Generator with needed information and references |
void |
initialize(org.eclipse.core.resources.IFile recModelFile,
java.lang.String outputFileName,
org.eclipse.core.runtime.IProgressMonitor monitor)
|
boolean |
isSuccess()
|
void |
run()
this method is called by the display to perform the test generation. |
abstract boolean |
runTestGen()
Deprecated. |
boolean |
runTestGen(org.eclipse.core.runtime.IProgressMonitor monitor)
|
void |
setMessage(java.lang.String message)
Deprecated. - use IProgressMonitor |
void |
setProgress(int percentComplete)
Deprecated. - use IProgressMonitor directly |
abstract boolean |
showProgress()
method called to determine whether or not a progress dialog should be shown with test generation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.eclipse.core.resources.IFile recModelFile
protected java.lang.String outputFileName
protected org.eclipse.core.runtime.IProgressMonitor monitor
| Constructor Detail |
public TestGenerator()
| Method Detail |
public abstract boolean runTestGen()
throws TestgenException
TestgenException
public boolean runTestGen(org.eclipse.core.runtime.IProgressMonitor monitor)
throws TestgenException
TestgenExceptionpublic abstract boolean showProgress()
public void initialize(org.eclipse.core.resources.IFile recModelFile,
java.lang.String outputFileName)
recModelFile - outputFileName -
public void initialize(org.eclipse.core.resources.IFile recModelFile,
java.lang.String outputFileName,
org.eclipse.core.runtime.IProgressMonitor monitor)
public void run()
run in interface java.lang.Runnablepublic void setProgress(int percentComplete)
percentComplete - public void setMessage(java.lang.String message)
message - public void closeProgressDialog()
public boolean isSuccess()
public java.lang.String getOutputFileName()
public java.lang.String getJobTitle()
|
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 | ||||||||||