StartScriptGeneratorTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Support Java modules in Java application start scripts

  1. … 15 more files in changeset.
Support Java modules in Java application start scripts

  1. … 15 more files in changeset.
Support Java modules in Java application start scripts

  1. … 15 more files in changeset.
Support Java modules in Java application start scripts

  1. … 16 more files in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

  1. … 407 more files in changeset.
Fix more constructors

  1. … 12 more files in changeset.
Simplify start script generation and fix a few problems.

Most notably, we no longer hold readers open eagerly.

+review REVIEW-5416

  1. … 20 more files in changeset.
Turned JavaAppStartScriptGeneratorDetails into an interface and made implementation immutable.

+review REVIEW-5416

  1. … 7 more files in changeset.
Use concrete type instead of parameterizing the generators.

+review REVIEW-5416

  1. … 11 more files in changeset.
Moved classes to different package.

+review REVIEW-5416

  1. … 18 more files in changeset.
Populate data in setup method.

+review REVIEW-5416

More tests to make sure the translation from parameters to ScriptGenerationDetails works as expected.

+review REVIEW-5416

  1. … 2 more files in changeset.
Expose ScriptGenerator instances for Unix and Windows to users of task. For now funnel through StartScriptGenerator to avoid having to change other integration points.

+review REVIEW-5416

    • -172
    • +0
    ./StartScriptGeneratorTest.groovy
  1. … 5 more files in changeset.
REVIEW-2341: escape ` when generating StartScripts

  1. … 1 more file in changeset.
defaultJvmOpts argument quoting for scripts

  1. … 2 more files in changeset.
ApplicationPlugin/CreateStartScripts: defaultJvmOpts settable

  1. … 8 more files in changeset.
Add unit test for line separators handling in StartScriptGeneratorTask.

    • -11
    • +35
    ./StartScriptGeneratorTest.groovy
remove unused imports

cleanup StartScriptGeneratorTask: remove temporaryFile rule & comment

GRADLE-1823: fixed wrong path separator in script - splitted the generation of script content and writing to file - added StartScriptGeneratorTest for testing content of scripts

    • -0
    • +53
    ./StartScriptGeneratorTest.groovy
  1. … 1 more file in changeset.