Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of about 10,000 for wren (0.29 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/model/StateTransitionControllerTest.groovy

        }
    
        def "runs action for transition when in from state"() {
            def action = Mock(Runnable)
            def controller = controller(TestState.A)
    
            when:
            asWorker {
                controller.transition(TestState.A, TestState.B, action)
            }
    
            then:
            1 * action.run()
            0 * _
        }
    
        def "runs action and returns result for transition when in from state"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientBuildEventGeneratorTest.groovy

            when:
            generator.started(operation, startEvent)
    
            then:
            0 * _
    
            when:
            generator.progress(operationId, progressEvent)
    
            then:
            0 * _
    
            when:
            generator.finished(operation, finishEvent)
    
            then:
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGradlePropertiesIntegrationTest.groovy

        def "invalidates cache when set of Gradle property defining system properties changes"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            settingsFile << """
                println(gradleProp + '!')
            """
    
            when:
            configurationCacheRun "help", "-D${SYSTEM_PROJECT_PROPERTIES_PREFIX}gradleProp=1"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/lazy/LazyTest.groovy

            def supplier = Mock(Supplier)
    
            when:
            def lazy = factory(supplier)
    
            then:
            0 * supplier._
    
            when:
            lazy.use {
                assert it == 123
            }
    
            then:
            1 * supplier.get() >> 123
    
            when:
            lazy.get()
    
            then:
            0 * supplier.get()
    
            when:
            lazy.use {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

        }
    
        def "exits when build fails with compile error"() {
            when:
            buildFile << """
                'script error
            """
    
            then:
            fails("a")
            exitContinuousBuildSinceNoDeclaredInputs()
        }
    
        def "exits when build fails with configuration error"() {
            when:
            buildFile << """
                throw new Exception("!")
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  9. testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy

            instant.actionExecuted
        }
    
        def "fails when waiting for an instant that is not defined by any thread"() {
            instant.timeout = 100
    
            when:
            thread.blockUntil.unknown
    
            then:
            IllegalStateException e = thrown()
            e.message == "Timeout waiting for instant 'unknown' to be defined by another thread."
    
            when:
            async {
                thread.blockUntil.unknown
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. 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)
Back to top