Skip to content

Commit

Permalink
Add toggle test output to prompt
Browse files Browse the repository at this point in the history
Fixes quarkusio#18887

(cherry picked from commit 45e3b5c)
  • Loading branch information
stuartwdouglas authored and gsmet committed Aug 3, 2021
1 parent bc4a564 commit 59080f3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 59080f3

Please sign in to comment.