Crossfire JXClient, Trunk
R20561
|
Implements ScriptProcess for regression tests. More...
Public Member Functions | |||
void | addScriptProcessListener (@NotNull final ScriptProcessListener scriptProcessListener) | ||
Adds a ScriptProcessListener to be notified.
| |||
void | commandSent (@NotNull final String cmd) | ||
Sends a message to the script process.
| |||
int | compareTo (@NotNull final ScriptProcess o) | ||
boolean | equals (@Nullable final Object obj) | ||
String | getFilename () | ||
Returns the script's filename.
| |||
int | getScriptId () | ||
Returns the script ID identifying this script instance.
| |||
int | hashCode () | ||
void | killScript () | ||
Kills the script process.Does nothing if the process is not running. More... | |||
Implements ScriptProcess for regression tests.
All functions do call Assert#fail(). Sub-classes may override some functions.
Definition at line 35 of file TestScriptProcess.java.
void com.realtime.crossfire.jxclient.test.TestScriptProcess.addScriptProcessListener | ( | @NotNull final ScriptProcessListener | scriptProcessListener | ) |
Adds a ScriptProcessListener to be notified.
scriptProcessListener | the listener to add |
Implements com.realtime.crossfire.jxclient.scripts.ScriptProcess.
Definition at line 68 of file TestScriptProcess.java.
void com.realtime.crossfire.jxclient.test.TestScriptProcess.commandSent | ( | @NotNull final String | cmd | ) |
Sends a message to the script process.
cmd | the message to send |
Implements com.realtime.crossfire.jxclient.scripts.ScriptProcess.
Definition at line 60 of file TestScriptProcess.java.
int com.realtime.crossfire.jxclient.test.TestScriptProcess.compareTo | ( | @NotNull final ScriptProcess | o | ) |
Definition at line 84 of file TestScriptProcess.java.
boolean com.realtime.crossfire.jxclient.test.TestScriptProcess.equals | ( | @Nullable final Object | obj | ) |
Definition at line 101 of file TestScriptProcess.java.
String com.realtime.crossfire.jxclient.test.TestScriptProcess.getFilename | ( | ) |
Returns the script's filename.
Implements com.realtime.crossfire.jxclient.scripts.ScriptProcess.
Definition at line 51 of file TestScriptProcess.java.
int com.realtime.crossfire.jxclient.test.TestScriptProcess.getScriptId | ( | ) |
Returns the script ID identifying this script instance.
Implements com.realtime.crossfire.jxclient.scripts.ScriptProcess.
Definition at line 41 of file TestScriptProcess.java.
int com.realtime.crossfire.jxclient.test.TestScriptProcess.hashCode | ( | ) |
Definition at line 93 of file TestScriptProcess.java.
void com.realtime.crossfire.jxclient.test.TestScriptProcess.killScript | ( | ) |
Kills the script process.Does nothing if the process is not running.
Implements com.realtime.crossfire.jxclient.scripts.ScriptProcess.
Definition at line 76 of file TestScriptProcess.java.