22 package com.realtime.crossfire.jxclient.test;
26 import org.jetbrains.annotations.NotNull;
27 import org.jetbrains.annotations.Nullable;
28 import org.junit.Assert;
43 throw new AssertionError();
53 throw new AssertionError();
86 throw new AssertionError();
101 public boolean equals(@Nullable
final Object obj) {
102 return obj != null && obj.getClass() == getClass();
void addScriptProcessListener(@NotNull final ScriptProcessListener scriptProcessListener)
Adds a ScriptProcessListener to be notified.the listener to add
boolean equals(@Nullable final Object obj)
void killScript()
Kills the script process.Does nothing if the process is not running.
Interface for listeners interested in ScriptProcess related events.
void commandSent(@NotNull final String cmd)
Sends a message to the script process.the message to send
int getScriptId()
Returns the script ID identifying this script instance.the script ID
String getFilename()
Returns the script's filename.the script's filename
Implements ScriptProcess for regression tests.
An external command executed as a client-sided script.
int compareTo(@NotNull final ScriptProcess o)