public class SecurityTestRunnerImpl extends AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext> implements SecurityTestRunner
TestRunner.Status
Constructor and Description |
---|
SecurityTestRunnerImpl(SecurityTest test,
StringToObjectMap properties) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear(SecurityTestRunContext runContext) |
TestStep |
cloneForSecurityScan(WsdlTestStep sourceTestStep)
Clones original TestStep for security modification this does not alter the
original test step
|
static TestStep |
cloneTestStepForSecurityScan(WsdlTestStep sourceTestStep)
Clones original TestStep for security modification this does not alter the
original test step
|
SecurityTestRunContext |
createContext(StringToObjectMap properties) |
protected void |
failTestRunnableOnErrors(SecurityTestRunContext runContext) |
protected void |
fillInTestRunnableListeners() |
long |
getFunctionalTimeTaken() |
SecurityTest |
getSecurityTest() |
WsdlTestCase |
getTestCase()
Gets the TestCase being run
|
long |
getTimeTaken()
Returns the time taken by this runner since its last start
|
protected void |
notifyAfterRun() |
protected void |
notifyBeforeRun() |
protected int |
runCurrentTestStep(SecurityTestRunContext runContext,
int currentStepIndex)
Runs current testStep , returns index of the next step to be run and -2 in
case execution should break if canceled
|
protected void |
runSetupScripts(SecurityTestRunContext runContext) |
protected void |
runTearDownScripts(SecurityTestRunContext runContext) |
TestStepResult |
runTestStep(TestStep testStep,
boolean discard,
boolean process) |
SecurityScanResult |
runTestStepSecurityScan(SecurityTestRunContext runContext,
TestStep currentStep,
SecurityScan securityScan) |
enforceMaxResults, getGotoStepIndex, getResultCount, getResults, getStartStep, gotoStep, gotoStepByName, internalFinally, internalRun, onCancel, onFail, runBeforeSteps, runTestStep, runTestStepByName, setResultCount, setStartStep
cancel, fail, getError, getId, getReason, getRunContext, getStartTime, getStatus, getTestRunnable, getThread, isCanceled, isFailed, isRunning, run, setError, setStartTime, setStatus, setTimeTaken, start, startTimeoutTimer, waitUntilFinished
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, fail, getReason, getRunContext, getStartTime, getStatus, getTestRunnable, isRunning, start, waitUntilFinished
getRunContext
public SecurityTestRunnerImpl(SecurityTest test, StringToObjectMap properties)
public SecurityTestRunContext createContext(StringToObjectMap properties)
createContext
in class AbstractTestRunner<SecurityTest,SecurityTestRunContext>
public SecurityTest getSecurityTest()
getSecurityTest
in interface SecurityTestRunner
public TestStepResult runTestStep(TestStep testStep, boolean discard, boolean process)
runTestStep
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
public TestStep cloneForSecurityScan(WsdlTestStep sourceTestStep)
sourceTestStep
- public static TestStep cloneTestStepForSecurityScan(WsdlTestStep sourceTestStep)
sourceTestStep
- protected int runCurrentTestStep(SecurityTestRunContext runContext, int currentStepIndex)
AbstractTestCaseRunner
runCurrentTestStep
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
public SecurityScanResult runTestStepSecurityScan(SecurityTestRunContext runContext, TestStep currentStep, SecurityScan securityScan)
runTestStepSecurityScan
in interface SecurityTestRunner
protected void notifyBeforeRun()
notifyBeforeRun
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
protected void notifyAfterRun()
notifyAfterRun
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
public WsdlTestCase getTestCase()
TestCaseRunner
getTestCase
in interface TestCaseRunner
getTestCase
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
protected void clear(SecurityTestRunContext runContext)
clear
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
protected void runSetupScripts(SecurityTestRunContext runContext) throws Exception
runSetupScripts
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
Exception
protected void runTearDownScripts(SecurityTestRunContext runContext) throws Exception
runTearDownScripts
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
Exception
protected void fillInTestRunnableListeners()
fillInTestRunnableListeners
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
protected void failTestRunnableOnErrors(SecurityTestRunContext runContext)
failTestRunnableOnErrors
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
public long getTimeTaken()
TestRunner
getTimeTaken
in interface TestRunner
getTimeTaken
in class AbstractTestCaseRunner<SecurityTest,SecurityTestRunContext>
public long getFunctionalTimeTaken()
Copyright © 2019. All Rights Reserved.