Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 579 for expectGet (0.17 sec)

  1. cmd/kubeadm/app/util/version_test.go

    	for _, tc := range cases {
    		t.Run(fmt.Sprintf("input:%s/expected:%s", tc.input, tc.expected), func(t *testing.T) {
    			tag := KubernetesVersionToImageTag(tc.input)
    			t.Logf("kubernetesVersionToImageTag: Input: %q. Result: %q. Expected: %q", tc.input, tag, tc.expected)
    			if tag != tc.expected {
    				t.Errorf("failed KubernetesVersionToImageTag: Input: %q. Result: %q. Expected: %q", tc.input, tag, tc.expected)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 03:30:51 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. pkg/proxy/healthcheck/healthcheck_test.go

    	})
    	if len(hcs.services) != 3 {
    		t.Errorf("expected 3 service, got %d", len(hcs.services))
    	}
    	if hcs.services[nsn1].endpoints != 0 {
    		t.Errorf("expected 0 endpoints, got %d", hcs.services[nsn1].endpoints)
    	}
    	if hcs.services[nsn2].endpoints != 0 {
    		t.Errorf("expected 0 endpoints, got %d", hcs.services[nsn2].endpoints)
    	}
    	if hcs.services[nsn3].endpoints != 0 {
    		t.Errorf("expected 0 endpoints, got %d", hcs.services[nsn3].endpoints)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/analyzers_test.go

    	analyzer         analysis.Analyzer
    	expected         []message
    	skipAll          bool
    }
    
    // Some notes on setting up tests for Analyzers:
    // * The resources in the input files don't necessarily need to be completely defined, just defined enough for the analyzer being tested.
    // * Please keep this list sorted alphabetically by the pkg.name of the analyzer for convenience
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration_test.go

    			if err != nil {
    				t.Errorf("Expected no error, but got: %v", err)
    			}
    			if test.newObjectExpected == nil {
    				if updatableGot != nil {
    					t.Errorf("Expected a nil object, but got: %#v", updatableGot)
    				}
    				if updateGot {
    					t.Errorf("Expected update=%t but got: %t", false, updateGot)
    				}
    				return
    			}
    
    			if !updateGot {
    				t.Errorf("Expected update=%t but got: %t", true, updateGot)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    			// We therefore use `ElementsMatch` instead of `Equal` on the member slices.
    			as.ElementsMatch(tc.expected.Annotations, opts.Annotations)
    			as.ElementsMatch(tc.expected.CDIDevices, opts.CDIDevices)
    			as.ElementsMatch(tc.expected.Devices, opts.Devices)
    			as.ElementsMatch(tc.expected.Envs, opts.Envs)
    			as.ElementsMatch(tc.expected.Mounts, opts.Mounts)
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top