Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 86 for toolingapi (1.17 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/BuildActionCrossVersionSpec.groovy

        def "can use multiple action implementations with different classpath roots and loaded from same ClassLoader"() {
            settingsFile.text = 'rootProject.name = "not broken"'
    
            // Ensure daemon is reused
            toolingApi.requireIsolatedDaemons()
    
            // Copy each of the action classes into its own classes directory and load into a single ClassLoader
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r68/AbstractKotlinDslScriptsModelCrossVersionSpec.groovy

            withBuildSrc()
    
            def initJar = withEmptyJar("classes_init.jar")
            def someInitJar = withEmptyJar("classes_some_init.jar")
    
            toolingApi.requireIsolatedUserHome()
            def gradleUserHomeDir = toolingApi.createExecuter().gradleUserHomeDir
    
            def init = gradleUserHomeDir.file("init.gradle.kts").tap {
                text = """
                    initscript {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressDaemonErrorsCrossVersionSpec.groovy

        @Rule BlockingHttpServer server = new BlockingHttpServer()
        boolean killed = false
    
        void setup() {
            toolingApi.requireIsolatedDaemons()
        }
    
        def "should received failed event when daemon disappears unexpectedly with TAPI higher 2.4"() {
            given:
            goodCode()
            def sync = server.expectAndBlock('sync')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/CrossVersionTestEngine.java

        }
    
        private ToolingApiDistribution getToolingApi(final String versionToTestAgainst) {
            if (toolingApi == null) {
                toolingApi = ToolingApiDistributionResolver.use(new ToolingApiDistributionResolver.ResolverAction<ToolingApiDistribution>() {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiLoggingSpecification.groovy

     */
    abstract class ToolingApiLoggingSpecification extends ToolingApiSpecification {
        def setup() {
            if (!targetDist.toolingApiLoggingInEmbeddedModeSupported) {
                toolingApi.requireDaemons()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 945 bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m9/DaemonErrorFeedbackCrossVersionSpec.groovy

        @Issue("GRADLE-1799")
        @Timeout(60)
        def "promptly discovers rubbish jvm arguments"() {
            //jvm arguments cannot be set for an existing process
            //so we must not run in embedded mode
            toolingApi.requireDaemons()
    
            when:
            withConnection {
                it.newBuild()
                        .setJvmArguments("-Xasdf")
                        .run()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/buildship.gradle

            def packageExports = getPackageExports(packageNames, bundleVersion)
         """Manifest-Version: 1.0
    Bundle-ManifestVersion: 2
    Bundle-Name: Gradle Tooling API
    Bundle-Vendor: Gradle Inc.
    Bundle-SymbolicName: org.gradle.toolingapi
    Bundle-Version: ${bundleVersion}.v${qualifier}
    Bundle-ClassPath: .
    Bundle-RequiredExecutionEnvironment: JavaSE-1.6
    Export-Package: ${packageExports}
    Require-Bundle: org.slf4j.api;bundle-version="1.7.2"
    """
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiAdditionalClasspathProvider.groovy

        /**
         * Additional classpath for given TAPI and target Gradle distribution to be added to the loader of the test class.
         */
        List<File> additionalClasspathFor(ToolingApiDistribution toolingApi, GradleDistribution distribution)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy

                rootProject.name = 'root'
            """
            buildFile << """
                plugins {
                    id("my.plugin")
                }
            """
    
            when:
            def model = toolingApi.withConnection() { connection -> connection.getModel(BaseModel) }
    
            then:
            assertModelIsPolymorphic(model)
        }
    
        def "supports nested model polymorphism"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:03:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDEModelPerformanceTest.groovy

        def setup() {
            runner.minimumBaseVersion = "2.11"
        }
    
        def "get IDE model for Eclipse"() {
            given:
            setupRunner()
    
            runner.toolingApi("Eclipse model") {
                it.model(EclipseProject)
            }.run { builder ->
                def model = builder.get()
                // we must actually do something to highlight some performance issues
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top