Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

52 static void check_refs(skiatest::Reporter* reporter,
58 REPORTER_ASSERT(reporter, proxy->getProxyRefCnt_TestOnly() == expectedProxyRefs);
59 REPORTER_ASSERT(reporter, proxy->getBackingRefCnt_TestOnly() == expectedBackingRefs);
60 REPORTER_ASSERT(reporter, proxy->getPendingReadCnt_TestOnly() == expectedNumReads);
61 REPORTER_ASSERT(reporter, proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites);
92 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ProxyRefTest, reporter, ctxInfo) {
106 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
111 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
124 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
129 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
142 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
147 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
161 check_refs(reporter, proxy.get(), 3, 3,kExpectedReads, kExpectedWrites);
166 check_refs(reporter, proxy.get(), 3, 3, kExpectedReads, kExpectedWrites);
183 check_refs(reporter, proxy.get(), 2, 2, 0, kExpectedWrites);
188 check_refs(reporter, proxy.get(), 2, 2, 0, kExpectedWrites);
191 check_refs(reporter, proxy.get(), 1, 1, 0, kExpectedWrites);
194 check_refs(reporter, proxy.get(), 1, 1, 1, kExpectedWrites);