Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for usingExecutable (4 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy

            when:
            def script = file('bin/my app')
            script.parentFile.createDir()
            script.createLink(distribution.gradleHomeDir.file('bin/gradle'))
    
            def result = executer.usingExecutable(script.absolutePath).withTasks("help").run()
    
            then:
            result.output.contains("my app")
    
            // Don't follow links when cleaning up test files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/DistributionIntegrationSpec.groovy

            }
        }
    
        protected void checkMinimalContents(TestFile contentsDir) {
            // Check it can be executed
            executer.inDirectory(contentsDir).usingExecutable('bin/gradle').withTasks("help").run()
    
            // Scripts
            contentsDir.file('bin/gradle').assertIsFile()
            contentsDir.file('bin/gradle.bat').assertIsFile()
    
            // Top level files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

        /**
         * Sets the executable to use. Set to null to use the real default executable (if any) rather than the default used for testing.
         */
        GradleExecuter usingExecutable(String script);
    
        /**
         * Sets a stream to use for writing to stdin which can be retrieved with getStdinPipe().
         */
        GradleExecuter withStdinPipe();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top