Lines Matching refs:errorText
27 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(src)); in test_invalid_effect()
29 REPORTER_ASSERT(r, errorText.contains(expected), in test_invalid_effect()
31 expected, errorText.c_str()); in test_invalid_effect()
82 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl), opt); in DEF_TEST()
83 REPORTER_ASSERT(r, effect, "%s", errorText.c_str()); in DEF_TEST()
93 auto [effect, errorText] = SkRuntimeEffect::MakeForColorFilter(SkString(sksl)); in DEF_TEST()
94 REPORTER_ASSERT(r, effect, "%s", errorText.c_str()); in DEF_TEST()
98 auto [effect, errorText] = SkRuntimeEffect::MakeForColorFilter(SkString(sksl)); in DEF_TEST()
101 errorText.contains(expected), in DEF_TEST()
104 errorText.c_str()); in DEF_TEST()
173 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl)); in DEF_TEST()
174 REPORTER_ASSERT(r, effect, "%s", errorText.c_str()); in DEF_TEST()
178 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl)); in DEF_TEST()
181 errorText.contains(expected), in DEF_TEST()
184 errorText.c_str()); in DEF_TEST()
261 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(src)); in build()
264 SkStringPrintf("Effect didn't compile: %s", errorText.c_str())); in build()