com.togethersoft.testing.host
Interface ITestSuite


public interface ITestSuite
extends ITestStep

Represents a test suite - Ant makefile .

Stereotype tested
testcase test.com.togethersoft.testing.host.TestITestSuite

Method Summary
 ITargetgetDefaultTarget()
          Returns the default target of this suite.
 ITarget[]getTargets()
          Returns an array of all targets contained in the suite
 ITargetpaste(ITarget target, ISuiteEntry anchor, boolean before)
          Pastes a target into the suite
 voidsetDefaultTarget(ITarget defTarget)
          Sets the default target for this suite.

Methods inherited from interface com.togethersoft.testing.host.ITestStep
canGenerate, generate

Methods inherited from interface com.togethersoft.testing.host.ITestAsset
addUserObject, copy, cut, delete, getLocation, getParent, isReadOnly, pasteAttachments, removeUserObject, removeUserObjects, setAttribute, setName

Methods inherited from interface com.togethersoft.testing.shared.ITestAssetRO
getCategory

Methods inherited from interface com.togethersoft.testing.shared.IElementRO
getAttribute, getChild, getContent, getName, getRefId, getUserObjects, hasUserObject

Method Detail

getDefaultTarget

public ITarget getDefaultTarget()
Returns the default target of this suite.

getTargets

public ITarget[] getTargets()
Returns an array of all targets contained in the suite

paste

public ITarget paste(ITarget target, ISuiteEntry anchor, boolean before)
throws TestHostException
Pastes a target into the suite
Parameters:
target The target to be pasted
anchor Anchor at which the target should be placed
before If true the target will be placed before the anchor

setDefaultTarget

public void setDefaultTarget(ITarget defTarget)
Sets the default target for this suite.