Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 5,566 for Executer (0.13 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractHttpsRepoResolveIntegrationTest.groovy

            keyStore.enableSslWithServerCert(server)
    
            setupBuildFile(repoType)
    
            when:
            executer.withStackTraceChecksDisabled() // Jetty logs stuff to console
            keyStore.configureIncorrectServerCert(executer)
            fails "libs"
    
            then:
            failure.assertHasCause("Could not GET '${server.uri}/repo1/my-group/my-module/1.0/")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperUserHomeIntegrationTest.groovy

            given:
            prepareWrapper()
            def gradleUserHome = testDirectory.file('some-custom-user-home')
    
            when:
            def executer = wrapperExecuter.withGradleUserHomeDir(null)
            executer.withArguments("-Dgradle.user.home=$gradleUserHome.absolutePath")
            executer.run()
    
            then:
            installationIn gradleUserHome
        }
    
        @Issue('https://issues.gradle.org/browse/GRADLE-2802')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/AbstractCompositeBuildIntegrationTest.groovy

        }
    
        protected ExecutionResult succeeds(BuildTestFile build, String... tasks) {
            executer.inDirectory(build)
            return succeeds(tasks)
        }
    
        protected void fails(BuildTestFile build, String task, Iterable<String> arguments = []) {
            prepare(arguments)
            executer.inDirectory(build)
            fails(task)
            assertSingleBuildOperationsTreeOfType(RunBuildBuildOperationType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 19 21:32:57 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  4. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy

        @UsesSample("files/copy")
        def "can copy a single file using task properties for the paths with #dsl dsl"() {
            given:
            def dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            when:
            succeeds('copyReport2')
    
            then:
            dslDir.file('build/toArchive/my-report.pdf').isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCompositeBuildsIntegrationTest.groovy

            """
            buildFile << """
                plugins.apply(my.MyPlugin)
            """
            file("a/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = runBuildAction(new FetchCustomModelForEachProjectInTree())
    
            then:
            model.size() == 2
            model[0].message == "It works from project :"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/CommandLineIntegrationSpec.groovy

        @Requires(IntegTestPreconditions.NotParallelExecutor)
        def "reasonable failure message when --max-workers=#value"() {
            given:
            executer.requireDaemon().requireIsolatedDaemons()  // otherwise exception gets thrown in testing infrastructure
    
            when:
            executer.withArgument("--max-workers=$value")
    
            then:
            fails "help"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 05:05:14 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonSystemPropertiesIntegrationTest.groovy

                    }
                }
            """
    
            when:
            executer.withArgument("-Dfile.encoding=UTF-8")
            run("verify")
    
            then:
            daemons.daemons.size() == 1
    
            when:
            executer.withArgument("-Dfile.encoding=ISO-8859-1")
            run("verify")
    
            then:
            output.contains("verified = ISO-8859-1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/keystore/TestKeyStore.groovy

        void configureServerCert(GradleExecuter executer) {
            def args = getTrustStoreArguments()
            if (GradleContextualExecuter.embedded) {
                args.each {
                    executer.withArgument(it)
                }
            } else {
                executer.withBuildJvmOpts(args)
            }
        }
    
        void configureIncorrectServerCert(GradleExecuter executer) {
            // intentionally use wrong trust store
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

            and:
            executer.beforeExecute {
                if (!GradleContextualExecuter.embedded) {
                    executer.withArgument("-D$REUSE_USER_HOME_SERVICES=true")
                }
            }
            executer.withTasks('help').start().waitForFinish()
    
            then:
            resource.assertDoesNotExist()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonJvmSettingsIntegrationTest.groovy

                        }
                    }
                }
            """
    
            when:
            // This prevents the executer fixture from adding "default" values to the build jvm options
            executer.useOnlyRequestedJvmOpts()
            executer.withEnvironmentVars(JAVA_TOOL_OPTIONS: javaToolOptions)
            run "verify"
    
            then:
            String gradleVersion = (output =~ /GRADLE_VERSION: (.*)/)[0][1]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top