Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,385 for expected_ (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		if value := w.Header().Get(key); expectedFS != value {
    			return fmt.Errorf("expected HTTP header %s to have value %q, but got: %q", key, expectedFS, value)
    		}
    
    		key = flowcontrol.ResponseHeaderMatchedPriorityLevelConfigurationUID
    		if value := w.Header().Get(key); expectedPL != value {
    			return fmt.Errorf("expected HTTP header %s to have value %q, but got %q", key, expectedPL, value)
    		}
    		return nil
    	}()
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if !apiequality.Semantic.DeepEqual(actual, expected) {
    		t.Errorf("expected %#v, got %#v", expected, actual)
    	}
    }
    
    func TestLimitedReadBody(t *testing.T) {
    	defer legacyregistry.Reset()
    	legacyregistry.Register(metrics.RequestBodySizes)
    
    	testcases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            List<String> expected = new ArrayList<>();
            expected.add("maven-it-plugin-error");
            expected.add("maven-it-plugin-configuration");
            expected.add("maven-it-plugin-dependency-resolution");
            expected.add("maven-it-plugin-packaging");
            expected.add("maven-it-plugin-log-file");
            expected.add("maven-it-plugin-expression");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go

    					if got, expected := tbl.ColumnDefinitions[6], zeta; got != expected {
    						t.Errorf("expected column definition %#v, got %#v", expected, got)
    					}
    				}
    			}
    			if got, expected := len(tbl.Rows), 1; got != expected {
    				t.Errorf("expected %d rows, got %d", expected, got)
    			} else if got, expected := len(tbl.Rows[0].Cells), expectColumnNum; got != expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 18.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/quota/v1/resources_test.go

    		if result := Equals(testCase.expected, sub); !result {
    			t.Errorf("%s expected: %v, actual: %v", testName, testCase.expected, sub)
    		}
    	}
    }
    
    func TestResourceNames(t *testing.T) {
    	testCases := map[string]struct {
    		a        corev1.ResourceList
    		expected []corev1.ResourceName
    	}{
    		"empty": {
    			a:        corev1.ResourceList{},
    			expected: []corev1.ResourceName{},
    		},
    		"values": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 12 01:57:38 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

          // expected-remark@above {{ID: 8}}
          // expected-remark@above {{Predecessors: {5,6}}}
          // expected-remark@above {{Successors: {9}}}
          tf_executor.yield
          // expected-remark@above {{ID: 9}}
          // expected-remark@above {{Predecessors: {7,8}}}
        }
        tf_executor.fetch %island : !tf_executor.control
        // expected-remark@above {{ID: 11}}
        // expected-remark@above {{Predecessors: {10}}}
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  7. pilot/pkg/model/sidecar_test.go

    			got := ilw.selectServices(tt.services, tt.namespace, tt.listenerHosts)
    			if !reflect.DeepEqual(got, tt.expected) {
    				gots, _ := json.MarshalIndent(got, "", "  ")
    				expecteds, _ := json.MarshalIndent(tt.expected, "", "  ")
    				t.Errorf("Got %v, expected %v", string(gots), string(expecteds))
    			}
    		})
    	}
    }
    
    func TestContainsEgressDependencies(t *testing.T) {
    	const (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  8. pkg/bootstrap/option/instances_test.go

    			expected: "fake",
    		},
    		{
    			testName: "zone",
    			key:      "zone",
    			option:   option.Zone("fake"),
    			expected: "fake",
    		},
    		{
    			testName: "sub zone",
    			key:      "sub_zone",
    			option:   option.SubZone("fake"),
    			expected: "fake",
    		},
    		{
    			testName: "node metadata nil",
    			key:      "meta_json_str",
    			option:   option.NodeMetadata(nil, nil),
    			expected: nil,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  9. pkg/test/framework/label/labels_test.go

    		{filter: "postsubmit", labels: NewSet(CustomSetup), expected: false},
    		{filter: "postsubmit", labels: NewSet(CustomSetup, Postsubmit), expected: true},
    		{filter: "postsubmit,customsetup", labels: NewSet(Postsubmit, CustomSetup), expected: true},
    		{filter: "postsubmit,customsetup", labels: NewSet(Postsubmit), expected: false},
    		{filter: "+postsubmit,+customsetup", labels: NewSet(Postsubmit), expected: false},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 18 17:08:05 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/analysis/cost_analysis.mlir

        // expected-remark@+1 {{Cost: 1}}
        %9 = "tf.Const"() {value = dense<> : tensor<0x!tf_type.string>} : () -> tensor<0x!tf_type.string>
        // expected-remark@+1 {{Cost: 1}}
        %10 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
        // expected-remark@+1 {{Cost: 1}}
        %11 = "tf.Const"() {value = dense<-1> : tensor<i32>} : () -> tensor<i32>
        // expected-remark@+1 {{Cost: 19}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top