Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 128 for withArgument (0.47 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildChangeReportingIntegrationTest.groovy

        }
    
        def "should report changes when quiet logging used"() {
            given:
            def inputFile = inputDir.file("input.txt")
    
            when:
            executer.withArgument("-q")
            succeeds("theTask")
            inputFile.createFile()
    
            then:
            buildTriggeredAndSucceeded()
            sendEOT()
            assertReportsChanges([new ChangeEntry('new file', inputFile)])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy

                    (DefaultTimeoutHandler.SLOW_STOP_LOG_STACKTRACE_FREQUENCY_PROPERTY): slowStopLogStacktraceFrequencyMs
                ].each { k, v ->
                    executer.withArgument("-D$k=$v".toString())
                }
            }
        }
    
        def "fails when negative timeout is specified"() {
            given:
            buildFile << """
                task broken() {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

            if (JavaVersion.current().isJava9Compatible() && GradleContextualExecuter.isConfigCache()) {
                // For java.util.concurrent.CountDownLatch being serialized reflectively by configuration cache
                executer.withArgument('-Dorg.gradle.jvmargs=--add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED')
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. 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)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedMissingModulesIntegrationTest.groovy

            succeeds("showMissing")
    
            when:
            moduleInRepo1.publish()
            server.resetExpectations()
            then:
            succeeds("showMissing")
    
            when:
            executer.withArgument("--refresh-dependencies")
            moduleInRepo1.ivy.expectHead()
            moduleInRepo1.ivy.sha1.expectGet()
            moduleInRepo1.jar.expectHead()
            moduleInRepo1.jar.sha1.expectGet()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

        def setup() {
            server.start()
    
            setupBuild(new BuildTestFile(testDirectory, "root"))
    
            executer.beforeExecute {
                withArgument("--max-workers=10")
            }
        }
    
        private void setupBuild(BuildTestFile buildTestFile) {
            buildTestFile.with {
                settingsFile << """
                    rootProject.name = '${rootProjectName}'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

                        username = "correct-username"
                        password = "correct-password"
                    }
                }
            """
    
            when:
            executer.withArgument("--info")
            withBuildCache().run "assemble"
            then:
            outputDoesNotContain("correct-username")
            outputDoesNotContain("correct-password")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaMultiModuleIntegrationTest.groovy

            dependencies = parseIml("two/two.iml").dependencies
            assert dependencies.libraries*.jarName as Set == [someLib2Jar.name] as Set
    
            executer.withArgument("-PstrictDeps=true").withTasks("idea").run()
    
            //then
            dependencies = parseIml("one/one.iml").dependencies
            assert dependencies.modules.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

            outputs.snapshot { run "mainExecutable" }
    
            when:
            directoryHeader.deleteDir()
            directoryHeader << '#pragma message("NEW directory named header")'
            and:
            executer.withArgument("--info")
            run "mainExecutable"
            then:
            executedAndNotSkipped compileTask
            and:
            outputs.recompiledFile sourceFile
            outputContains("NEW directory named header")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.groovy

            given:
            buildFile << publicationBuildWithoutCredentials(version, group, mavenRemoteRepo.uri)
    
            if (!extraChecksums) {
                executer.withArgument("-Dorg.gradle.internal.publish.checksums.insecure=true")
                module.withoutExtraChecksums()
            }
            expectModulePublish(module, extraChecksums)
    
            when:
            succeeds 'publish'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top