| Index: tests/TestConfigParsing.cpp
|
| diff --git a/tests/TestConfigParsing.cpp b/tests/TestConfigParsing.cpp
|
| index 61775d5ab2b845715d71948fe606b8b405ae3d80..620a7c42eaf5a213b381f99d4e56d0b49d4e8df8 100644
|
| --- a/tests/TestConfigParsing.cpp
|
| +++ b/tests/TestConfigParsing.cpp
|
| @@ -47,7 +47,7 @@ DEF_TEST(ParseConfigs_Gpu, reporter) {
|
| REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getUseInstanced() == false);
|
| REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getUseDIText() == false);
|
| REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getSamples() == 0);
|
| - REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getColorType() == kN32_SkColorType);
|
| + REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getColorType() == kRGBA_8888_SkColorType);
|
| REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getColorSpace() == nullptr);
|
| #endif
|
| }
|
| @@ -127,7 +127,7 @@ DEF_TEST(ParseConfigs_DefaultConfigs, reporter) {
|
| REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace()->gammaIsLinear());
|
| REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace()->toXYZD50() ==
|
| srgbColorSpace->toXYZD50());
|
| - REPORTER_ASSERT(reporter, configs[26]->asConfigGpu()->getColorType() == kN32_SkColorType);
|
| + REPORTER_ASSERT(reporter, configs[26]->asConfigGpu()->getColorType() == kRGBA_8888_SkColorType);
|
| REPORTER_ASSERT(reporter, configs[26]->asConfigGpu()->getColorSpace() == srgbColorSpace.get());
|
| REPORTER_ASSERT(reporter, configs[41]->asConfigGpu()->getColorType() == kRGBA_F16_SkColorType);
|
| REPORTER_ASSERT(reporter, configs[41]->asConfigGpu()->getColorSpace());
|
| @@ -194,7 +194,7 @@ DEF_TEST(ParseConfigs_DefaultConfigs, reporter) {
|
| REPORTER_ASSERT(reporter, configs[29]->asConfigGpu()->getUseNVPR());
|
| REPORTER_ASSERT(reporter, configs[29]->asConfigGpu()->getUseDIText());
|
| REPORTER_ASSERT(reporter, configs[30]->asConfigGpu());
|
| - REPORTER_ASSERT(reporter, configs[30]->asConfigGpu()->getColorType() == kN32_SkColorType);
|
| + REPORTER_ASSERT(reporter, configs[30]->asConfigGpu()->getColorType() == kRGBA_8888_SkColorType);
|
| REPORTER_ASSERT(reporter, configs[30]->asConfigGpu()->getColorSpace() == srgbColorSpace.get());
|
| REPORTER_ASSERT(reporter, configs[31]->asConfigGpu());
|
| REPORTER_ASSERT(reporter, configs[31]->asConfigGpu()->getSamples() == 4);
|
|
|