Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,203 for expectGet (0.3 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        int i = 0;
        while (expectedIterator.hasNext()) {
          Object expected = expectedIterator.next();
    
          assertTrue(
              "index " + i + " expected <" + expected + "., actual is exhausted",
              actualIterator.hasNext());
    
          Object actual = actualIterator.next();
          assertEquals("index " + i, expected, actual);
          i++;
        }
        if (actualIterator.hasNext()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.replaceAll((k, v) -> v);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.putIfAbsent(3, "three");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher_test.go

    		config   string
    		webhook  string
    		mutated  bool
    		expected string
    	}{
    		{
    			config:   "test-config",
    			webhook:  "test-webhook",
    			mutated:  true,
    			expected: `{"configuration":"test-config","webhook":"test-webhook","mutated":true}`,
    		},
    		{
    			config:   "test-config",
    			webhook:  "test-webhook",
    			mutated:  false,
    			expected: `{"configuration":"test-config","webhook":"test-webhook","mutated":false}`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    	if err != nil {
    		t.Fatalf(
    			"ASW PodExistsInVolume failed. Expected: <no error> Actual: <%v>", err)
    	}
    
    	if !podExistsInVolume {
    		t.Fatalf(
    			"ASW PodExistsInVolume result invalid. Expected: <true> Actual: <%v>",
    			podExistsInVolume)
    	}
    
    	if devicePath != expectedDevicePath {
    		t.Fatalf(
    			"Invalid devicePath. Expected: <%q> Actual: <%q> ",
    			expectedDevicePath,
    			devicePath)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    			s:        "cp.k8s.io:8081",
    			expected: true,
    		},
    		{
    			name:     "Valid DNS address",
    			s:        "cp.k8s.io",
    			expected: true,
    		},
    		{
    			name:     "Valid IPv4 address / port",
    			s:        "1.2.3.4:8081",
    			expected: true,
    		},
    		{
    			name:     "Valid IPv4 address",
    			s:        "1.2.3.4",
    			expected: true,
    		},
    		{
    			name:     "Valid IPv6 address / port",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        int i = 0;
        while (expectedIterator.hasNext()) {
          Object expected = expectedIterator.next();
    
          assertTrue(
              "index " + i + " expected <" + expected + "., actual is exhausted",
              actualIterator.hasNext());
    
          Object actual = actualIterator.next();
          assertEquals("index " + i, expected, actual);
          i++;
        }
        if (actualIterator.hasNext()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    		t.Fatalf("RemoveVolumeFromReportAsAttached failed. Expected: <no error> Actual: <%v>", markDesireToDetachErr)
    	}
    	if addErr != nil {
    		t.Fatalf("AddVolumeNode failed. Expected: <no error> Actual: <%v>", addErr)
    	}
    
    	// Assert
    	attachedVolumes := asw.GetAttachedVolumes()
    	if len(attachedVolumes) != 1 {
    		t.Fatalf("len(attachedVolumes) Expected: <1> Actual: <%v>", len(attachedVolumes))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/BasicParsingTest.kt

                    )""".trimIndent()
            results.assert(expected)
        }
    
        @Test
        fun `parses imports`() {
            val results = parse(
                """
                import a.b.c
                import a.b.MyData
                import MyOtherData
                """.trimIndent()
            )
    
            val expected = """
                    Import [indexes: 0..12, line/column: 1/1..1/13, file: test (
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    	}
    	if resourceVersion != 5 {
    		t.Errorf("unexpected resourceVersion: %v, expected: 5", resourceVersion)
    	}
    	if !exists {
    		t.Fatalf("no results returned: %#v", obj)
    	}
    	expected := makeTestStoreElement(makeTestPod("bar", 5))
    	if !apiequality.Semantic.DeepEqual(expected, obj) {
    		t.Errorf("expected %v, got %v", expected, obj)
    	}
    }
    
    func TestWaitUntilFreshAndListTimeout(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/test/kubeconfig/util.go

    		t.Errorf("kubeconfig.currentCluster.CertificateAuthorityData not correspond to the expected CA cert")
    	}
    }
    
    // AssertKubeConfigCurrentAuthInfoWithClientCert is a utility function for kubeadm testing that asserts if the CurrentAuthInfo in
    // the given KubeConfig object contains a clientCert that refers to a specific client name, is signed by the expected CA, includes the expected organizations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top