Package org.sikuli.script.runners
Class SilkulixGitTestRunner
- java.lang.Object
-
- org.sikuli.script.runners.AbstractScriptRunner
-
- org.sikuli.script.runners.NetworkRunner
-
- org.sikuli.script.runners.SilkulixGitTestRunner
-
- All Implemented Interfaces:
IScriptRunner
public class SilkulixGitTestRunner extends NetworkRunner
Runs the Sikulix test scripts from https://github.com/RaiMan/SikuliX-2014/tree/master/TestScripts TODO Check if this is still needed- Author:
- mbalmer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sikuli.script.support.IScriptRunner
IScriptRunner.EffectiveRunner, IScriptRunner.Options
-
-
Constructor Summary
Constructors Constructor Description SilkulixGitTestRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intdoEvalScript(String scriptFile, IScriptRunner.Options options)String[]getExtensions()returns the list of possible script file extensions, first is the defaultStringgetName()Gets the name of the ScriptRunner.StringgetType()return the type of script this handler can execute.booleanisSupported()Checks if the current platform supports this runner.-
Methods inherited from class org.sikuli.script.runners.NetworkRunner
adjustBundlePath, canHandle, doAbort, doRunScript, isAbortSupported, resetBundlePath, resolveRelativeFile
-
Methods inherited from class org.sikuli.script.runners.AbstractScriptRunner
abort, canHandleFileEnding, close, doClose, doInit, doRedirect, doRunLines, evalScript, execAfter, execBefore, getDefaultExtension, getEffectiveRunner, getFileEndings, hasExtension, init, isAborted, isReady, isRunning, log, redirect, reset, runLines, runScript
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
EXTENSIONS
public static final String[] EXTENSIONS
-
-
Method Detail
-
doEvalScript
protected int doEvalScript(String scriptFile, IScriptRunner.Options options)
- Overrides:
doEvalScriptin classAbstractScriptRunner
-
isSupported
public boolean isSupported()
Description copied from interface:IScriptRunnerChecks if the current platform supports this runner.- Specified by:
isSupportedin interfaceIScriptRunner- Overrides:
isSupportedin classNetworkRunner- Returns:
- true if platform supports this runner, false otherwise
-
getName
public String getName()
Description copied from interface:IScriptRunnerGets the name of the ScriptRunner. Should be unique. This value is needed to distinguish between different ScriptRunners.- Specified by:
getNamein interfaceIScriptRunner- Overrides:
getNamein classNetworkRunner- Returns:
- Name to identify the ScriptRunner or null if not available
-
getExtensions
public String[] getExtensions()
Description copied from interface:IScriptRunnerreturns the list of possible script file extensions, first is the default- Specified by:
getExtensionsin interfaceIScriptRunner- Overrides:
getExtensionsin classNetworkRunner- Returns:
- array of strings
-
getType
public String getType()
Description copied from interface:IScriptRunnerreturn the type of script this handler can execute.- Specified by:
getTypein interfaceIScriptRunner- Overrides:
getTypein classNetworkRunner- Returns:
-
-