Home | History | Annotate | Download | only in tests

Lines Matching refs:REPORTER_ASSERT

62         REPORTER_ASSERT(reporter, layer);
65 REPORTER_ASSERT(reporter, temp == layer);
67 REPORTER_ASSERT(reporter, TestingAccess::NumLayers(cache) == idOffset + i + 1);
69 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID());
70 REPORTER_ASSERT(reporter, layer->start() == idOffset + i + 1);
71 REPORTER_ASSERT(reporter, layer->stop() == idOffset + i + 2);
72 REPORTER_ASSERT(reporter, nullptr == layer->texture());
73 REPORTER_ASSERT(reporter, nullptr == layer->paint());
74 REPORTER_ASSERT(reporter, !layer->isAtlased());
93 REPORTER_ASSERT(reporter, needsRerendering);
96 REPORTER_ASSERT(reporter, !needsRerendering);
98 REPORTER_ASSERT(reporter, layer->texture());
99 REPORTER_ASSERT(reporter, layer->locked());
103 REPORTER_ASSERT(reporter, 1 == TestingAccess::Uses(layer));
139 REPORTER_ASSERT(reporter, layer);
149 REPORTER_ASSERT(reporter, layer->isAtlased());
151 REPORTER_ASSERT(reporter, 1 == stats.fTotal);
155 REPORTER_ASSERT(reporter, !layer->isAtlased());
157 REPORTER_ASSERT(reporter, 2 == stats.fTotal);
168 REPORTER_ASSERT(reporter, layer);
174 REPORTER_ASSERT(reporter, 2 == stats.fTotal);
176 REPORTER_ASSERT(reporter, 1 == stats.fNumPurgeable);
177 REPORTER_ASSERT(reporter, 1 == stats.fNumNonPurgeable);
185 REPORTER_ASSERT(reporter, layer);
188 REPORTER_ASSERT(reporter, !layer->locked());
195 REPORTER_ASSERT(reporter, layer->texture());
196 REPORTER_ASSERT(reporter, layer->isAtlased());
200 REPORTER_ASSERT(reporter, nullptr == layer->texture());
201 REPORTER_ASSERT(reporter, !layer->isAtlased());
209 REPORTER_ASSERT(reporter, nullptr == TestingAccess::GetBackingTexture(&cache));
213 REPORTER_ASSERT(reporter, 2 == stats.fTotal);
215 REPORTER_ASSERT(reporter, 2 == stats.fNumPurgeable);
220 REPORTER_ASSERT(reporter, TestingAccess::GetBackingTexture(&cache));
224 REPORTER_ASSERT(reporter, 2 == stats.fTotal);
226 REPORTER_ASSERT(reporter, 1 == stats.fNumPurgeable);
227 REPORTER_ASSERT(reporter, 1 == stats.fNumNonPurgeable);
238 REPORTER_ASSERT(reporter, layer);
252 REPORTER_ASSERT(reporter, layer);
253 REPORTER_ASSERT(reporter, !layer->locked());
254 REPORTER_ASSERT(reporter, layer->texture());
255 REPORTER_ASSERT(reporter, layer->isAtlased());
259 REPORTER_ASSERT(reporter, layer);
261 REPORTER_ASSERT(reporter, nullptr == layer->texture());
262 REPORTER_ASSERT(reporter, !layer->isAtlased());
266 REPORTER_ASSERT(reporter, nullptr == layer);
276 REPORTER_ASSERT(reporter, TestingAccess::NumLayers(&cache) == 0);
280 REPORTER_ASSERT(reporter, 2 == stats.fTotal);
282 REPORTER_ASSERT(reporter, 1 == stats.fNumPurgeable);
283 REPORTER_ASSERT(reporter, 1 == stats.fNumNonPurgeable);
295 REPORTER_ASSERT(reporter, TestingAccess::NumLayers(&cache) == 0);
297 REPORTER_ASSERT(reporter, nullptr == TestingAccess::GetBackingTexture(&cache));
301 REPORTER_ASSERT(reporter, 2 == stats.fTotal);
302 REPORTER_ASSERT(reporter, 2 == stats.fNumPurgeable);
310 REPORTER_ASSERT(reporter, 0 == stats.fTotal);
315 REPORTER_ASSERT(reporter, nullptr == TestingAccess::GetBackingTexture(&cache));
327 REPORTER_ASSERT(reporter, layer);
334 REPORTER_ASSERT(reporter, 2 == stats.fTotal);
335 REPORTER_ASSERT(reporter, 2 == stats.fNumNonPurgeable);
344 REPORTER_ASSERT(reporter, layer);
351 REPORTER_ASSERT(reporter, TestingAccess::NumLayers(&cache) == 0);
355 REPORTER_ASSERT(reporter, 2 == stats.fTotal);
356 REPORTER_ASSERT(reporter, 1 == stats.fNumPurgeable);
357 REPORTER_ASSERT(reporter, 1 == stats.fNumNonPurgeable);
364 REPORTER_ASSERT(reporter, 2 == stats.fTotal);
365 REPORTER_ASSERT(reporter, 2 == stats.fNumPurgeable);