Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testKitDaemons (0.19 sec)

  1. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerDaemonIntegrationTest.groovy

            when:
            runner().build()
    
            then:
            testKitDaemons().daemon.context.idleTimeout == 120000
        }
    
        def "daemon process dedicated to test execution is reused if one already exists"() {
            when:
            runner().build()
    
            then:
            def pid = testKitDaemons().daemon.with {
                assertIdle()
                context.pid
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/BaseGradleRunnerIntegrationTest.groovy

        String getReleasedGradleVersion() {
            return gradleVersion.baseVersion.version
        }
    
        DaemonsFixture testKitDaemons() {
            testKitDaemons(gradleVersion)
        }
    
        DaemonsFixture getDaemonsFixture() {
            testKitDaemons()
        }
    
        DaemonsFixture testKitDaemons(GradleVersion gradleVersion) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerGradleVersionIntegrationTest.groovy

        @Shared
        DistributionLocator locator = new DistributionLocator()
    
        String getReleasedGradleVersion() {
            lowestMajorGradleVersion
        }
    
        DaemonsFixture getDaemonsFixture() {
            testKitDaemons(GradleVersion.version(lowestMajorGradleVersion))
        }
    
        def "execute build with different distribution types #type"(String version, Action<GradleRunner> configurer) {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/BaseTestKitEndUserIntegrationTest.groovy

                        }
                    }
                """)
            }
        }
    
        def cleanup() {
            testKitDaemons().visible.each { it.stops() }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCrossGroovyVersionIntegrationTest.groovy

                .withGradleVersion("6.8.3")
                .build()
    
            then:
            result.task(":testGroovyVersion").getOutcome() == TaskOutcome.SUCCESS
    
            cleanup:
            testKitDaemons(GradleVersion.version("6.8.3")).killAll()
        }
    
        def "old TestKit can run build with current Gradle"() {
            given:
            def targetingGradle7Test = """
    import spock.lang.Specification
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top