public class KeywordScript extends Script
Script.TimeoutProvider
alarmTimer, backupPolicy, cmdOut1Name, cmdOut2Name, env, error_badExecuteArgs, error_badTestClassDir, error_compFailUnexp, error_noActionSpecified, error_noExecuteClass, error_noExtnInSource, error_noRMIClasses, error_noSource, excludedTestCases, fail_compFailUnexp, fail_compSuccUnexp, fail_execSuccUnexp, loader, noExtnInSource, noSource, notifier, pass_compFailExp, pass_compSuccExp, pass_execFailExp, scriptArgs, td, trOut, workDir
Constructor and Description |
---|
KeywordScript() |
Modifier and Type | Method and Description |
---|---|
void |
run()
Run the script, using the parameters set up by the standard initialization
methods.
|
Status |
run(java.lang.String[] args,
TestDescription td,
TestEnvironment env)
The primary method to be provided by Scripts.
|
compileIfNecessary, compileIfNecessary, compileIfNecessary, compileIfNecessary, compileIndividually, compileIndividually, compileIndividually, compileIndividually, compileOne, compileOne, compileOne, compileOne, compileTogether, compileTogether, compileTogether, compileTogether, exclude, execute, execute, execute, execute, filesToStrings, getJTRIfPassed, getTestDescription, getTestResult, getTestTimeout, getTimeoutProvider, initArgs, initBackupPolicy, initClassLoader, initDelegate, initExcludedTestCases, initTestDescription, initTestEnvironment, initTestResult, initWorkDir, invokeCommand, rmiCompile, rmiCompile, setAlarm, setAlarm, setDefaultCommandStreamNames, setJTRIfPassed, setNotifier, setTimeoutProvider, useNotifier
public void run()
public Status run(java.lang.String[] args, TestDescription td, TestEnvironment env)
Script
run
in class Script
args
- Any script-specific options specified in the script propertytd
- The test description for the test to be performedenv
- The test environment giving the details of how to run the testScript.compileIndividually(java.lang.String[])
,
Script.compileTogether(java.lang.String[])
,
Script.execute(java.lang.String, java.lang.String)
,
Script.invokeCommand(java.lang.String)
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.