Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

51 static void check_refs(skiatest::Reporter* reporter,
57 REPORTER_ASSERT(reporter, proxy->getProxyRefCnt_TestOnly() == expectedProxyRefs);
58 REPORTER_ASSERT(reporter, proxy->getBackingRefCnt_TestOnly() == expectedBackingRefs);
59 REPORTER_ASSERT(reporter, proxy->getPendingReadCnt_TestOnly() == expectedNumReads);
60 REPORTER_ASSERT(reporter, proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites);
92 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ProxyRefTest, reporter, ctxInfo) {
105 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
110 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
122 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
127 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
139 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
144 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
156 check_refs(reporter, proxy.get(), 3, 3,kExpectedReads, kExpectedWrites);
161 check_refs(reporter, proxy.get(), 3, 3, kExpectedReads, kExpectedWrites);
176 check_refs(reporter, proxy.get(), 2, 2, 0, kExpectedWrites);
181 check_refs(reporter, proxy.get(), 2, 2, 0, kExpectedWrites);
184 check_refs(reporter, proxy.get(), 1, 1, 0, kExpectedWrites);
187 check_refs(reporter, proxy.get(), 1, 1, 1, kExpectedWrites);