mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Check for deprecation warnings in ValidationTests
And adds EXPECT_DEPRECATION_WARNING where necessary in validation tests. Bug: dawn:520, dawn:527 Change-Id: Ic8e103e4b7b5784a2009519e0a18ed16088632b1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31300 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
25eb373eed
commit
5a1d786754
@@ -585,7 +585,7 @@ TEST_F(RenderPipelineValidationTest, StripIndexFormatRequired) {
|
||||
// TODO(crbug.com/dawn/502): Once setIndexBuffer requires an
|
||||
// indexFormat. this should fail. For now it succeeds to allow
|
||||
// backwards compatibility during the deprecation period.
|
||||
device.CreateRenderPipeline(&descriptor);
|
||||
EXPECT_DEPRECATION_WARNING(device.CreateRenderPipeline(&descriptor));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user