Searched refs:expect_alive (Results 1 – 10 of 10) sorted by relevance
24 const int expect_alive = IsArray ? 3 : 1; in test_reset_pointer() local34 assert(A::count == expect_alive); in test_reset_pointer()38 assert(A::count == (expect_alive * 2)); in test_reset_pointer()40 assert(A::count == expect_alive); in test_reset_pointer()46 assert(A::count == expect_alive); in test_reset_pointer()50 assert(A::count == (expect_alive * 2)); in test_reset_pointer()52 assert(A::count == expect_alive); in test_reset_pointer()61 const int expect_alive = IsArray ? 3 : 1; in test_reset_nullptr() local71 assert(A::count == expect_alive); in test_reset_nullptr()85 const int expect_alive = IsArray ? 3 : 1; in test_reset_no_arg() local[all …]
24 const int expect_alive = IsArray ? 3 : 1; in test_basic() local33 std::unique_ptr<VT> p(newValue<VT>(expect_alive)); in test_basic()34 assert(A::count == expect_alive); in test_basic()37 assert(A::count == expect_alive); in test_basic()
53 const int expect_alive = IsArray ? 5 : 1; in test_basic() local62 TT* p1 = newValueInit<VT>(expect_alive, 1); in test_basic()64 TT* p2 = newValueInit<VT>(expect_alive, 2); in test_basic()79 assert(TT::count == (expect_alive * 2)); in test_basic()
38 const int expect_alive = IsArray ? 5 : 1; in test_basic() local40 std::unique_ptr<VT> s1(newValue<VT>(expect_alive)); in test_basic()42 std::unique_ptr<VT> s2(newValue<VT>(expect_alive)); in test_basic()43 assert(A::count == (expect_alive * 2)); in test_basic()45 assert(A::count == expect_alive); in test_basic()51 std::unique_ptr<VT, Deleter<VT> > s1(newValue<VT>(expect_alive), in test_basic()55 assert(A::count == (expect_alive * 2)); in test_basic()59 assert(A::count == expect_alive); in test_basic()73 assert(A::count == expect_alive); in test_basic()79 std::unique_ptr<VT> s(newValue<VT>(expect_alive)); in test_basic()[all …]
26 const int expect_alive = IsArray ? 5 : 1; in test_basic() local28 std::unique_ptr<VT> s2(newValue<VT>(expect_alive)); in test_basic()29 assert(A::count == expect_alive); in test_basic()
25 const int expect_alive = IsArray ? 5 : 1; in test_basic() local27 std::unique_ptr<VT> s2(newValue<VT>(expect_alive)); in test_basic()28 assert(A::count == expect_alive); in test_basic()
42 const int expect_alive = IsArray ? 5 : 1; in test_pointer() local58 A* p = newValue<ValueT>(expect_alive); in test_pointer()59 assert(A::count == expect_alive); in test_pointer()65 A* p = newValue<ValueT>(expect_alive); in test_pointer()66 assert(A::count == expect_alive); in test_pointer()73 A* p = newValue<ValueT>(expect_alive); in test_pointer()74 assert(A::count == expect_alive); in test_pointer()
86 const int expect_alive = IsArray ? 5 : 1; in test_basic() local89 APtr s(newValue<VT>(expect_alive)); in test_basic()94 assert(A::count == expect_alive); in test_basic()101 APtr s(newValue<VT>(expect_alive), std::move(d)); in test_basic()108 assert(A::count == expect_alive); in test_basic()118 APtr s(newValue<VT>(expect_alive), d); in test_basic()123 assert(A::count == expect_alive); in test_basic()
209 const int expect_alive = IsArray ? 5 : 1; in test_basic() local211 A* p = newValue<VT>(expect_alive); in test_basic()212 assert(A::count == expect_alive); in test_basic()219 A* p = newValue<VT>(expect_alive); in test_basic()220 assert(A::count == expect_alive); in test_basic()230 A* p = newValue<VT>(expect_alive); in test_basic()231 assert(A::count == expect_alive); in test_basic()242 A* p = newValue<VT>(expect_alive); in test_basic()243 assert(A::count == expect_alive); in test_basic()
99 void doIncompleteTypeTest(int expect_alive, Args&&... ctor_args) {100 checkNumIncompleteTypeAlive(expect_alive);103 checkNumIncompleteTypeAlive(expect_alive);104 if (expect_alive == 0)