Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,259 for thingo (0.21 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/Thing.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.snapshot.impl
    
    import org.gradle.api.Named
    
    interface Thing extends Named {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 723 bytes
    - Viewed (0)
  2. tests/postgres_test.go

    	}
    
    	DB.Create(&thing)
    
    	thing2 := Thing{
    		SomeID:  "1234",
    		OtherID: "1234",
    		Data:    "something else",
    	}
    
    	result := DB.Clauses(clause.OnConflict{
    		OnConstraint: "some_id_other_id_unique",
    		UpdateAll:    true,
    	}).Create(&thing2)
    	if result.Error != nil {
    		t.Errorf("creating second thing: %v", result.Error)
    	}
    
    	var things []Thing
    	if err := DB.Find(&things).Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            def dir = testDir.file("thing.dir")
            classesDir(dir)
            def file = testDir.file("thing.jar")
            jar(file)
            def dir2 = testDir.file("thing2.dir")
            classesDir(dir2)
            def file2 = testDir.file("thing2.jar")
            jar(file2)
            def dir3 = testDir.file("thing3.dir")
            classesDir(dir3)
            def file3 = testDir.file("thing3.jar")
            jar(file3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaStoreTest.groovy

            def cl = new GroovyClassLoader()
            addClass(cl, "@${Managed.name} interface Thing1 {}")
            addClass(cl, "@${Managed.name} interface Thing2 {}")
            addClass(cl, "@${Managed.name} interface Container1 { ${ModelSet.name}<Thing1> getThings() }")
            addClass(cl, "@${Managed.name} interface Container2 { ${ModelSet.name}<Thing2> getThings() }")
    
            then:
            store.cache.size() == 6
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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. 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)
  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