Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for toolingapi (0.16 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/ResolveArtifactsProgressCrossVersionSpec.groovy

        private RepositoryHttpServer server
    
        def setup() {
            server = new RepositoryHttpServer(temporaryFolder, targetDist.version.version)
            server.before()
            toolingApi.requireIsolatedUserHome()
        }
    
        def cleanup() {
            server.after()
        }
    
        private String expectedDisplayName(String name, String extension, String version) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 00:59:27 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestRunner.groovy

            PerformanceTestJvmOptions.normalizeGradleJvmOptions(useDaemon, PerformanceTestJvmOptions.normalizeJvmOptions(this.gradleOpts))
        }
    
        def <T extends LongRunningOperation> ToolingApiAction<T> toolingApi(String displayName, Function<ProjectConnection, T> initialAction) {
            useToolingApi = true
            def tapiAction = new ToolingApiAction<T>(displayName, initialAction)
            this.buildAction = tapiAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DependencyArtifactDownloadProgressEventCrossVersionTest.groovy

        }
    
        @TargetGradleVersion('>=7.3')
        def "generates success event for failing first attempt to get dependency"() {
            toolingApi.requireIsolatedUserHome()
    
            def projectFModuleMissing = mavenHttpRepo.module('group', 'projectF', '2.0')
            projectFModuleMissing.missing()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m3/ToolingApiEclipseModelCrossVersionSpec.groovy

                include "child1", "child2", "child1:grandChild1"
                rootProject.name = 'root'
    '''
            projectDir.file('child1').mkdirs()
    
            when:
            toolingApi.withConnector { connector ->
                connector.searchUpwards(true)
                connector.forProjectDirectory(projectDir.file('child1'))
            }
            EclipseProject child = loadToolingModel(EclipseProject)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

                    }
                }
            """
    
            return pluginBuilder
        }
    
        private <T> T fetchSchemaModel(Class<T> modelType) {
            toolingApi.withConnection() { connection ->
                ModelBuilder<T> modelBuilder = connection.model(modelType)
                collectOutputs(modelBuilder)
                modelBuilder.get()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/ProjectConfigurationChildrenProgressCrossVersionSpec.groovy

            }
        }
    
        @Timeout(value = 10, unit = TimeUnit.MINUTES)
        def "generates events for downloading artifacts"() {
            given:
            toolingApi.requireIsolatedUserHome()
    
            def projectB = mavenHttpRepo.module('group', 'projectB', '1.0').publish()
            def projectC = mavenHttpRepo.module('group', 'projectC', '1.5').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 00:59:27 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/ProjectConfigurationProgressEventCrossVersionSpec.groovy

        @Flaky(because = "https://github.com/gradle/gradle-private/issues/3638")
        def "reports plugin configuration results for remote script plugins"() {
            given:
            toolingApi.requireIsolatedUserHome() // So that the script is not cached
            server.start()
            def scriptUri = server.uri("script.gradle")
            server.expect(server.get("script.gradle").send("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

            // Avoid mixing JUnit dependencies with the ones from the JVM running this test
            // For example, when using PTS/TD for running this test, the JUnit Platform Launcher classes from the GE plugin take precedence
            toolingApi.requireDaemons()
            testCode()
        }
    
        boolean supportsEfficientClassFiltering() {
            return getTargetVersion() >= GradleVersion.version('4.7')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestFailureProgressEventCrossVersionTest.groovy

            // Avoid mixing JUnit dependencies with the ones from the JVM running this test
            // For example, when using PTS/TD for running this test, the JUnit Platform Launcher classes from the GE plugin take precedence
            toolingApi.requireDaemons()
            progressEventCollector = new ProgressEventCollector()
        }
    
        def "Emits test failure events for Junit 3 tests"() {
            setup:
            buildFile << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 22.1K bytes
    - Viewed (0)
Back to top