[roll] Roll fuchsia [elfldltl] Clean up testing diagnostics

This cleans up the <lib/elfldltl/testing/diagnostics.h> APIs.
It also updates some old tests that weren't using them.

ExpectOkDiagnostics and ExpectedSingleError are both classes that
can be used to declare objects without function calls.  Those
serve as Diagnostics API objects without extra indirection.
Callers are updated to use the simpler API.  Reporting of
expectation violations is improved in corner cases, including
source locations for the test ExpectOkDiagnostics construction
and verification of missing or extra calls.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/981932
Original-Revision: fbb6d6c488c65df8c7b47887ecc413ee2bfe325e
GitOrigin-RevId: 13f261cf295145984ebd65dedfb3b600c2b56ea7
Change-Id: I58ee7a0d9500d502e62437e3d90e6c5d6b0fb91a
1 file changed
tree: 9890affb9a45e68a7b292f10a188a23ce53fae87
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.