Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,166 for Executer (0.14 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/StdioIntegrationTest.groovy

    import org.gradle.util.internal.TextUtil
    
    class StdioIntegrationTest extends AbstractIntegrationSpec {
        def setup() {
            executer.requireDaemon()
            // This isn't actually required - the test is fine with shared daemons
            // In fact, it would be much better to test this feature using shared daemons
            executer.requireIsolatedDaemons()
        }
    
        def "task can read stdin when stdin has bounded length"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest.groovy

            """
            buildFile << """
                plugins.apply(my.MyPlugin)
            """
            file("a/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def models = runPhasedBuildAction(new FetchPartialCustomModelForEachProject(), new FetchCustomModelForEachProject())
    
            then:
            def messages = models.left
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

    import org.gradle.api.logging.configuration.ConsoleOutput
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache
    import org.gradle.integtests.fixtures.executer.ExecutionResult
    
    abstract class AbstractConsoleJvmTestLoggingFunctionalTest extends AbstractIntegrationSpec {
        private static final String TEST_TASK_NAME = 'test'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.enterprise.core
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.gradle.internal.enterprise.DevelocityPluginCheckInFixture
    import org.gradle.internal.enterprise.GradleEnterprisePluginCheckInFixture
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

    import org.gradle.integtests.fixtures.build.BuildTestFile
    import org.gradle.integtests.fixtures.build.BuildTestFixture
    import org.gradle.integtests.fixtures.executer.OutputScrapingExecutionFailure
    import org.gradle.integtests.fixtures.executer.OutputScrapingExecutionResult
    import org.gradle.internal.Pair
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.tooling.BuildAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

            cleanupMethod.maybeExpectDeprecationWarning(executer)
            run()
    
            then:
            existsBuildCacheEntry("0" * hashStringLength)
            existsBuildCacheEntry("1" * hashStringLength)
            assertCacheWasNotCleanedUpSince(lastCleanupCheck)
    
            when:
            lastCleanupCheck = markCacheLastCleaned(twoDaysAgo())
            executer.noDeprecationChecks()
            run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy

                plugins.apply(my.MyPlugin)
                println("configuring root")
            """
        }
    
        def "parameterized models are reused in the same build action"() {
            when:
            executer.withArguments(ENABLE_CLI)
            def models = runBuildAction(new FetchParameterizedCustomModelForEachProject(["fetch1", "fetch2", "fetch1", "fetch2"]))
    
            then:
            fixture.assertStateStored {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

                buildCache {
                    remote {
                        url = "https://invalid.invalid/"
                    }
                }
            """
    
            when:
            executer.withStacktraceEnabled()
            executer.withStackTraceChecksDisabled()
            withBuildCache().run "jar"
    
            then:
            output.contains("java.net.UnknownHostException")
            output.contains("invalid.invalid")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

        }
    
        private void withAgentApplied(boolean shouldApply) {
            executer.withArgument("-D${DaemonBuildOptions.ApplyInstrumentationAgentOption.GRADLE_PROPERTY}=$shouldApply")
        }
    
        private void withoutAgent() {
            withAgentApplied(false)
        }
    
        DaemonLogsAnalyzer getDaemons() {
            new DaemonLogsAnalyzer(executer.daemonBaseDir)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

    import org.gradle.integtests.fixtures.daemon.DaemonsFixture
    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.gradle.integtests.fixtures.executer.GradleDistribution
    import org.gradle.integtests.fixtures.executer.GradleExecuter
    import org.gradle.integtests.fixtures.executer.IntegrationTestBuildContext
    import org.gradle.integtests.fixtures.executer.ResultAssertion
    import org.gradle.internal.service.DefaultServiceRegistry
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top