Class TestConsoleHandler
- java.lang.Object
-
- io.quarkus.deployment.dev.testing.TestConsoleHandler
-
- All Implemented Interfaces:
TestListener
public class TestConsoleHandler extends Object implements TestListener
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleancurrentlyFailing(package private) DevModeTypedevModeType(package private) booleandisabled(package private) booleanfirstRun(package private) TestControllertestControllerstatic ConsoleCommandTOGGLE_TEST_OUTPUT
-
Constructor Summary
Constructors Constructor Description TestConsoleHandler(DevModeType devModeType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddTestOutput()voidinstall()voidlistenerRegistered(TestController testController)voidtestCompileFailed(String message)voidtestCompileSucceeded()voidtestRunStarted(Consumer<TestRunListener> listenerConsumer)voidtestsDisabled()voidtestsEnabled()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.deployment.dev.testing.TestListener
setBrokenOnly, setInstrumentationBasedReload, setLiveReloadEnabled, setTestOutput
-
-
-
-
Field Detail
-
TOGGLE_TEST_OUTPUT
public static final ConsoleCommand TOGGLE_TEST_OUTPUT
-
devModeType
final DevModeType devModeType
-
firstRun
boolean firstRun
-
disabled
boolean disabled
-
currentlyFailing
boolean currentlyFailing
-
testController
volatile TestController testController
-
-
Constructor Detail
-
TestConsoleHandler
public TestConsoleHandler(DevModeType devModeType)
-
-
Method Detail
-
install
public void install()
-
listenerRegistered
public void listenerRegistered(TestController testController)
- Specified by:
listenerRegisteredin interfaceTestListener
-
addTestOutput
void addTestOutput()
-
testsEnabled
public void testsEnabled()
- Specified by:
testsEnabledin interfaceTestListener
-
testsDisabled
public void testsDisabled()
- Specified by:
testsDisabledin interfaceTestListener
-
testCompileFailed
public void testCompileFailed(String message)
- Specified by:
testCompileFailedin interfaceTestListener
-
testCompileSucceeded
public void testCompileSucceeded()
- Specified by:
testCompileSucceededin interfaceTestListener
-
testRunStarted
public void testRunStarted(Consumer<TestRunListener> listenerConsumer)
- Specified by:
testRunStartedin interfaceTestListener
-
-