Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,988 for expectGet (0.34 sec)

  1. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResultTest.groovy

                Build output does not contain the expected tasks.
                Expected: [:a]
                Actual: [:a, :b]
                '''))
    
            when:
            result.assertTasksExecuted(":a", ":b", ":c")
    
            then:
            def e2 = thrown(AssertionError)
            error(e2).startsWith(error('''
                Build output does not contain the expected tasks.
                Expected: [:a, :b, :c]
                Actual: [:a, :b]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/util/cmdutil_test.go

    	var tests = []struct {
    		name     string
    		file     string
    		expected string
    	}{
    		{
    			name:     "provide an empty value",
    			file:     "",
    			expected: clientcmd.NewDefaultClientConfigLoadingRules().GetDefaultFilename(),
    		},
    		{
    			name:     "provide a non-empty value",
    			file:     "kubelet.kubeconfig",
    			expected: "kubelet.kubeconfig",
    		},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper_test.go

    			expected: "aggregated",
    		}, {
    			accept:   aggregatedV2Beta1ProtoAccept,
    			expected: "aggregated",
    		}, {
    			accept:   aggregatedJSONAccept,
    			expected: "aggregated",
    		}, {
    			accept:   aggregatedProtoAccept,
    			expected: "aggregated",
    		}, {
    			accept:   jsonAccept,
    			expected: "unaggregated",
    		}, {
    			accept:   protobufAccept,
    			expected: "unaggregated",
    		}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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/MapInterfaceTest.java

          try {
            iterator.remove();
            fail("Expected IllegalStateException.");
          } catch (IllegalStateException expected) {
          }
        } else {
          iterator.next();
          try {
            iterator.remove();
            fail("Expected UnsupportedOperationException.");
          } catch (UnsupportedOperationException expected) {
          }
        }
        assertInvariants(map);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  10. 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)
Back to top