From 45e3b5c49c034f4eaad92e692485b36966839706 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Thu, 22 Jul 2021 11:04:11 +1000 Subject: [PATCH] Add toggle test output to prompt Fixes #18887 --- .../io/quarkus/deployment/dev/testing/TestConsoleHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestConsoleHandler.java b/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestConsoleHandler.java index 3ba2ce6afc424..019c1c0680a91 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestConsoleHandler.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestConsoleHandler.java @@ -33,7 +33,8 @@ public class TestConsoleHandler implements TestListener { private static final Logger log = Logger.getLogger("io.quarkus.test"); - public static final ConsoleCommand TOGGLE_TEST_OUTPUT = new ConsoleCommand('o', "Toggle test output", + public static final ConsoleCommand TOGGLE_TEST_OUTPUT = new ConsoleCommand('o', "Toggle test output", "Toggle test output", + 1000, new ConsoleCommand.HelpState(TestSupport.instance().get()::isDisplayTestOutput), () -> TestSupport.instance().get().toggleTestOutput());