test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.