- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 96 for geterror (0.13 sec)
-
maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
assertViolations(result, 0, 4, 0); assertContains(result.getErrors().get(0), "duplicate execution with id a"); assertContains(result.getErrors().get(1), "duplicate execution with id default"); assertContains(result.getErrors().get(2), "duplicate execution with id c"); assertContains(result.getErrors().get(3), "duplicate execution with id b"); } @Test
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 13:13:07 UTC 2024 - 32.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
} public static void setError(final int statusCode, final String message) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message))); } public static void setError(final int statusCode, final Exception e) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
assertSame(mirrorA, mirrorSelector.getMirror(getRepo("a", "http://a.a"), mirrors)); assertSame(mirrorB, mirrorSelector.getMirror(getRepo("b", "http://a.a"), mirrors)); assertSame(mirrorC2, mirrorSelector.getMirror(getRepo("c", "http://c.c"), mirrors)); assertSame(mirrorC, mirrorSelector.getMirror(getRepo("d", "http://d"), mirrors));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 10.7K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_options_test.go
policyOpt, _ := NewStaticPolicyOptions(testCase.policyOption) err := ValidateStaticPolicyOptions(policyOpt, testCase.topology, topoMgrStore) gotError := (err != nil) if gotError != testCase.expectedErr { t.Errorf("testCase %q failed, got %v expected %v", testCase.description, gotError, testCase.expectedErr) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 5.9K bytes - Viewed (0) -
maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
List<Profile> active = selector.getActiveProfiles(profiles, context, problems); assertTrue(active.isEmpty()); assertEquals(1, problems.getErrors().size()); assertEquals( "Failed to determine activation for profile one: BOOM", problems.getErrors().get(0)); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 16:51:39 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/config/validation/envoyfilter/envoyfilter_test.go
} func checkValidationMessage(t *testing.T, gotWarning Warning, gotError error, wantWarning string, wantError string) { t.Helper() if (gotError == nil) != (wantError == "") { t.Fatalf("got err=%v but wanted err=%v", gotError, wantError) } if !strings.Contains(stringOrEmpty(gotError), wantError) { t.Fatalf("got err=%v but wanted err=%v", gotError, wantError) } if (gotWarning == nil) != (wantWarning == "") {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 16.7K bytes - Viewed (0) -
cmd/perf-tests.go
mu.Unlock() } }(i) } wg.Wait() // We already saw write failures, no need to proceed into read's if retError != "" { return SpeedTestResult{ Uploads: totalBytesWritten, Downloads: totalBytesRead, UploadTimes: uploadTimes, Error: retError, }, nil } downloadsCtx, downloadsCancel := context.WithTimeout(ctx, opts.duration) defer downloadsCancel()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
.mustNot(QueryBuilders.matchPhraseQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString()))); if (deleteResponse.hasError()) { throw new SuggestIndexException(deleteResponse.getErrors().get(0)); } final List<SuggestItem> updateItems = new ArrayList<>(); SearchResponse response = client.prepareSearch(index).setSize(500).setScroll(settings.getScrollTimeout())
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 26.1K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
result, err := sched.SchedulePod(ctx, fwk, framework.NewCycleState(), test.pod) if err != test.wErr { gotFitErr, gotOK := err.(*framework.FitError) wantFitErr, wantOK := test.wErr.(*framework.FitError) if gotOK != wantOK { t.Errorf("Expected err to be FitError: %v, but got %v (error: %v)", wantOK, gotOK, err) } else if gotOK { if diff := cmp.Diff(wantFitErr, gotFitErr); diff != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
src/go/types/errors.go
// A new error_ is created with Checker.newError. // To report an error_, call error_.report. type error_ struct { check *Checker desc []errorDesc code Code soft bool // TODO(gri) eventually determine this from an error code } // newError returns a new error_ with the given error code. func (check *Checker) newError(code Code) *error_ { if code == 0 { panic("error code must not be 0")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 8.5K bytes - Viewed (0)