- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 276 for expectKind (0.23 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/TrackingHttpHandler.java
* * @return null when this handler is not expecting any further requests. */ @Nullable ResponseProducer selectResponseProducer(int id, HttpExchange exchange); boolean expecting(HttpExchange exchange); /** * Returns a precondition that asserts that this handler is not expecting any further requests to be released by the test in order to complete. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/config-current_test.go
} defer os.RemoveAll(fsDir) if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil { t.Fatalf("Init Test config failed") } if globalSite.Region() != globalMinioDefaultRegion { t.Errorf("Expecting region `us-east-1` found %s", globalSite.Region()) } // Set new region and verify. config.SetRegion(globalServerConfig, "us-west-1") site, err := config.LookupSite(
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/skipnonapplied_test.go
apiStatus, _ := err.(apierrors.APIStatus) if err == nil || !apierrors.IsConflict(err) || len(apiStatus.Status().Details.Causes) != 1 { t.Fatalf("Expecting to get one conflict but got %v", err) } if e, a := ".metadata.labels.app", apiStatus.Status().Details.Causes[0].Field; e != a { t.Fatalf("Expecting to conflict on field %q but conflicted on field %q: %v", e, a, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 16 20:03:48 UTC 2023 - 4.4K bytes - Viewed (0) -
test/syntax/semi4.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main func main() { for x // GCCGO_ERROR "undefined" { // ERROR "unexpected {, expected for loop condition|expecting .*{.* after for clause"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 01 22:37:04 UTC 2022 - 359 bytes - Viewed (0) -
pkg/api/service/util.go
specs := service.Spec.LoadBalancerSourceRanges ipnets, err = utilnet.ParseIPNets(specs...) if err != nil { return nil, fmt.Errorf("service.Spec.LoadBalancerSourceRanges: %v is not valid. Expecting a list of IP ranges. For example, 10.0.0.0/24. Error msg: %v", specs, err) } } else { val := service.Annotations[api.AnnotationLoadBalancerSourceRangesKey] val = strings.TrimSpace(val) if val == "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 30 15:56:47 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
attachID, err := csiAttacher.Attach(spec, types.NodeName(nodename)) if !fail && err != nil { t.Errorf("expecting no failure, but got err: %v", err) } if fail && err == nil { t.Errorf("expecting failure, but got no err") } if attachID != "" { t.Errorf("expecting empty attachID, got %v", attachID) } }(tc.spec, tc.nodeName, tc.shouldFail)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
pkg/kubelet/client/kubelet_client_test.go
KeyFile: "../../client/testdata/mycertvalid.key", // TLS Configuration CAFile: "../../client/testdata/myCA.cer", }, } rt, err := MakeTransport(config) if err != nil { t.Errorf("Not expecting an error %#v", err) } if rt == nil { t.Error("rt should not be nil") } } func TestMakeInsecureTransport(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 01:34:49 UTC 2023 - 2.9K bytes - Viewed (0) -
test/fixedbugs/issue17328.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 17:26:06 UTC 2020 - 355 bytes - Viewed (0) -
pkg/log/scope_test.go
defer func() { if r := recover(); r != nil { return } t.Errorf("Expecting to panic when using bad scope name %s, but didn't", name) }() _ = RegisterScope(name, "A poorly named scope") } func TestBadWriter(t *testing.T) { o := testOptions() if err := Configure(o); err != nil { t.Errorf("Got err '%v', expecting success", err) } pt := funcs.Load().(patchTable)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 17:36:09 UTC 2024 - 11K bytes - Viewed (0) -
src/encoding/json/scanner.go
if c == 'r' { s.step = stateTr return scanContinue } return s.error(c, "in literal true (expecting 'r')") } // stateTr is the state after reading `tr`. func stateTr(s *scanner, c byte) int { if c == 'u' { s.step = stateTru return scanContinue } return s.error(c, "in literal true (expecting 'u')") } // stateTru is the state after reading `tru`. func stateTru(s *scanner, c byte) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 16.1K bytes - Viewed (0)