Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for hasErrors (0.13 sec)

  1. pkg/controller/nodeipam/ipam/sync/sync_test.go

    			t.Errorf("%v, %v; fake.events = %#v, want %#v", tc.desc, tc.mode, tc.fake.events, tc.events)
    		}
    
    		var hasError bool
    		for _, r := range tc.fake.results {
    			hasError = hasError || (r != nil)
    		}
    		if hasError != tc.wantError {
    			t.Errorf("%v, %v; hasError = %t, errors = %v, want %t",
    				tc.desc, tc.mode, hasError, tc.fake.events, tc.wantError)
    		}
    	}
    }
    
    func TestNodeSyncResync(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. src/text/template/parse/parse_test.go

    	{"undefined variable", "{{$x}}", hasError, ""},
    	{"variable undefined after end", "{{with $x := 4}}{{end}}{{$x}}", hasError, ""},
    	{"variable undefined in template", "{{template $v}}", hasError, ""},
    	{"declare with field", "{{with $x.Y := 4}}{{end}}", hasError, ""},
    	{"template with field ref", "{{template .X}}", hasError, ""},
    	{"template with var", "{{template $v}}", hasError, ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. pkg/controller/volume/expand/expand_controller_test.go

    		pvc                *v1.PersistentVolumeClaim
    		expansionCalled    bool
    		hasError           bool
    		expectedAnnotation map[string]string
    	}{
    		{
    			name:     "when pvc has no PV binding",
    			pvc:      getFakePersistentVolumeClaim("no-pv-pvc", "", "1Gi", "1Gi", ""),
    			pvcKey:   "default/no-pv-pvc",
    			hasError: true,
    		},
    		{
    			name:               "when pvc and pv has everything for in-tree plugin",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    			if !hasError(errs, needle) {
    				t.Errorf("missing %q in\n%v", needle, errorsAsString(errs))
    			}
    			needle = `status.conditions[0].status: Unsupported value: "unknown": supported values: "False", "True", "Unknown"`
    			if !hasError(errs, needle) {
    				t.Errorf("missing %q in\n%v", needle, errorsAsString(errs))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

            this.took = took;
            if (errors != null && !errors.isEmpty()) {
                this.errors.addAll(errors);
            }
        }
    
        public boolean hasError() {
            return !errors.isEmpty();
        }
    
        public List<Throwable> getErrors() {
            return errors;
        }
    
        public long getTook() {
            return took;
        }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifier.java

                            if (result.hasError()) {
                                VerificationFailure error = result.asError(publicKeyService);
                                builder.failWith(error);
                                if (error.isFatal()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultResolvedConfiguration.java

            this.resolutionHost = resolutionHost;
            this.visitedArtifacts = visitedArtifacts;
            this.configuration = configuration;
        }
    
        @Override
        public boolean hasError() {
            return graphResults.hasAnyFailure();
        }
    
        @Override
        public void rethrowFailure() throws ResolveException {
            if (!graphResults.hasAnyFailure()) {
                return;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            if (response.hasError()) {
                logger.warn("Failed to delete all words.", response.getErrors().get(0));
                return false;
            }
            refresh();
            return true;
        }
    
        public boolean deleteDocumentWords() {
            final SuggestDeleteResponse response = suggester.indexer().deleteDocumentWords();
            if (response.hasError()) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. src/text/template/multi_test.go

    	{"two", `{{define "foo"}} FOO {{end}}{{define "bar"}} BAR {{end}}`, noError,
    		[]string{"foo", "bar"},
    		[]string{" FOO ", " BAR "}},
    	// errors
    	{"missing end", `{{define "foo"}} FOO `, hasError,
    		nil,
    		nil},
    	{"malformed name", `{{define "foo}} FOO `, hasError,
    		nil,
    		nil},
    }
    
    func TestMultiParse(t *testing.T) {
    	for _, test := range multiParseTests {
    		template, err := New("root").Parse(test.input)
    		switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 10:48:29 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  10. tests/integration/pilot/analysis/analysis_test.go

    	c := t.Clusters().Default()
    
    	x, err := c.Istio().NetworkingV1alpha3().VirtualServices(ns.Name()).Get(context.TODO(), "reviews", metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("unexpected test failure: can't get virtualservice: %v", err)
    	}
    
    	status := &x.Status
    
    	if hasError {
    		if len(status.ValidationMessages) < 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top