Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 221 for expectGet (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    		if err != nil {
    			t.Fatalf("Expected no error, got: %v", err)
    		}
    		if len(compilationResults) != 1 {
    			t.Fatalf("Expected one rule, got: %d", len(compilationResults))
    		}
    		result := compilationResults[0]
    		if result.Error != nil {
    			t.Errorf("Expected no compile-time error, got: %v", result.Error)
    		}
    		if expectedCost > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isIn("timeout", "Read timed out")
        }
        assertThat(listener.recordedEventTypes()).containsExactly(
          "CallStart",
          "ProxySelectStart", "ProxySelectEnd", "DnsStart", "DnsEnd",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            }
    
            when:
            operations.each {operation -> operation.call(property) }
    
            then:
            expected == null || property.getOrNull() == ImmutableMap.copyOf(expected)
            expected != null || !property.present
    
            where:
            expected            | initial                   | operations                                            | label
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/push_context_test.go

    		gotns1 = append(gotns1, filter.Keys()...)
    	}
    	if !reflect.DeepEqual(expectedns, gotns) {
    		t.Errorf("Envoy filters are not ordered as expected. expected: %v got: %v", expectedns, gotns)
    	}
    	if !reflect.DeepEqual(expectedns1, gotns1) {
    		t.Errorf("Envoy filters are not ordered as expected. expected: %v got: %v", expectedns1, gotns1)
    	}
    }
    
    func buildPatchStruct(config string) *structpb.Struct {
    	val := &structpb.Struct{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  5. pkg/controller/history/controller_history_test.go

    		}
    		if !test.err && updated.Revision != test.newRevision {
    			t.Errorf("%s: got %d want %d", test.name, updated.Revision, test.newRevision)
    		}
    		if test.err && err == nil {
    			t.Errorf("%s: expected error", test.name)
    		}
    	}
    	ss1 := newStatefulSet(3, "ss1", types.UID("ss1"), map[string]string{"foo": "bar"})
    	ss1.Status.CollisionCount = new(int32)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(
            from.getType() + " is expected to be assignable to " + to.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            to.getType() + " is expected to be a supertype of " + from.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  7. src/os/os_test.go

    		}
    		if !IsExist(err.Err) {
    			t.Errorf("Link(%q, %q) err.Err = %q; want %q", to, from, err.Err, "file exists error")
    		}
    	case nil:
    		t.Errorf("link %q, %q: expected error, got nil", from, to)
    	default:
    		t.Errorf("link %q, %q: expected %T, got %T %v", from, to, new(LinkError), err, err)
    	}
    }
    
    // chtmpdir changes the working directory to a new temporary directory and
    // provides a cleanup function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    			select {
    			case event, ok := <-watcher.ResultChan():
    				if !ok && tt.expected {
    					t.Errorf("Unexpected object watched (no objects)")
    				}
    				if tt.expected && event.Type != watch.Bookmark {
    					t.Errorf("Unexpected object watched %#v", event)
    				}
    			case <-time.After(time.Second * 3):
    				if tt.expected {
    					t.Errorf("Unexpected object watched (timeout)")
    				}
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      // expected-error @+1 {{found unexpected type 'tensor<!tf_type.resource<tensor<10x3xf32>>>' of operand #0, resource type operands are expected to have been canonicalized away for region based control flow ops}}
      %1:2 = "tf.WhileRegion"(%ta#0, %size) ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof_test.go

    		}
    
    		if len(need) == 0 {
    			return
    		}
    
    		var total uintptr
    		for i, name := range need {
    			total += have[i]
    			t.Logf("found %d samples in expected function %s\n", have[i], name)
    		}
    		if total == 0 {
    			t.Logf("no samples in expected functions")
    			ok = false
    		}
    
    		// We'd like to check a reasonable minimum, like
    		// total / len(have) / smallconstant, but this test is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top