Uses of Interface
ratpack.test.embed.EphemeralBaseDir
-
Packages that use EphemeralBaseDir Package Description ratpack.test.embed Support for creating embedded applications at test time, for testing Ratpack features and extensions. -
-
Uses of EphemeralBaseDir in ratpack.test.embed
Methods in ratpack.test.embed that return EphemeralBaseDir Modifier and Type Method Description default EphemeralBaseDir
EphemeralBaseDir. closeOnExit()
Add's a JVM shutdown hook that willclose()
this base dir.static EphemeralBaseDir
EphemeralBaseDir. dir(java.io.File dir)
Creates a new base dir, using the given dir as the root.static EphemeralBaseDir
EphemeralBaseDir. jar(java.io.File jarFile)
Creates a new base dir which is actually a jar at the given location.static EphemeralBaseDir
EphemeralBaseDir. tmpDir()
Creates a new base dir, using a newly created dir within the JVM's assigned temp dir.static EphemeralBaseDir
EphemeralBaseDir. tmpJar()
Creates a new base dir which is actually a jar created within the JVM's assigned temp dir.Method parameters in ratpack.test.embed with type arguments of type EphemeralBaseDir Modifier and Type Method Description default void
EphemeralBaseDir. use(Action<? super EphemeralBaseDir> action)
Executes the given action with this base dir, then closes this base dir.
-