IBM Rational Performance Tester SDK

com.ibm.rational.test.common.models.behavior
Interface CBTestInvocation

All Superinterfaces:
CBActionElement, com.ibm.rational.test.common.models.behavior.edit.CBCloneable, CBNamedElement, com.ibm.rational.test.common.models.behavior.internal.CBTempData, org.eclipse.emf.ecore.EObject, IAdaptable, org.eclipse.emf.common.notify.Notifier

public interface CBTestInvocation
extends CBActionElement

A Test Invocation is an Action and it containes the test that is inviked.

The following features are supported:

See Also:
BehaviorPackage.getCBTestInvocation()

Method Summary
 org.eclipse.hyades.models.common.facades.behavioral.ITest getInvokedTest()
          Get the invoked test.
 String getTestPath()
          Returns the value of the 'Test Path' attribute
 org.eclipse.emf.common.util.URI getTestURI()
          Deprecated.  
 void setInvokedTest(IFile file)
          Set the invoked test.
 void setInvokedTest(IFile file, String testName)
          Set the invoked test.
 void setTestPath(String value)
          Sets the value of the 'Test Path' attribute
 
Methods inherited from interface com.ibm.rational.test.common.models.behavior.CBActionElement
canDisable, canEnable, enable, getAction, getBooleanProperty, getByteProperty, getCharProperty, getDisabledCount, getDoubleProperty, getFloatProperty, getInheritedCBActionElements, getIntProperty, getLongProperty, getMovingFrom, getParent, getShortProperty, getStringProperty, getTransformID, getType, isAlwaysLog, isEnabled, isMoving, move, resetDisabledCount, setAction, setAlwaysLog, setDisabledCount, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setTransformID, setType, validate
 
Methods inherited from interface com.ibm.rational.test.common.models.behavior.CBNamedElement
getDescription, getId, getName, getStopId, setDescription, setId, setName
 
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.edit.CBCloneable
doClone, isCloneable
 
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

getTestPath

String getTestPath()
Returns the value of the 'Test Path' attribute.

If the meaning of the 'Test Path' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Test Path' attribute.
See Also:
CBTestInvocation.setTestPath(String), BehaviorPackage.getCBTestInvocation_TestPath()

setTestPath

void setTestPath(String value)
Sets the value of the 'Test Path' attribute.

Parameters:
value - the new value of the 'Test Path' attribute.
See Also:
CBTestInvocation.getTestPath()

getInvokedTest

org.eclipse.hyades.models.common.facades.behavioral.ITest getInvokedTest()
Get the invoked test.

Returns:
The invokes test as an ITest

setInvokedTest

void setInvokedTest(IFile file)
Set the invoked test.

Parameters:
file - IFile The test to invoke.

setInvokedTest

void setInvokedTest(IFile file,
                    String testName)
Set the invoked test.

Parameters:
file - IFile The test to invoke.

getTestURI

org.eclipse.emf.common.util.URI getTestURI()
Deprecated. 

Utility method to get the URI of the invoked test without loading it into memory

See Also:
CBTestInvocation.getTestPath()

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.