Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,261 for wren (0.05 sec)

  1. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

                }
            """
    
            when:
            succeeds ":customTask", "-PoutputDir=build/output1"
            then:
            executedAndNotSkipped ":customTask"
    
            when:
            succeeds ":customTask", "-PoutputDir=build/output2"
            then:
            executedAndNotSkipped ":customTask"
    
            when:
            succeeds ":customTask", "-PoutputDir=build/output1"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            when:
            runWithInput("generate", prompt, "value")
    
            then:
            result.assertTaskNotSkipped(":generate")
            file("build/out.txt").text == "value"
    
            when:
            runWithInput("generate", prompt, "value")
    
            then:
            result.assertTaskSkipped(":generate")
    
            when:
            runWithInput("generate", prompt, "")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy

            given:
            list.add('b')
    
            when:
            list.add(0, 'a')
            list.add(2, 'c')
    
            then:
            list == ['a', 'b', 'c']
        }
    
        def "fires events when element is added at index"() {
            Action<String> action = Mock()
    
            given:
            list.all(action)
    
            when:
            list.add(0, 'a')
            list.add(0, 'b')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 13K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/DefaultLoggingManagerTest.groovy

            when:
            loggingManager.start()
    
            then:
            1 * loggingRouter.addStandardOutputListener(stdoutListener)
    
            when:
            loggingManager.removeStandardOutputListener(stdoutListener)
    
            then:
            1 * loggingRouter.removeStandardOutputListener(stdoutListener)
    
            when:
            loggingManager.stop()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

        def "downloads deleted files again when they are referenced"() {
            given:
            buildscriptWithDependency(snapshotModule)
    
            when:
            succeeds 'resolve'
    
            then:
            def jarFile = findFile(cacheDir, "files-*/**/*.jar")
    
            when:
            assert jarFile.delete()
    
            and:
            succeeds 'resolve'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/invocation/DefaultGradleSpec.groovy

            given:
            gradle.attachSettings(state)
    
            when:
            gradle.resetState()
    
            then:
            1 * state.close()
        }
    
        def "get root project throws exception when root project is not available"() {
            when:
            gradle.rootProject
    
            then:
            thrown IllegalStateException
    
            when:
            def rootProject = project('root')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy

            !container.hasPlugin("x")
            !container.findPlugin("x")
        }
    
        def "fails when getting unknown plugin"() {
            when:
            container.getPlugin("unknown")
    
            then:
            thrown(UnknownPluginException)
        }
    
        def "fails when getting plugin of unknown type"() {
            when:
            container.getPlugin(plugin1Class)
    
            then:
            thrown(UnknownPluginException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

            access.open()
            access.close()
    
            then:
            1 * cleanupExecutor.cleanup()
            0 * _
        }
    
        def "does not clean up on close when clean up has already occurred"() {
            def access = newAccess(OnDemand)
    
            when:
            access.open()
            access.cleanup()
    
            then:
            1 * cleanupExecutor.cleanup()
            0 * _
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

            result.assertTasksNotSkipped(":a", ":b")
    
            when:
            outputFileB.delete()
            succeeds "b"
    
            then:
            result.assertTasksNotSkipped(":b")
            result.assertTasksSkipped(":a")
    
            when:
            succeeds "b"
    
            then:
            result.assertTasksSkipped(":a", ":b")
        }
    
        def "skips task when output dir contents are up-to-date"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

        void 'cannot create task with no name'() {
            when:
            container.create([:])
    
            then:
            InvalidUserDataException e = thrown()
            e.message == "The task name must be provided."
        }
    
        void 'can create task with dependencies'() {
            def task = task("task")
            taskFactory.create(_ as TaskIdentity) >> task
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
Back to top