- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 210 for fatals (0.17 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
return errors; } public List<String> getFatals() { return fatals; } public void add(ModelProblemCollectorRequest req) { switch (req.getSeverity()) { case FATAL: if (!fatals.contains(req.getMessage())) { fatals.add(req.getMessage()); } break; case ERROR:
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
assertEquals(0, collector.getErrors().size(), "Expected no errors"); assertEquals(0, collector.getWarnings().size(), "Expected no warnings"); assertEquals(0, collector.getFatals().size(), "Expected no fatals"); } protected void assertCollectorState( int numFatals, int numErrors, int numWarnings, SimpleProblemCollector collector) { assertEquals(numErrors, collector.getErrors().size(), "Errors");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
} @AfterEach void tearDown() throws Exception { this.validator = null; } private void assertViolations(SimpleProblemCollector result, int fatals, int errors, int warnings) { assertEquals(fatals, result.getFatals().size(), String.valueOf(result.getFatals())); assertEquals(errors, result.getErrors().size(), String.valueOf(result.getErrors()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.8K bytes - Viewed (0) -
src/archive/tar/writer_test.go
if err := tw.WriteHeader(hdr); err != nil { t.Fatalf("WriteHeader() = %v, want nil", err) } if err := tw.Close(); err != nil { t.Fatalf("Close() = %v, want nil", err) } if _, err := tw.Write([]byte("Kilts")); err != ErrWriteAfterClose { t.Fatalf("Write() = %v, want %v", err, ErrWriteAfterClose) } if err := tw.Flush(); err != ErrWriteAfterClose { t.Fatalf("Flush() = %v, want %v", err, ErrWriteAfterClose) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
internal/store/queuestore_test.go
t.Fatalf("List() Expected: 10, got %d", len(keys)) } // re-open store, err = setUpQueueStore(queueDir, 10) if err != nil { t.Fatal("Failed to create a queue store ", err) } keys = store.List() if len(keys) != 10 { t.Fatalf("List() Expected: 10, got %d", len(keys)) } if len(keys) != store.Len() { t.Fatalf("List() Expected: 10, got %d", len(keys)) } // Delete all
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.7K bytes - Viewed (0) -
src/archive/zip/writer_test.go
if test.ok { t.Fatalf("SetComment: unexpected error %v", err) } continue } else { if !test.ok { t.Fatalf("SetComment: unexpected success, want error") } } if err := w.Close(); test.ok == (err != nil) { t.Fatal(err) } if w.closed != test.ok { t.Fatalf("Writer.closed: got %v, want %v", w.closed, test.ok) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
conf, err := parseConfig(args.StdinData) if err != nil { t.Fatalf("config parse failed with error: %v", err) } // Create a kube client client := kube.NewFakeClient(objects...) mockRedir := &mockInterceptRuleMgr{} err = doAddRun(args, conf, client.Kube(), mockRedir) if err != nil { t.Fatalf("failed with error: %v", err) } return mockRedir }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0) -
internal/bpool/bpool_test.go
// Check the width if bp.Width() != width { t.Fatalf("bytepool width invalid: got %v want %v", bp.Width(), width) } // Check with width cap if bp.WidthCap() != capWidth { t.Fatalf("bytepool capWidth invalid: got %v want %v", bp.WidthCap(), capWidth) } // Check that retrieved buffer are of the expected width b := bp.Get() if len(b) != width { t.Fatalf("bytepool length invalid: got %v want %v", len(b), width) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/store/batch_test.go
t.Fatalf("failed to add %v; %v", i, err) } } batchLen := batch.Len() if batchLen != int(limit) { t.Fatalf("Expected batch.Len() %v; but got %v", limit, batchLen) } keys := store.List() if len(keys) > 0 { t.Fatalf("Expected empty store list but got len(list) %v", len(keys)) } if err := batch.Add(testItem); err != nil { t.Fatalf("unable to add to the batch; %v", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 5.6K bytes - Viewed (0) -
src/bufio/bufio_test.go
t.Fatalf("want %q, ErrBufFull got %q, err=%v", "abcdefghijklmnop", string(s), err) } if _, err := buf.Read(p[0:3]); string(p[0:3]) != "abc" || err != nil { t.Fatalf("want %q got %q, err=%v", "abc", string(p[0:3]), err) } if s, err := buf.Peek(1); string(s) != "d" || err != nil { t.Fatalf("want %q got %q, err=%v", "d", string(s), err) } if s, err := buf.Peek(2); string(s) != "de" || err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0)