8#ifndef RecordTestUtils_DEFINED
9#define RecordTestUtils_DEFINED
33 record.
visit(index, reader);
47 for (
int i = 0;
i < record.
count();
i++) {
48 counter += record.
visit(
i, matcher);
55 for (
int i = 0;
i < record.
count();
i++) {
56 if (record.
visit(
i, matcher)) {
int find_first_instances_of_type(const SkRecord &record)
static const T * assert_type(skiatest::Reporter *r, const SkRecord &record, int index)
int count_instances_of_type(const SkRecord &record)
static constexpr bool SkToBool(const T &x)
#define REPORTER_ASSERT(r, cond,...)
auto visit(int i, F &&f) const -> decltype(f(SkRecords::NoOp()))
int operator()(const DrawT &)
int operator()(const T &)
void operator()(const T &)
void operator()(const U &r)