Package org.arquillian.cube.docker.drone
Class VncRecorderLifecycleManager
java.lang.Object
org.arquillian.cube.docker.drone.VncRecorderLifecycleManager
Vnc Cube is set to manual so we can start and stop before and after each test method.
Since recording is finished when container is stopped and we want to have one video per method, each time image is
started and stopped.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstartRecording(org.jboss.arquillian.test.spi.event.suite.Before beforeTestMethod, CubeDroneConfiguration cubeDroneConfiguration, CubeRegistry cubeRegistry) voidstopRecording(org.jboss.arquillian.test.spi.event.suite.After afterTestMethod, org.jboss.arquillian.test.spi.TestResult testResult, CubeDroneConfiguration cubeDroneConfiguration, SeleniumContainers seleniumContainers)
-
Constructor Details
-
VncRecorderLifecycleManager
public VncRecorderLifecycleManager()
-
-
Method Details
-
startRecording
public void startRecording(@Observes org.jboss.arquillian.test.spi.event.suite.Before beforeTestMethod, CubeDroneConfiguration cubeDroneConfiguration, CubeRegistry cubeRegistry) -
stopRecording
public void stopRecording(@Observes org.jboss.arquillian.test.spi.event.suite.After afterTestMethod, org.jboss.arquillian.test.spi.TestResult testResult, CubeDroneConfiguration cubeDroneConfiguration, SeleniumContainers seleniumContainers)
-