Lines Matching refs:t1
66 t1( new Help(10) ); in global() local
79 CPPUNIT_ASSERT_MESSAGE("ctor7", t1.is()); in global()
80 CPPUNIT_ASSERT_MESSAGE("ctor8", (*t1).Value() == 10 ); in global()
81 CPPUNIT_ASSERT_MESSAGE("ctor9", t1->Value() == 10 ); in global()
82 CPPUNIT_ASSERT_MESSAGE("ctor10", t1.get() == t1.operator->() ); in global()
83 CPPUNIT_ASSERT_MESSAGE("ctor11", t1.get() == &(*t1) ); in global()
92 CPPUNIT_ASSERT_MESSAGE("bool3", t1.is() == static_cast<bool>(t1)); in global()
97 Help * hp = t1.release(); in global()
98 CPPUNIT_ASSERT_MESSAGE("release1", ! t1.is() ); in global()
99 CPPUNIT_ASSERT_MESSAGE("release2", t1.get() == 0 ); in global()
100 CPPUNIT_ASSERT_MESSAGE("release3", t1.operator->() == 0 ); in global()
108 t1 = t_empty.release(); in global()
109 CPPUNIT_ASSERT_MESSAGE("assign3", t1.is() ); in global()
136 t1.swap(t2); in global()
137 CPPUNIT_ASSERT_MESSAGE("swap1", t1->Value() == 20 ); in global()
141 o3tl::swap(t1,t2); in global()
142 CPPUNIT_ASSERT_MESSAGE("swap4", t1->Value() == 10 ); in global()