|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CBTest
CBTest.java
Method Summary | |
---|---|
List |
getActions()
Return a list with the actions contained in the Block. |
String |
getBehaviorName()
Gets the name of the test suite behavior |
org.eclipse.emf.common.util.EList |
getCBErrors()
Returns the value of the 'CB Errors' containment reference list. |
List[] |
getInheritedCBActionElements()
Get the list of Action Elements that are contained by this test. |
String |
getResource()
Get the resource setting of the implementor |
String |
getResourceType()
Get the type of resource. |
org.eclipse.emf.common.util.EList |
getRTBLocations()
Returns the value of the 'RTB Locations' containment reference list. |
org.eclipse.hyades.models.common.facades.behavioral.ITest |
getTest()
Returns the ITest |
String |
getType()
Get the Actual type of this class. |
CBVersion |
getVersion()
get test version (to be overloaded by descendants) |
boolean |
isOlderVersion()
This method detects if this test was created by an older version of the product and specifically, if the version of the test is older than the current version. |
void |
regenerateId()
FOR INTERNAL USE ONLY |
void |
save()
Method to save the test suite associated with this test. |
void |
save(IFile file)
Method to save the test suite associated with this test into a new test suite file. |
Object[] |
saveAndReturnInfo(IFile file)
Method to save the test suite associated with this test into a new test suite file. |
void |
saveToUnopenedTest(IFile file)
Method to save the test suite associated with this test into a new resource. |
void |
search(com.ibm.rational.test.common.models.behavior.util.CBMRunnable runnable)
Perform a search using the runnable by going thru the entire test until the runnable indicates its done. |
void |
setBehaviorName(String name)
Sets the name of the behavior |
void |
setName(String name)
Set the name of the element. |
void |
setResource(String resource)
Sets the resource for the implementor. |
void |
setTest(org.eclipse.hyades.models.common.facades.behavioral.ITest test)
Set the ITest. |
void |
setType(String type)
Set the type that this ITest represents. |
void |
unload()
Unload the testsuite when its no longer needed so the associated temp folders may be cleaned up. |
Methods inherited from interface com.ibm.rational.test.common.models.behavior.CBNamedElement |
---|
getDescription, getId, getName, getStopId, setDescription, setId |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface com.ibm.rational.test.common.models.behavior.internal.CBTempData |
---|
getTempAttribute, getTempAttribute, getTempAttributes, setTempAttribute, setTempAttribute, unsetTempAttribute |
Methods inherited from interface com.ibm.rational.test.common.models.behavior.CBAssetMigration |
---|
migrate, needMigration |
Methods inherited from interface com.ibm.rational.test.common.models.behavior.errors.CBErrorHost |
---|
canHostCBErrors, isErrorGenerator |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
org.eclipse.emf.common.util.EList getCBErrors()
CBError
.
If the meaning of the 'CB Errors' containment reference list isn't clear, there really should be more of a description here...
getCBErrors
in interface com.ibm.rational.test.common.models.behavior.errors.CBErrorHost
BehaviorPackage.getCBTest_CBErrors()
org.eclipse.emf.common.util.EList getRTBLocations()
CBLocation
.
If the meaning of the 'RTB Locations' attribute list isn't clear, there really should be more of a description here...
BehaviorPackage.getCBTest_RTBLocations()
org.eclipse.hyades.models.common.facades.behavioral.ITest getTest()
void setTest(org.eclipse.hyades.models.common.facades.behavioral.ITest test)
test
- - the ITest to setString getType()
void setType(String type)
type
- The actual class of the ITest as
a fully qualified class name.String getBehaviorName()
void setBehaviorName(String name)
name
- - name of the implementor, typically String getResource()
void setResource(String resource)
resource
- to setList getActions()
void save() throws Exception
Exception
- - this re-throws any exception during the underlying save operationvoid save(IFile file) throws Exception
Method to save the test suite associated with this test into a new test suite file. This will be
typically used by 'Save As' operations. The IFile
that is passed in should be the workspace
relative path to the location of the new test suite file. This method derives the name of
test from the file name by stripping the prefix path and the extension suffix.
Note, this method does not modify the properties of this test.
file
- The IFile
for the location of the new test suite file.
Exception
- The input file has invalid path or invalid name.
#see saveAndReturnInfo(IFile)
Object[] saveAndReturnInfo(IFile file) throws Exception
Method to save the test suite associated with this test into a new test suite file. This will be
typically used by 'Save As' operations. The IFile
that is passed in should be the workspace
relative path to the location of the new test suite file. This method derives the name of
test from the file name by stripping the prefix path and the extension suffix.
Note, this method does not modify the properties of this test.
file
- The IFile
for the location of the new test suite file.
this CBTest
after the method returns. The data is returned as an array of Objects.
There are at least three (as of version 8.1.1) elements in the array:
o[0]
is String
representing name of the new test
o[1]
is String
representing ID of the new test
o[2]
is URI
representing org.eclipse.emf.common.util.URI of the new test
Exception
- The input file has invalid path or invalid name.URI
,
CBTest.save(IFile)
void saveToUnopenedTest(IFile file) throws Exception
file
- IFile - the IFile for the new location where this is to be saved.
Exception
- - throws an exception if the input file has invalid path or invalid name.List[] getInheritedCBActionElements()
String getResourceType()
void setName(String name)
setName
in interface CBNamedElement
name
- of elementvoid search(com.ibm.rational.test.common.models.behavior.util.CBMRunnable runnable)
runnable
- void unload()
void regenerateId()
CBVersion getVersion()
boolean isOlderVersion()
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |