Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 284 for ValueT (0.16 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TaskBooleanOptionIntegrationTest.groovy

            given:
            file('buildSrc/src/main/java/SampleTask.java') << taskWithBooleanOptions()
            buildFile << sampleTask()
    
            when:
            run('sample', "--$option", "--no-$option")
    
            then:
            outputContains("Value of $option: $value1")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

            project.sourceDirectories[0].classpathAttributes.size() == 2
            project.sourceDirectories[0].classpathAttributes.find { it.name == 'key1' && it.value == 'value1'}
            project.sourceDirectories[0].classpathAttributes.find { it.name == 'key2' && it.value == 'value2'}
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java

                    return toList("a");
                }
            });
    
            Object value1 = conventionAware.getConventionValue(null, "list1", false);
            Object value2 = conventionAware.getConventionValue(null, "list1", false);
            assertEquals(value1, value2);
            assertNotSame(value1, value2);
        }
    
        @Test public void doesNotUseMappingWhenExplicitValueProvided() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

            properties.setProperty("prop1", "value1")
            properties.setProperty("prop2", "value2")
            configurationCacheRoundtripOf(properties).run {
                assertThat(properties, equalTo(this))
            }
        }
    
        @Test
        fun `can handle Hashtable`() {
            val hashtable = Hashtable<String, Any>(100)
            hashtable.put("key1", "value1")
            hashtable.put("key2", true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. test/typeparam/issue50481b.dir/main.go

    // a generic type that has multiple blank type params.
    
    package main
    
    import (
    	"./b"
    	"fmt"
    )
    
    func main() {
    	foo := &b.Foo[string, int]{
    		ValueA: "i am a string",
    		ValueB: 123,
    	}
    	if got, want := fmt.Sprintln(foo), "i am a string 123\n"; got != want {
    		panic(fmt.Sprintf("got %s, want %s", got, want))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 559 bytes
    - Viewed (0)
  6. tests/scanner_valuer_test.go

    		Structs: StructsSlice{
    			{"name1", "value1"},
    			{"name2", "value2"},
    		},
    		Role:             Role{Name: "admin"},
    		ExampleStruct:    ExampleStruct{"name", "value1"},
    		ExampleStructPtr: &ExampleStruct{"name", "value2"},
    	}
    
    	if err := DB.Create(&data).Error; err != nil {
    		t.Fatalf("No error should happened when create scanner valuer struct, but got %v", err)
    	}
    
    	var result ScannerValuerStruct
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            "java.util.Collection<String>"        | "['value1', 'value2']"                                | "['value1'] as SortedSet"                                    | null
            "java.util.Set<String>"               | "['value1', 'value2'] as Set"                         | "['value1'] as Set"                                          | null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            given:
            publications.artifacts.add(artifact1)
            publications.attributes.attribute(Attribute.of("thing", String), "value1")
            def variantDef = publications.variants.create("child")
            variantDef.attributes.attribute(Attribute.of("thing", String), "value2")
            variantDef.artifacts.add(artifact2)
    
            expect:
            def variants = getOutgoingVariants(publications)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/filter_test.go

    								<Key>key1</Key>
    								<Value>value1</Value>
    							</Tag>
    							<Tag>
    								<Key>key2</Key>
    								<Value>value2</Value>
    							</Tag>
    							</And>
    						</Filter>`,
    			expectedErr: nil,
    		},
    		{ // Filter with And and multiple Tag tags
    			inputXML: ` <Filter>
    							<And>
    							<Prefix></Prefix>
    							<Tag>
    								<Key>key1</Key>
    								<Value>value1</Value>
    							</Tag>
    							<Tag>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ClosingFuture.java

              DeferredCloser closer,
              @ParametricNullness V1 value1,
              @ParametricNullness V2 value2,
              @ParametricNullness V3 value3,
              @ParametricNullness V4 value4,
              @ParametricNullness V5 value5)
              throws Exception;
        }
    
        /**
         * A function that returns a {@link ClosingFuture} when applied to the values of the five
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
Back to top