Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for GradleHandle (0.29 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleHandle.java

         */
        GradleHandle abort();
    
        /**
         * Cancel a build that was started as a cancellable build by closing stdin.  Does not block until the build has finished.
         */
        GradleHandle cancel();
    
        /**
         * Cancel a build that was started as a cancellable build by sending EOT (ctrl-d).  Does not block until the build has finished.
         */
        GradleHandle cancelWithEOT();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractJvmFailFastIntegrationSpec.groovy

            when:
            def gradleHandle = executer.withTasks('test', '--fail-fast').start()
            testExecution.waitForAllPendingCalls()
    
            then:
            testExecution.release(FAILED_RESOURCE)
            gradleHandle.waitForFailure()
            assert gradleHandle.standardOutput.matches(/(?s).*FailedTest.*failTest.*FAILED.*java.lang.RuntimeException at FailedTest.java.*/)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildScanUserInputFixture.groovy

        }
    
        static void writeToStdInAndClose(GradleHandle gradleHandle, byte[] input) {
            gradleHandle.stdinPipe.write(input)
            writeLineSeparatorToStdInAndClose(gradleHandle)
        }
    
        static void writeToStdInAndClose(GradleHandle gradleHandle, byte input) {
            writeToStdInAndClose(gradleHandle, [input] as byte[])
        }
    
        static void writeToStdInAndClose(GradleHandle gradleHandle, String input) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            given:
            interactiveExecution()
    
            when:
            def gradleHandle = executer.withTasks("askYesNo").start()
    
            then:
            poll(INTERACTIVE_WAIT_TIME_SECONDS) {
                assert gradleHandle.standardOutput.contains(YES_NO_PROMPT)
            }
            gradleHandle.stdinPipe.write(input.bytes)
            gradleHandle.stdinPipe.write(TextUtil.platformLineSeparator.bytes)
            poll {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/continuous/ContinuousIntegrationTestFixtureTest.groovy

            gradleExecuter.withArgument(_) >> gradleExecuter
            gradleExecuter.start() >> gradleHandle
            gradleHandle.getErrorOutput() >> ''
            gradleHandle.isRunning() >>> [true, false]
            gradleHandle
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonClientFixture.groovy

    import org.gradle.integtests.fixtures.ProcessFixture
    import org.gradle.integtests.fixtures.executer.GradleHandle
    import org.gradle.test.fixtures.ConcurrentTestUtil
    
    
    class DaemonClientFixture {
        final GradleHandle gradleHandle
        final ProcessFixture process
    
        DaemonClientFixture(GradleHandle gradleHandle) {
            this.gradleHandle = gradleHandle
            Long pid
            ConcurrentTestUtil.poll {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestWorkerFunctionalTest.groovy

            when:
            def gradleHandle = executer.withTasks('test').start()
            testExecution.waitForAllPendingCalls()
    
            then:
            ConcurrentTestUtil.poll {
                containsTestExecutionWorkInProgressLine(gradleHandle, ':test', testClass1.renderedClassName)
                containsTestExecutionWorkInProgressLine(gradleHandle, ':test', testClass2.renderedClassName)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/TestedProjectFixture.groovy

                    }
                }
            """
        }
    
        static void containsTestExecutionWorkInProgressLine(GradleHandle gradleHandle, String taskPath, String testName) {
            RichConsoleStyling.assertHasWorkInProgress(gradleHandle, "> $taskPath > Executing test $testName")
        }
    
        static class JavaTestClass {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/AbstractDaemonLifecycleSpec.groovy

        //effectively hiding some bugs or making tests fail
        int stateTransitionTimeout = daemonIdleTimeout / 2
    
        final List<GradleHandle> builds = []
        final List<GradleHandle> foregroundDaemons = []
    
        // set this to change the java home used to launch any gradle, set back to null to use current JVM
        def javaHome = null
    
        @Delegate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:32:55 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGFailFastIntegrationTest.groovy

            when:
            def gradleHandle = executer.withTasks('test', '--fail-fast').start()
            testExecution.waitForAllPendingCalls()
    
            then:
            testExecution.release(1)
            gradleHandle.waitForFailure()
            def result = new DefaultTestExecutionResult(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top