Package | Description |
---|---|
com.itko.lisa.editor | |
com.itko.lisa.test |
Modifier and Type | Method and Description |
---|---|
TestExec |
TestCaseInfo.getTestExec() |
Modifier and Type | Method and Description |
---|---|
void |
TestCaseInfo.setTestExec(TestExec ts) |
Modifier and Type | Method and Description |
---|---|
static TestExec |
TestExec.makeSimpleTestExec()
This is a utility method that will build a TestExec in a completely usable form
even tho' there is no real TestCase or real test going on.
|
Modifier and Type | Method and Description |
---|---|
long |
TestNode.calcThinkTimeFromSpec(TestExec ts,
java.lang.String thinkSpec) |
long |
TestNode.compensateForLastResponseTime(TestExec ts,
long candidateMillis)
Shorten the think based on the time we took since the last step
response was received (unless we are VSE)
At least one subclass of TestNode - the VSE BaseRespondStep - overrides this method...
|
void |
TestNode.destroy(TestExec ts)
This method gives the test node the ability to do final cleanup of
resources when the test has ended and will no longer be calling the node.
|
void |
TestCase.destroy(TestExec ts)
This method, like prepare() _must_ be called by any engine that is going to execute the test.
|
long |
TestNode.determineThinkTimeDelay(TestExec ts,
java.lang.String thinkSpec)
This method provides the means for determining how much to actually delay by converting
the given think time spec into a think time, adjusting it by the staging doc's think
time percentage and the starting time of the current step.
|
protected abstract void |
TestNode.execute(TestExec ts)
This is the method called by TestNode when all pre-processing related
to node execution is complete and LISA is prepared for the custom
node logic to be performed.
|
void |
NormalEnd.execute(TestExec ts) |
void |
Abend.execute(TestExec ts) |
boolean |
TestCase.execute(TestExec ts,
java.lang.String nodeName)
This method, again only needed if you are not going to call executeTest(),
will execute the next TestNode in the test, then return.
|
boolean |
TestCase.executeNextNode(TestExec ts) |
void |
TestNode.executeNode(TestExec ts)
public void executeNode( TestExec ts )
Method that is called internally by LISA to execute a node.
|
java.lang.Object |
CustJavaNodeInterface.executeNodeLogic(TestExec ts,
java.util.Map params)
This is the biggy.
|
void |
TestCase.executeTest(TestExec ts)
This is the typical way you run a test.
|
void |
TestNode.exportAssets(com.itko.lisa.asset.AssetContext assetContext,
TestExec testExec) |
static void |
Abend.failTest(TestExec ts,
java.lang.String log)
This is a handy way to end a test the same way this node would do it
|
java.lang.String |
RandSet.getRandom(TestExec ts)
Method generates a random from the list of possible values.
|
void |
DataSet.initialize(ParameterList params,
TestExec ts)
This is an alternative to getting one of these made by building a ParameterList instead
of giving us an XML Element.
|
static boolean |
TestEvent.isEventFiltered(TestExec ts,
int event)
Deprecated.
We can't do this deep inside TestExec b/c reporting will be affected
At the Simulator up level (in EventHandler) we apply a filter so that we don't chew
up network communication cycles to deliver events to those who don't care
|
static java.lang.String |
Environment.loadEncryptedProp(java.util.Properties systemProps,
TestExec ts,
java.lang.String unencryptedPropertyKey,
java.lang.String encryptedPropertyKey,
java.lang.String defaultValue) |
static java.lang.String |
Environment.loadEncryptedProp(TestExec ts,
java.lang.String unencryptedPropertyKey,
java.lang.String encryptedPropertyKey) |
static java.lang.String |
Environment.loadEncryptedProp(TestExec ts,
java.lang.String unencryptedPropertyKey,
java.lang.String encryptedPropertyKey,
java.lang.String defaultValue) |
static DataSet |
DataSetImpl.makeLocalDataSet(org.w3c.dom.Element dataSetElement,
TestExec ts) |
boolean |
FilterInterface.postFilter(TestExec ts)
This method is called on your filter after execution of the TestNode's
custom "execute()" method.
|
boolean |
FilterInterface.preFilter(TestExec ts)
This method is called by LISA after the currently executing TestNode
has prepared for the test Node's actual execution but before so doing.
|
protected boolean |
TestNode.processHit(TestExec ts,
boolean hit,
com.itko.lisa.test.Assertion assertion) |
protected void |
TestNode.processThinkTime(TestExec ts,
java.lang.String thinkSpec,
java.lang.String logShort,
java.lang.String logLong,
boolean quiet) |
static void |
TestNode.raiseNodeFailedEvent(TestExec ts,
java.lang.String nextNode,
java.lang.String shortDesc,
java.lang.String longDesc,
java.lang.Throwable throwable)
This method is to be used by all steps to raise nodeFailed events.
|
static void |
TestNode.raiseNodeFailedEvent(TestExec ts,
java.lang.String nextNode,
java.lang.String shortDesc,
java.lang.String longDesc,
java.lang.Throwable throwable,
boolean parseProps)
This method is to be used by all steps to raise nodeFailed events.
|
protected void |
TestNode.reconstituteResponse(TestExec ts)
This method should be overridden by respective test node to perform some operation after executing
node on remote simulator.
|
abstract void |
SimpleCompanion.testEnded(ParameterList params,
TestExec ts)
Called as LISA is ending the test.
|
void |
SimpleCompanion.testEnded(TestExec ts) |
void |
CompanionInterface.testEnded(TestExec ts)
Thisi is the mirror of the testStarted method; the Test has completed execution,
including sending the final event that would normally be sent to all the TestEvent
listeners.
|
protected abstract void |
SimpleCompanion.testStarting(ParameterList params,
TestExec ts)
Called when LISA is about to execute the test.
|
void |
SimpleCompanion.testStarting(TestExec ts) |
void |
CompanionInterface.testStarting(TestExec ts)
This method is called by LISA after the TestCase has been loaded and
the state object for the given test execution has been initialized, but
before the test has begun.
|
Copyright © 1998-2014 CA, Inc. All Rights Reserved.