Lines Matching refs:Reporter
23 static void check_data(skiatest::Reporter* reporter, SkCachedData* data,
25 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt);
26 REPORTER_ASSERT(reporter, data->testing_only_isInCache() == (kInCache == cacheState));
28 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked));
31 DEF_TEST(YUVPlanesCache, reporter) {
45 REPORTER_ASSERT(reporter, nullptr == data);
52 check_data(reporter, data, 2, kInCache, kLocked);
55 check_data(reporter, data, 1, kInCache, kUnlocked);
60 REPORTER_ASSERT(reporter, data);
61 REPORTER_ASSERT(reporter, data->size() == size);
63 REPORTER_ASSERT(reporter, yuvInfo.fSizeInfo.fSizes[i].fWidth ==
65 REPORTER_ASSERT(reporter, yuvInfo.fSizeInfo.fSizes[i].fHeight ==
67 REPORTER_ASSERT(reporter, yuvInfo.fSizeInfo.fWidthBytes[i] ==
70 REPORTER_ASSERT(reporter, yuvInfo.fColorSpace == yuvInfoRead.fColorSpace);
72 check_data(reporter, data, 2, kInCache, kLocked);
75 check_data(reporter, data, 1, kNotInCache, kLocked);