[roll] Roll fuchsia [fidlc] Parameterize versioning tests

This changes versioning_{basic,overlap,replacement}_tests.cc to
parameterize tests by target version using GoogleTest's TEST_P feature:
https://google.github.io/googletest/advanced.html#value-parameterized-tests

This makes tests a lot shorter and easier to read/write. Previously
tests either used loops, repeated the setup code for every version, or
(mostly "Bad" tests) only tested with one target version.

I also added helpers HasStruct etc. corresponding to LookupStruct etc.
to make the EXPECT_EQ assertions easier to read.

This is a follow up to I970a0978ccfd9b00a5b8036b81afdc13c1c8536a which
broke versioning_tests.cc into smaller files.

Test: fx test fidlc-test
Test: manually made test fail and observed version param in test output
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1029972
Original-Revision: 9e67162bba2fbbad5fabc5d4adba2562cf74c729
GitOrigin-RevId: 602f1f883ed5c8fc78129e9d06e00fd51cc46fb4
Change-Id: I04d06f60ef2e14098b0499b0d40f1a0a4edd965e
1 file changed
tree: f698daae238ac69f8af667bc59f4b875f01241b4
  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.