Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,186 for wren (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy

            def arg = new Object()
            def id
            def decoratedAction
    
            when:
    
            context.apply(Stub(UserCodeSource)) {
                id = it
                decoratedAction = decorator.decorate('foo', action)
            }
    
            then:
            !decoratedAction.is(action)
    
            when:
            decoratedAction.execute(arg)
    
            then:
            1 * action.execute(arg)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

                """
            }
    
            when:
            configurationCacheRun ":a:some"
    
            then:
            result.groupedOutput.task(":a:some").assertOutputContains("FIRST").assertOutputContains("LAST")
    
            when:
            configurationCacheRun ":a:some"
    
            then:
            result.groupedOutput.task(":a:some").assertOutputContains("FIRST").assertOutputContains("LAST")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy

                """
            }
    
            when:
            result = runWithMostRecentFinalRelease(JAR_TASK_NAME)
    
            then:
            javaProject.mainClassFile.assertIsFile()
            javaProject.redundantClassFile.assertIsFile()
            javaProject.assertJarHasDescendants(javaProject.mainClassFile.name, javaProject.redundantClassFile.name)
    
            when:
            forceDelete(javaProject.redundantSourceFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy

        }
    
        def "selects annotated constructor when class has multiple constructors and only one is annotated"() {
            when:
            def result = instantiator.newInstance(HasOneInjectConstructor, 12)
    
            then:
            result != null
        }
    
        def "class can have private constructor with args and annotated"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 04:41:06 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

                }
            """
    
            when:
            configurationCacheRun "build"
    
            then:
            output.count("NOT CI") == 1
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun "build"
    
            then:
            output.count("NOT CI") == 1
            configurationCache.assertStateLoaded()
    
            when:
            configurationCacheRun "build", "-Dci=true"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

            // Some cases are skipped, because forkOptions (when configured) must match the resulting toolchain, otherwise the build fails
            what             | when                         | withTool | withJavaHome | withExecutable | withJavaExtension | target
            "current JVM"    | "when nothing is configured" | null     | null         | null           | null              | "current"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

            server.start()
    
            when:
            def a = server.uri("a")
            def b = server.uri("b")
    
            then:
            a.scheme == "http"
            b.scheme == "http"
            a.toURL().text == "hi"
            b.toURL().text == "hi"
    
            when:
            server.stop()
    
            then:
            noExceptionThrown()
        }
    
        def "succeeds when expected serial requests are made"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top