[roll] Roll fuchsia [bind] Refactor tests in encode_bind_program_v2

Refactored the tests in encode_bind_program_v2 so
that it's easier to read and write them, especially
when the tests become more complex in the future.

This CL introduce constants for the number of bytes
in instructions so that the tests can use them to
calculated the expected results.

It also introduces helper methods to verify the
instructions and the headers.

Original-Bug: 67440
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/478638
Original-Revision: bf5c3308dca447d710e1442364a420614298ba2a
GitOrigin-RevId: 9ce12df62a3af9f94b2a9e54e8d5bafda53b8160
Change-Id: Id0ccba4fb2ea96c87e5fd8c4b1fa6980057c9416
1 file changed
tree: bb8ccd286fb8d6cc692b86c6e8b192913d934029
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. flower
  8. jiri.lock
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
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.