Package ratpack.test.remote
Class RemoteControl
- java.lang.Object
-
- ratpack.test.remote.RemoteControl
-
public class RemoteControl extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RemoteControl(ApplicationUnderTest application)
RemoteControl(ApplicationUnderTest application, io.remotecontrol.client.UnserializableResultStrategy unserializableResultStrategy)
RemoteControl(ApplicationUnderTest application, java.lang.String path)
RemoteControl(ApplicationUnderTest application, java.lang.String path, io.remotecontrol.client.UnserializableResultStrategy unserializableResultStrategy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Closure<?>
command(Closure<?> command)
static io.remotecontrol.client.RemoteControlSupport<io.remotecontrol.groovy.ClosureCommand>
createSupport(ApplicationUnderTest application, java.lang.String path, io.remotecontrol.client.UnserializableResultStrategy unserializableResultStrategy)
java.lang.Object
exec(Closure<?>... commands)
RemoteControl
uses(Closure<?>... uses)
-
-
-
Constructor Detail
-
RemoteControl
public RemoteControl(ApplicationUnderTest application, java.lang.String path, io.remotecontrol.client.UnserializableResultStrategy unserializableResultStrategy)
-
RemoteControl
public RemoteControl(ApplicationUnderTest application, java.lang.String path)
-
RemoteControl
public RemoteControl(ApplicationUnderTest application, io.remotecontrol.client.UnserializableResultStrategy unserializableResultStrategy)
-
RemoteControl
public RemoteControl(ApplicationUnderTest application)
-
-
Method Detail
-
createSupport
public static io.remotecontrol.client.RemoteControlSupport<io.remotecontrol.groovy.ClosureCommand> createSupport(ApplicationUnderTest application, java.lang.String path, io.remotecontrol.client.UnserializableResultStrategy unserializableResultStrategy)
-
uses
public RemoteControl uses(Closure<?>... uses)
-
exec
public java.lang.Object exec(@DelegatesTo(value=CommandDelegate.class,strategy=1) Closure<?>... commands) throws java.io.IOException
- Throws:
java.io.IOException
-
command
public static Closure<?> command(@DelegatesTo(value=CommandDelegate.class,strategy=1) Closure<?> command)
-
-