Lines Matching refs:CHECK
26 CHECK(tracking_policy::releases == 1); in tests()
27 CHECK(tracking_policy::retains == 1); in tests()
28 CHECK(ptr.get() == &obj2); in tests()
36 CHECK(tracking_policy::releases == 1); in tests()
37 CHECK(tracking_policy::retains == 0); in tests()
38 CHECK(ptr.get() == nullptr); in tests()
46 CHECK(tracking_policy::releases == 0); in tests()
47 CHECK(tracking_policy::retains == 1); in tests()
48 CHECK(ptr.get() == &obj2); in tests()
56 CHECK(tracking_policy::releases == 0); in tests()
57 CHECK(tracking_policy::retains == 0); in tests()
58 CHECK(ptr.get() == nullptr); in tests()
65 CHECK(tracking_policy::retains == 1); in tests()
67 CHECK(tracking_policy::retains == 2); in tests()
68 CHECK(tracking_policy::releases == 1); in tests()
69 CHECK(tracking_policy::refcount == 1); in tests()
70 CHECK(!tracking_policy::hit_zero); in tests()
71 CHECK(ptr.get() == &obj1); in tests()
78 CHECK(ptr.reset(&obj2, libkern::retain)); in tests()
82 CHECK(ptr2.get() == nullptr); in tests()