Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 215 for expectGet (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/internal/testdir/testdir_test.go

    		return err
    	}
    	got = strings.Replace(got, "\r\n", "\n", -1)
    	if got != string(b) {
    		if err == nil {
    			return fmt.Errorf("output does not match expected in %s. Instead saw\n%s", filename, got)
    		} else {
    			return fmt.Errorf("output should be empty when (optional) expected-output file %s is not present. Instead saw\n%s", filename, got)
    		}
    	}
    	return nil
    }
    
    func splitOutput(out string, wantAuto bool) []string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    }
    
    // assertWaypointAddressForPod takes a pod name for key and the expected waypoint IP Address
    // if the IP is empty we assume you're asserting that the pod's waypoint address is nil
    // will assert that the GW address for the pod's waypoint is the expected address
    // nolint: unparam
    func (s *ambientTestServer) assertWaypointAddressForPod(t *testing.T, key, expectedIP string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top