Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 5,566 for Executer (0.47 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/execution/SkipOnlyIfTaskExecuterTest.groovy

        def executesTask() {
            when:
            executer.execute(task, state, executionContext)
    
            then:
            1 * spec.findUnsatisfiedSpec(task) >> null
            1 * delegate.execute(task, state, executionContext) >> TaskExecuterResult.WITHOUT_OUTPUTS
            noMoreInteractions()
        }
    
        def skipsTaskWhoseOnlyIfPredicateIsFalse() {
            when:
            executer.execute(task, state, executionContext)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 24 11:36:30 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/caching/configuration/internal/BuildCacheConfigurationIntegrationTest.groovy

            when:
            executer.withBuildCacheEnabled()
            succeeds("help", "--info")
            then:
            outputContains("Using local directory build cache")
        }
    
        def "command-line --no-build-cache wins over system property"() {
            file("gradle.properties") << """
                org.gradle.caching=true
            """
            executer.withArgument("--no-build-cache")
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 19 20:09:35 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestGradleDistribution.groovy

    package org.gradle.performance.fixture
    
    import groovy.transform.CompileStatic
    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.NoDaemonGradleExecuter
    import org.gradle.test.fixtures.file.TestDirectoryProvider
    import org.gradle.test.fixtures.file.TestFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy

            and:
            daemons.daemon.stops()
        }
    
        def "forks build when default client VM memory is used and user didn't specify a different limit"() {
            executer.withCommandLineGradleOpts('-Xmx64m')
            executer.useOnlyRequestedJvmOpts()
            executer.requireDaemon()
    
            when:
            succeeds()
    
            then:
            wasForked()
    
            and:
            daemons.daemon.stops()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ConcurrentBuildsIncrementalBuildIntegrationTest.groovy

            executer.withTasks("block1")
            def build1 = executer.start()
            block1.waitForAllPendingCalls()
    
            // Change content and start build 2 then wait until it has run task 'a'. Should see 'a' is not up-to-date
            inputFile.text = 'new content'
            executer.withTasks("block2")
            def build2 = executer.start()
            block2.waitForAllPendingCalls()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 12 09:35:17 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  6. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/dependencymanagement/SamplesDeclaringDependenciesIntegrationTest.groovy

        @UsesSample("dependencyManagement/declaringDependencies-concreteVersion")
        def "can use declare and resolve dependency with concrete version with #dsl dsl"() {
            TestFile dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            when:
            succeeds(COPY_LIBS_TASK_NAME)
    
            then:
            dslDir.file('build/libs/spring-web-5.0.2.RELEASE.jar').isFile()
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy

                it.name == "root"
                it.tasks.size() > 0
                it.children.size() == 1
                it.children[0].children.size() == 1
            }
    
            when: "fetching with Isolated Projects"
            executer.withArguments(ENABLE_CLI)
            def projectModel = fetchModel(GradleProject)
    
            then:
            fixture.assertStateStored {
                modelsCreated(":", GradleProject, IsolatedGradleProjectInternal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/CatalogPluginsGroovyDSLIntegrationTest.groovy

                .publishAs("some", "artifact", pluginVersion, pluginPortal, executer)
                .allowAll()
            String secondPluginId = 'com.acme.greeter2'
            new PluginBuilder(file("greeter-second"))
                .addPluginWithPrintlnTask('greet2', 'Hello from second plugin!', secondPluginId, "SecondPlugin")
                .publishAs("some", "artifact2", pluginVersion, pluginPortal, executer)
                .allowAll()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/dependencymanagement/SamplesManagingTransitiveDependenciesIntegrationTest.groovy

        def setup() {
            executer.withRepositoryMirrors()
        }
    
        @UsesSample("dependencyManagement/managingTransitiveDependencies-versionsWithConstraints")
        def "respects dependency constraints for direct and transitive dependencies with #dsl dsl"() {
            TestFile dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            when:
            succeeds(COPY_LIBS_TASK_NAME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildContinueOnSingleFailureIntegrationTest.groovy

        }
    
        def "executes delegate task with --continue"() {
            when:
            buildB.buildFile << """
        task included {
            dependsOn 'fails', 'succeeds', 'checkContinueFlag'
        }
    """
            buildA.buildFile << """
        task delegate {
            dependsOn gradle.includedBuild('buildB').task(':included')
        }
    """
            executer.withArguments(CONTINUE_COMMAND_LINE_OPTION)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top