Home | History | Annotate | Download | only in tests

Lines Matching refs:reporter

30 template<uint32_t kMaxObjects, size_t kBytes> void test_allocator(skiatest::Reporter* reporter) {
35 REPORTER_ASSERT(reporter, c != NULL);
36 REPORTER_ASSERT(reporter, CountingClass::GetCount() == static_cast<int>(i+1));
39 REPORTER_ASSERT(reporter, CountingClass::GetCount() == 0);
44 DEF_TEST(SmallAllocator_destructor, reporter) {
48 test_allocator<5, 20>(reporter);
49 test_allocator<10, 40>(reporter);
50 test_allocator<20, 80>(reporter);
55 test_allocator<50, 20>(reporter);
56 test_allocator<100, 20>(reporter);
77 DEF_TEST(SmallAllocator_pointer, reporter) {
81 REPORTER_ASSERT(reporter, container != NULL);
82 REPORTER_ASSERT(reporter, container->getDummy() == &d);