mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-22 11:42:17 +00:00
This CL adds the ability to use the `EXPECT_THAT` and `ASSERT_THAT` macros with a `Diagnostics::List` object. The diagnostic string will be emitted as part of the error message. The `Resolver` is updated to provide access to the `Diagnostics` and the `AppendVector` tests are updated to use the resolvers diagnostics instead of the `error()` method. Change-Id: I94682311fe6f135b7fceae9ec7a5108379fd32be Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125060 Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>