Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,908 for wren (0.04 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ListElementSourceTest.groovy

            source.add("fizz")
    
            when:
            def iterator = source.listIterator()
            iterator.set("fuzz")
    
            then:
            thrown(IllegalStateException)
    
            when:
            iterator.next()
            iterator.set("fuzz")
    
            then:
            source.iteratorNoFlush().collect() == ["fuzz", "fizz"]
    
            when:
            iterator.next()
            iterator.set("buzz")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 13 05:06:48 UTC 2020
    - 12.8K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/AbstractModuleDependencySpec.groovy

            when:
            dep.addArtifact(Mock(DependencyArtifact))
    
            then:
            thrown(InvalidUserCodeException)
        }
    
        void "refuses target configuration when attributes present"() {
            given:
            def dep = createDependency("group", "name", "1.0")
            dep.attributes {
                it.attribute(Attribute.of("attribute", String), 'foo')
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorTest.groovy

            when:
            createInstance(extractedB)
    
            then:
            def e = thrown(Exception)
            e.cause.cause instanceof UnsupportedOperationException
    
            when:
            extractedA.STATIC_IN_A()
    
            then:
            thrown(UnsupportedOperationException)
    
            when:
            extractedB.STATIC_IN_B()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

                )
            }
    
            when:
            configurationCacheRun ":jar", "-Dcreator=creator1"
    
            then:
            assertCreatedBy 'creator1'
            assertStateStored()
    
            when:
            configurationCacheRun ":jar", "-Dcreator=creator2"
    
            then:
            assertCreatedBy 'creator2'
            assertStateLoaded()
    
            when:
            manifestFile.delete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultPropertyTest.groovy

            def property = propertyWithDefaultValue(String)
    
            when:
            def p = property.map(transformer)
    
            then:
            !p.present
            0 * _
    
            when:
            property.set("123")
            p.present
    
            then:
            1 * transformer.transform("123") >> "present"
            0 * _
    
            when:
            def r = p.get()
    
            then:
            r == "321"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            v3.pom.expectGet()
            v3.artifact.expectGet()
    
            when:
            configurationCacheRun("resolve1")
    
            then:
            configurationCache.assertStateStored()
            outputContains("result = [lib-1.3.jar]")
    
            when: // run again with different tasks, to verify behaviour when version list is already cached when configuration cache entry is written
            configurationCacheRun("resolve2")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/UndeclaredDependencyResolutionIntegrationTest.groovy

        def "task can query FileCollection containing the output of transform of project artifacts without declaring this access"() {
            setupBuildWithProjectArtifactTransforms()
            taskQueriesFilesWithoutDeclaringInput()
    
            when:
            run("broken")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            managedType.isAssignableFrom(impl.class)
    
            when:
            impl.unmanagedValue = "Lajos"
            then:
            unmanagedInstance.unmanagedValue == "Lajos"
    
            when:
            def greeting = impl.sayHello()
            then:
            greeting == "Hello Lajos"
    
            when:
            impl.managedValue = "Tibor"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
Back to top