Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for thinsp (0.24 sec)

  1. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/WeakIdentityHashMapTest.groovy

            WeakIdentityHashMap.WeakKey<Thing> weakKey1 = new WeakIdentityHashMap.WeakKey<>(thing1)
            WeakIdentityHashMap.WeakKey<Thing> weakKey2 = new WeakIdentityHashMap.WeakKey<>(thing2)
    
            expect:
            weakKey1 != weakKey2
        }
    
        def "hashCodes of weakKeys for equal objects are different"() {
            Thing thing1 = new Thing("thing")
            Thing thing2 = new Thing("thing")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelDslCreationIntegrationTest.groovy

                        name = $.thing1.name + " bar"
                    }
                    tasks {
                        create("echo") {
                            doLast {
                                println "thing2.name: " + $.thing2.name
                            }
                        }
                    }
                }
            '''
    
            then:
            succeeds "echo"
            output.contains "thing2.name: foo bar"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelMapDslIntegrationTest.groovy

    model {
        tasks {
            show(Task) {
                doLast {
                    println "value = " + $.things.test.value
                }
            }
        }
        things {
            main(Thing)
            test(Thing) {
                println "configure test"
                value = $.things.main.value
            }
        }
        things {
            main {
                println "configure main"
                value = "12"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/properties/InspectionSchemeFactoryTest.groovy

        def handler1 = handler(Thing1)
        def handler2 = handler(Thing2)
        def cacheFactory = new TestCrossBuildInMemoryCacheFactory()
        def typeAnnotationMetadataStore = new DefaultTypeAnnotationMetadataStore(
            [],
            [(Thing1): TYPE, (Thing2): TYPE],
            ["java", "groovy"],
            [],
            [Object, GroovyObject],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:13:50 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelMapIntegrationTest.groovy

                        println "display-name: $things.displayName"
                        println "to-string: ${things.toString()}"
                      }
                    }
                  }
                }
            '''
    
            then:
            succeeds "print"
    
            and:
            output.contains "name: things"
            output.contains "display-name: ModelMap<Thing> 'things'"
            output.contains "to-string: ModelMap<Thing> 'things'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

            formatter.toString() == toPlatformLineSeparators("thing TreeFormatterTest.Thing.Nested.Inner")
        }
    
        def "can append parameterized type name"() {
            when:
            formatter.node("thing ")
            formatter.appendType(Thing.genericInterfaces[0])
    
            then:
            formatter.toString() == toPlatformLineSeparators("thing List<TreeFormatterTest.Thing.Nested>")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy

                            thing = objects.named(Thing, 'thing1')
                        }
                        project.tasks.create('thing2', CustomTask) {
                            thing = project.objects.named(Thing, 'thing2')
                        }
                    }
                }
    
                class CustomTask extends DefaultTask {
                    @Internal
                    Thing thing
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:39:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/text/DefaultTextReportBuilderTest.groovy

            when:
            builder.heading("heading")
            builder.collection("Things", [], renderer, "things")
    
            then:
            output.value == """
    {header}------------------------------------------------------------
    heading
    ------------------------------------------------------------{normal}
    
    {header}Things
    ------{normal}
        No things.
    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

                    }
                    foo.bla {
                        println $.unknown.thing
                        println $.unknown.thing2
                    }
                    thing1(Thing) {
                        println $.unknown.thing
                    }
                }
            '''
    
            when:
            fails "tasks"
    
            then:
            // TODO - should report unknown inputs as well
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

                    container.things.create("a") { value = "1" }
                    container.things.create("b") { value = "2" }
                  }
    
                  @Model
                  void things(ModelMap<Thing> things) {
                    things.create("a") { value = "1" }
                    things.create("b") { value = "2" }
                  }
                }
    
                apply type: Rules
    
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top