• Home
  • Raw
  • Download

Lines Matching refs:reporter

14 static void TestRefDict(skiatest::Reporter* reporter) {  in TestRefDict()  argument
18 REPORTER_ASSERT(reporter, NULL == dict.find(NULL)); in TestRefDict()
19 REPORTER_ASSERT(reporter, NULL == dict.find("foo")); in TestRefDict()
20 REPORTER_ASSERT(reporter, NULL == dict.find("bar")); in TestRefDict()
23 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in TestRefDict()
24 REPORTER_ASSERT(reporter, 2 == data0.getRefCnt()); in TestRefDict()
27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in TestRefDict()
28 REPORTER_ASSERT(reporter, 2 == data0.getRefCnt()); in TestRefDict()
31 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in TestRefDict()
32 REPORTER_ASSERT(reporter, 1 == data0.getRefCnt()); in TestRefDict()
33 REPORTER_ASSERT(reporter, 2 == data1.getRefCnt()); in TestRefDict()
36 REPORTER_ASSERT(reporter, NULL == dict.find("foo")); in TestRefDict()
37 REPORTER_ASSERT(reporter, 1 == data0.getRefCnt()); in TestRefDict()
38 REPORTER_ASSERT(reporter, 1 == data1.getRefCnt()); in TestRefDict()
42 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in TestRefDict()
43 REPORTER_ASSERT(reporter, &data1 == dict.find("bar")); in TestRefDict()
44 REPORTER_ASSERT(reporter, 2 == data0.getRefCnt()); in TestRefDict()
45 REPORTER_ASSERT(reporter, 2 == data1.getRefCnt()); in TestRefDict()
48 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in TestRefDict()
49 REPORTER_ASSERT(reporter, &data1 == dict.find("bar")); in TestRefDict()
50 REPORTER_ASSERT(reporter, 1 == data0.getRefCnt()); in TestRefDict()
51 REPORTER_ASSERT(reporter, 3 == data1.getRefCnt()); in TestRefDict()
54 REPORTER_ASSERT(reporter, NULL == dict.find("foo")); in TestRefDict()
55 REPORTER_ASSERT(reporter, NULL == dict.find("bar")); in TestRefDict()
56 REPORTER_ASSERT(reporter, 1 == data0.getRefCnt()); in TestRefDict()
57 REPORTER_ASSERT(reporter, 1 == data1.getRefCnt()); in TestRefDict()
61 REPORTER_ASSERT(reporter, NULL == d.find("foo")); in TestRefDict()
62 REPORTER_ASSERT(reporter, 1 == data0.getRefCnt()); in TestRefDict()
64 REPORTER_ASSERT(reporter, &data0 == d.find("foo")); in TestRefDict()
65 REPORTER_ASSERT(reporter, 2 == data0.getRefCnt()); in TestRefDict()
69 REPORTER_ASSERT(reporter, 1 == data0.getRefCnt()); in TestRefDict()