writer/spirv: Refactor builder constructor tests

... using the new ast::Builder.

Also rename the test fixture name to include the common part of the test
names, and prefix with Spv. This makes it possible to run just these
tests with `--gtest_filter=SpvBuilderConstructorTest*`

Change-Id: I82067a551f4bc86847e61cb284a21b0d14536e87
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/32984
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
Ben Clayton 2020-11-17 17:53:38 +00:00 committed by Commit Bot service account
parent 8f26453c7d
commit 0ae939bc0c
1 changed files with 357 additions and 1387 deletions

File diff suppressed because it is too large Load Diff