Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 402 for withArgument (0.29 sec)

  1. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/maven/MavenPublishGcsIntegrationTest.groovy

        @Rule
        public GcsServer server = new GcsServer(temporaryFolder)
    
        def setup() {
            executer.withArgument('-i')
            executer.withArgument("-D${GCS_ENDPOINT_PROPERTY}=${server.uri}")
            executer.withArgument("-D${GCS_SERVICE_PATH_PROPERTY}=/")
            executer.withArgument("-D${GCS_DISABLE_AUTH_PROPERTY}=true")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/ivy/IvyGcsRepoResolveIntegrationTest.groovy

        RepositoryServer getServer() {
            return server
        }
    
        protected ExecutionResult succeeds(String... tasks) {
            executer.withArgument("-D${GCS_ENDPOINT_PROPERTY}=${server.uri}")
            executer.withArgument("-D${GCS_SERVICE_PATH_PROPERTY}=/")
            executer.withArgument("-D${GCS_DISABLE_AUTH_PROPERTY}=true")
            result = executer.withTasks(*tasks).run()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/AbstractS3DependencyResolutionTest.groovy

    abstract class AbstractS3DependencyResolutionTest extends AbstractDependencyResolutionTest {
    
        @Rule
        public final S3Server server = new S3Server(temporaryFolder)
    
        def setup() {
            executer.withArgument('-i')
            executer.withArgument("-Dorg.gradle.s3.endpoint=${server.uri}")
        }
    
        String getBucket() {
            return 'tests3bucket'
        }
    
        abstract String getRepositoryPath()
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentDependencyResolutionIntegrationTest.groovy

    // no point, always runs in parallel
    class ConcurrentDependencyResolutionIntegrationTest extends AbstractIntegrationSpec {
    
        def setup() {
            requireOwnGradleUserHomeDir()
            executer.withArgument('--parallel')
            executer.withArgument('--max-workers=8')
        }
    
        @Issue("gradle/performance#502")
        def "local component selection harness test: thread-safety"() {
            given:
            buildFile << '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SocksProxyServer.groovy

            // build -> proxy(localhost) -> repo(localhost)
            //                           -> 127.0.0.1
            //
            executer.withArgument('-DsocksProxyHost=localhost')
            executer.withArgument("-DsocksProxyPort=${port}")
            executer.withArgument("-DsocksNonProxyHosts=127.*")
        }
    
        void stop() {
            socksServer?.stop()
            portFinder.releasePort(port)
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainFixture.groovy

                        languageVersion = JavaLanguageVersion.of(${majorVersion})
                    }
                }
            """
        }
    
        AbstractIntegrationSpec withAutoDetection() {
            executer.withArgument("-Porg.gradle.java.installations.auto-detect=true")
            return this as AbstractIntegrationSpec
        }
    
        /**
         * Usage:
         * <pre>
         *     def jvm1 = Jvm.current()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReportStatusIntegrationSpec.groovy

        @Rule BlockingHttpServer server = new BlockingHttpServer()
    
        def "shows default message if no daemons are running"() {
            when:
            def out = executer.withArgument("--status").run().normalizedOutput
    
            then:
            out =~ """^$DaemonMessages.NO_DAEMONS_RUNNING
    
    $ReportDaemonStatusClient.STATUS_FOOTER.*""".toString()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. 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)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedChangingModulesIntegrationTest.groovy

            sourceArtifact.sha1.expectGetRevalidate()
            then:
            run 'retrieve'
    
            when:
            module.publishWithChangedContent()
            server.resetExpectations()
            then:
            executer.withArgument("--offline")
            run 'retrieve'
        }
    
        def "can cache and refresh non unique versioned maven artifacts with a classifier"() {
            given:
            def repo = mavenHttpRepo("repo")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/JavaUtilLoggingSystemIntegrationTest.groovy

                        assert !logger.isLoggable(Level.FINER)
                        assert !logger.isLoggable(Level.FINEST)
                    }
                }
            """
    
            when:
            executer.withArgument("--debug")
    
            then:
            succeeds('isLoggable')
        }
    
        def 'JUL logger.isLoggable corresponds to gradle log level for --warn'() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top