[roll] Roll fuchsia [ld] Introduce MockLoaderServiceForTest

This CL moves the logic of controlling the MockLoaderService from
LdLoadZirconLdsvcTestsBase to the new class MockLoaderServiceForTest.

The LdLoadZirconLdsvcTestsBase API becomes thin wrappers around the
MockLoaderServiceForTest API and is entirely defined in the *.h file to
hold the trivial code.

MockLoaderServiceForTest implements the business logic that was formerly
in LdLoadZirconLDsvcTestsBase, accepting a `GetVmo` template parameter
to specify the callback function that will return the VMO result for a
given `name`. It will lazily initialize a MockLoaderService. This API
can be shared with libdl and libld.

Original-Bug: 324136435
Cq-Include-Trybots: luci.turquoise.global.try:run-postsubmit-tryjobs
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1028354
Original-Revision: a606e835d38ea5e1bf79cb458df96afb2f4329ca
GitOrigin-RevId: d27cc595c359879ce397403a4e974a04bf4d8a9c
Change-Id: Ie31b0e1c3a06315f3a4f2b54764e78e40b4386e5
1 file changed
tree: 441b6143a4fc42a7f268a9d4c00a137eeba1d7ff
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. 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.