Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for withArgument (0.18 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/RecoverFromBrokenResolutionIntegrationTest.groovy

            failure.assertThatCause(CoreMatchers.containsString("Received status code 500 from server: broken"))
    
    
            when:
            server.resetExpectations()
            then:
            executer.withArgument("--offline")
            run 'retrieve'
            and:
            file('libs/projectA-1.0-SNAPSHOT.jar').assertIsCopyOf(module.artifact.file)
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConfigurationBuildDependenciesIntegrationTest.groovy

                    artifacts {
                        compile file: file('thing.txt'), builtBy: { throw new RuntimeException('broken') }
                    }
                }
    """
    
            expect:
            executer.withArgument("--dry-run")
            fails("useCompileConfiguration")
            failure.assertHasDescription("Could not determine the dependencies of task ':useCompileConfiguration'.")
            failure.assertHasCause('broken')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy

            executer.beforeExecute {
                def initScript = file("init.gradle")
                initScript.text = buildLogicForMinimumBuildTime(minimumBuildTimeMillis)
                withArgument("-I").withArgument(initScript.absolutePath)
            }
        }
    
        protected int getMinimumBuildTimeMillis() {
            2000
        }
    
        protected void withoutContinuousBuild() {
            withoutContinuousArg = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformTestFixture.groovy

                executer.withArgument("-D${projectName}OutputDir=${buildDirPath}")
            }
    
            void setOutputFileName(String outputFileName) {
                executer.withArgument("-D${projectName}FileName=${outputFileName}")
            }
    
            void setOutputDirName(String outputDirName) {
                executer.withArgument("-D${projectName}DirName=${outputDirName}")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 15:06:39 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReuseIntegrationTest.groovy

            expectEvent("block")
            def client = new DaemonClientFixture(executer.withArgument("--debug").withTasks("block").start())
            waitFor("started")
            daemons.daemon.assertBusy()
            client.kill()
            daemons.daemon.becomesCanceled()
    
            when:
            def build = executer.withTasks("help").withArguments("--info").start()
            ConcurrentTestUtil.poll {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/UnsafeConfigurationResolutionDeprecationIntegrationTest.groovy

                        bar
                    }
    
                    dependencies {
                        bar "test:test-jar:1.0"
                    }
                }
            """
            executer.withArgument("--parallel")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationDefaultsIntegrationTest.groovy

            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org:default-dependency:1.0")
                }
            }
    
            when:
            executer.withArgument("-DexplicitDeps=yes")
            run "checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org:explicit-dependency:1.0")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskCustomTypesInputPropertyIntegrationTest.groovy

            executedAndNotSkipped(":someTask")
    
            // Change to different value
            when:
            buildFile.replace('new CustomType("value1 ignore me")', 'new CustomType("value2")')
            executer.withArgument("-i")
            run "someTask"
    
            then:
            executedAndNotSkipped(":someTask")
            outputContains("Value of input property 'someValue' has changed for task ':someTask'")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 22 16:04:50 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                            tasks.create(name, SerialPing)
                        }
                    }
                }
            """
            executer.beforeExecute {
                withArgument('--info')
            }
        }
    
        void withInvalidPing() {
            buildFile << """
                abstract class InvalidPing extends Ping {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy

                }
            }
    
            when:
            server.resetExpectations()
            m.pom.expectHead()
            m.moduleMetadata.expectHead()
            m.artifact.expectHead()
    
            executer.withArgument("--refresh-dependencies")
            run("checkDeps")
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("test:a:1.2")
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 23.4K bytes
    - Viewed (0)
Back to top