Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,259 for thingo (0.17 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy

            then:
            !container.empty
            container.keySet() == [thing] as Set
            container.contains(thing)
            container.getAttribute(thing) == "thing"
    
            when:
            container.attributeProvider(thing2, Providers.of("value"))
    
            then:
            !container.empty
            container.keySet() == [thing, thing2] as Set
            container.contains(thing2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 08 14:34:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy

            when:
            write(value)
    
            then:
            value == written
        }
    
        enum Thing {
            THING_1, THING_2
        }
    
        def "serializes enum properties"() {
            def original = new EnumValueSnapshot(Thing.THING_1)
            write(original)
    
            expect:
            original == written
        }
    
        def "serializes file properties"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/UnknownIncrementalAnnotationProcessingIntegrationTest.groovy

        def "all sources are recompiled when any class changes"() {
            def a = java "@Thing class A {}"
            java "class B {}"
    
            outputs.snapshot { run "compileJava" }
    
            when:
            a.text = "@Thing class A { public void foo() {} }"
            run "compileJava"
    
            then:
            outputs.recompiledClasses("A", "AThing", "B")
        }
    
        def "the user is informed about non-incremental processors"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ConcurrentBuildsArtifactTransformIntegrationTest.groovy

            result1.output.count("Transforming") + result2.output.count("Transforming") == 2
            result1.output.count("Transforming thing.jar to Red") + result2.output.count("Transforming thing.jar to Red") == 1
            result1.output.count("Transforming thing.jar to Blue") + result2.output.count("Transforming thing.jar to Blue") == 1
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/TaskDependencyResolutionEventsIntegrationTest.groovy

                    parent { }
                    things.extendsFrom parent
                    all {
                        incoming.beforeResolve { throw new RuntimeException() }
                        incoming.afterResolve { throw new RuntimeException() }
                    }
                }
                dependencies {
                    parent files("parent.txt")
                    things files("thing.txt")
                }
    
                task resolveIt {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleInputDetectionIntegrationSpec.groovy

            succeeds "echo"
            output.contains "thing.value: foo"
    
            where:
            syntax << [
                '$("thing.value")',
                '$("thing").value',
                '$("thing").getValue()',
                "(\$('thing')).value",
                '$("thing")."${"value"}"',
                "\$('thing').'value'",
                "\$('thing').value.toUpperCase().toLowerCase()",
                "\$('thing').value[0] + 'oo'",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r16/CustomToolingModelCrossVersionSpec.groovy

                connection.model(CustomModel).get()
            }
    
            then:
            model.value == 'greetings'
            model.things.find { it instanceof CustomModel.Thing }
            model.thingsByName.thing instanceof CustomModel.Thing
        }
    
        @Ignore("work in progress")
        def "gives reasonable error message when model build fails"() {
            expect: false
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InPlaceClasspathBuilderTest.groovy

        def "creates an empty jar"() {
            def file = tmpDir.file("thing.zip")
    
            when:
            builder.jar(file) {}
    
            then:
            def zip = new ZipTestFixture(file)
            zip.hasDescendants()
            zip.hasDirs()
        }
    
        def "can construct jar with entries"() {
            def file = tmpDir.file("thing.zip")
    
            when:
            builder.jar(file) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            thing1.onMethodMissing = { name, args -> [].foo() }
            conf(thing1) { m1() }
    
            then:
            def e = thrown(MissingMethodException)
            e.method == "foo"
    
            when:
            thing1.onPropertyMissingGet = { new Object().bar }
            conf(thing1) { abc }
    
            then:
            e = thrown(MissingPropertyException)
            e.property == "bar"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

            then:
            obj.thing == 12
            obj.getThing() == 12
            obj.getProperty("thing") == 12
        }
    
        def "can optionally set injected service using a service setter method"() {
            given:
            def services = defaultServices()
    
            when:
            def obj = create(BeanWithMutableServices, services)
            obj.thing = 12
    
            then:
            obj.thing == 12
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top