DefaultUserInputHandlerTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Minor tweak to layout of prompt used to ask user to select an option from a list.

  1. … 3 more files in changeset.
Allow the user to be prompted with a yes/no question that has a default response.

    • -5
    • +66
    ./DefaultUserInputHandlerTest.groovy
  1. … 4 more files in changeset.
Some work-arounds to improve the behaviour of the interactive prompts used by the `init` task. Ideally, the console infrastructure would better handle the prompts but this requires some deeper changes. The work-arounds allow us to try out the interactive behaviour and can be fixed later.

    • -3
    • +11
    ./DefaultUserInputHandlerTest.groovy
  1. … 1 more file in changeset.
Change the user prompt infrastructure to give the user some feedback when they enter a value that isn't valid for the question. Add some test coverage for user prompting.

    • -3
    • +25
    ./DefaultUserInputHandlerTest.groovy
  1. … 24 more files in changeset.
Change the `init` task to prompt the user for any build init settings that were not specified on the command-line.

    • -2
    • +109
    ./DefaultUserInputHandlerTest.groovy
  1. … 12 more files in changeset.
Avoid deadlock between output event renderer and listener manager (#4661)

Previously, the output event listener that forward build op notifications was downstream of the output event renderer, which has its own lock. It was possible to deadlock between this lock and the global listener manager lock.

Now, the build op notification forwarder is a peer of the renderer, so is not notified under its lock.

  1. … 12 more files in changeset.
Capture user input via internal API (#3007)

    • -0
    • +64
    ./DefaultUserInputHandlerTest.groovy
  1. … 28 more files in changeset.