Lines Matching refs:observer
116 auto observer = sk_make_sp<TestPropertyObserver>(); in DEF_TEST() local
119 .setPropertyObserver(observer) in DEF_TEST()
124 const auto& colors = observer->colors(); in DEF_TEST()
129 const auto& opacities = observer->opacities(); in DEF_TEST()
136 const auto& transforms = observer->transforms(); in DEF_TEST()
204 auto observer = sk_make_sp<TestMarkerObserver>(); in DEF_TEST() local
207 .setMarkerObserver(observer) in DEF_TEST()
212 REPORTER_ASSERT(reporter, observer->fMarkers.size() == 2ul); in DEF_TEST()
213 REPORTER_ASSERT(reporter, std::get<0>(observer->fMarkers[0]) == "marker_1"); in DEF_TEST()
214 REPORTER_ASSERT(reporter, std::get<1>(observer->fMarkers[0]) == 0.25f); in DEF_TEST()
215 REPORTER_ASSERT(reporter, std::get<2>(observer->fMarkers[0]) == 0.50f); in DEF_TEST()
216 REPORTER_ASSERT(reporter, std::get<0>(observer->fMarkers[1]) == "marker_2"); in DEF_TEST()
217 REPORTER_ASSERT(reporter, std::get<1>(observer->fMarkers[1]) == 0.75f); in DEF_TEST()
218 REPORTER_ASSERT(reporter, std::get<2>(observer->fMarkers[1]) == 0.75f); in DEF_TEST()