test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
GRADLE-2226, LongRunningOperation.withArguments() not working.

The arguments parsing now happens with allowUnknownOptions(). Also the verboseLogging settings is consumed differently - we always parse the arguments regardless of the verboseLogging. This way we can avoid such bug in future. The verbose logging parameter only kicks in if the log level is not provided by the arguments. Minor tweaks to the integration test.

(cherry picked from commit 4c9ea8e)

  1. … 5 more files in changeset.
GRADLE-2226, LongRunningOperation.withArguments() not working. The arguments parsing now happens with allowUnknownOptions(). Also the verboseLogging settings is consumed differently - we always parse the arguments regardless of the verboseLogging. This way we can avoid such bug in future. The verbose logging parameter only kicks in if the log level is not provided by the arguments. Minor tweaks to the integration test.

    • -0
    • +42
    ./groovy/org/gradle/cli/ParsedCommandLineTest.groovy
  1. … 5 more files in changeset.
Fix for broken unit test.

GRADLE-1774 add more test coverage - extracted tests covering AbstractPropertiesCommandLineConverter functionality to AbstractPropertiesCommandLineConverterTest - added explicit test for AbstractPropertiesCommandLineConverter#configure(CommandLineParser)

    • -0
    • +73
    ./groovy/org/gradle/cli/AbstractPropertiesCommandLineConverterTest.groovy
    • -10
    • +0
    ./groovy/org/gradle/cli/ProjectPropertiesCommandLineConverterTest.groovy
    • -11
    • +0
    ./groovy/org/gradle/cli/SystemPropertiesCommandLineConverterTest.groovy
  1. … 1 more file in changeset.
GRADLE-1774 fixed project properties with equals - introduced AbstractPropertiesCommandLineConverter for handling property based cmdline options. - extracted logic from SystemPropertiesCommandLineConverter to AbstractPropertiesCommandLineConverter - introduced ProjectPropertiesCommandLineConverter for projectProperties

    • -0
    • +42
    ./groovy/org/gradle/cli/ProjectPropertiesCommandLineConverterTest.groovy
  1. … 4 more files in changeset.
- Added CommandLineOption.experimental flag and updated command-line converters to use this. - Deprecated --embedded, with no replacement.

  1. … 4 more files in changeset.
Fix for -D command-line options with '=' in their value.

    • -1
    • +11
    ./groovy/org/gradle/cli/SystemPropertiesCommandLineConverterTest.groovy
  1. … 1 more file in changeset.
GRADLE-1871 - when accepting unknown arguments on the CLI, don't try and parse each character as an option.

  1. … 2 more files in changeset.
Use the cli project within the wrapper to standardise argument parsing.

This includes:

• Extracting parsing of system properties into a standalone converter (used by wrapper and core)

• Changing the wrapper jar to be “fat” to include the classes from cli

    • -0
    • +33
    ./groovy/org/gradle/cli/SystemPropertiesCommandLineConverterTest.groovy
  1. … 10 more files in changeset.
- Moved tests for cli classes from core to cli package. - Changed convention for the groovy projects (in the gradle build) so that groovy is not included as a compile or runtime dependency when the project does not have any groovy source directories.

    • -0
    • +568
    ./groovy/org/gradle/cli/CommandLineParserTest.groovy
  1. … 4 more files in changeset.