Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 114 for VALUE1 (0.35 sec)

  1. pkg/controller/controller_utils_test.go

    				Existing: []*v1.Node{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name: "node1",
    						},
    						Spec: v1.NodeSpec{
    							Taints: []v1.Taint{
    								{Key: "key1", Value: "value1", Effect: "NoSchedule"},
    								{Key: "key2", Value: "value2", Effect: "NoExecute"},
    							},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        waitUntilClosed(closingFuture);
        assertClosed(closeable1);
      }
    
      public void testWhenAllComplete_call() throws Exception {
        final ClosingFuture<String> input1 = ClosingFuture.from(immediateFuture("value1"));
        final ClosingFuture<Object> input2Failed = failedClosingFuture();
        final ClosingFuture<String> nonInput = ClosingFuture.from(immediateFuture("value3"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. testing/internal-testing/src/test/groovy/org/gradle/test/precondition/PredicateFileTest.groovy

            ["value1"] as Set,
            // Value shared between single and multi cases
            ["value2"] as Set,
            ["value2", "value3"] as Set,
        ] as Set
    
        def "accept single values"() {
            when:
            checkValidCombinations([value])
    
            then:
            noExceptionThrown()
    
            where:
            value << ["value1", "value2"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/runtime/pprof/label_test.go

    			},
    			expected: `{"foo":"bar"}`,
    		}, {
    			m: labelMap{
    				"foo":             "bar",
    				"key1":            "value1",
    				"key2":            "value2",
    				"key3":            "value3",
    				"key4WithNewline": "\nvalue4",
    			},
    			expected: `{"foo":"bar", "key1":"value1", "key2":"value2", "key3":"value3", "key4WithNewline":"\nvalue4"}`,
    		},
    	} {
    		if got := tbl.m.String(); tbl.expected != got {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

          Headers.Builder()
            .addUnsafeNonAscii("héader1", "value1")
            .build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected char 0xe9 at 1 in header name: héader1")
        }
      }
    
      @Test fun addUnsafeNonAsciiAcceptsUnicodeValue() {
        val headers =
          Headers.Builder()
            .addUnsafeNonAscii("header1", "valué1")
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            def artifact2 = Stub(PublishArtifact)
    
            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:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            file("build.gradle") << '''
    application.applicationDefaultJvmArgs = ['-Dvar1=value1', '-Dvar2=some value2']
    '''
            file('src/main/java/org/gradle/test/Main.java') << '''
    package org.gradle.test;
    
    class Main {
        public static void main(String[] args) {
            if (!"value1".equals(System.getProperty("var1"))) {
                throw new RuntimeException("Expected system property not specified");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        waitUntilClosed(closingFuture);
        assertClosed(closeable1);
      }
    
      public void testWhenAllComplete_call() throws Exception {
        final ClosingFuture<String> input1 = ClosingFuture.from(immediateFuture("value1"));
        final ClosingFuture<Object> input2Failed = failedClosingFuture();
        final ClosingFuture<String> nonInput = ClosingFuture.from(immediateFuture("value3"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/tutorial/groovy/groovy/build.gradle

    List<String> list = new ArrayList<String>()
    list.add('org/gradle/api/**')
    list.add('org/gradle/internal/**')
    test.includes = list
    
    // Map literal.
    Map<String, String> map = [key1:'value1', key2: 'value2']
    
    // Groovy will coerce named arguments
    // into a single map argument
    apply plugin: 'java'
    // end::listAndMapLiterals[]
    
    // tag::closureAsLastParam[]
    repositories {
        println "in a closure"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/DefaultJavaPluginConventionTest.groovy

            def manifest = convention.manifest {
                from 'file'
                attributes(key1: 'value1')
            }
    
            when:
            def mergedManifest = manifest.effectiveManifest
    
            then:
            manifest instanceof DefaultManifest
            mergedManifest.attributes as Map == [key1: 'value1', key2: 'value2', 'Manifest-Version': '1.0']
        }
    
        def "can configure manifest with an Action"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top