Lines Matching refs:salhelper
28 namespace salhelper { namespace
39 { return typeid (salhelper::Condition *); } in getConditionTypeInfo()
42 { return typeid (salhelper::ConditionModifier *); } in getConditionModifierTypeInfo()
45 { return typeid (salhelper::ConditionWaiter *); } in getConditionWaiterTypeInfo()
48 { return typeid (salhelper::ORealDynamicLoader *); } in getORealDynamicLoaderTypeInfo()
51 { return typeid (salhelper::SimpleReferenceObject *); } in getSimpleReferenceObjectTypeInfo()
65 class DerivedCondition: public salhelper::Condition {
74 public salhelper::ConditionWaiter::timedout
77 class DerivedSimpleReferenceObject: public salhelper::SimpleReferenceObject {};
85 std::auto_ptr< salhelper::Condition > p(new DerivedCondition(mutex)); in TEST_F()
86 ASSERT_TRUE(typeid (*p.get()) != typeid (salhelper::Condition)); in TEST_F()
87 ASSERT_TRUE(typeid (p.get()) == typeid (salhelper::Condition *)); in TEST_F()
89 typeid (const_cast< salhelper::Condition const * >(p.get())) in TEST_F()
90 == typeid (salhelper::Condition const *)); in TEST_F()
92 typeid (const_cast< salhelper::Condition volatile * >(p.get())) in TEST_F()
93 == typeid (salhelper::Condition volatile *)); in TEST_F()
94 ASSERT_TRUE(typeid (salhelper::Condition *) == getConditionTypeInfo()); in TEST_F()
98 salhelper::ConditionModifier * p = 0; in TEST_F()
99 ASSERT_TRUE(typeid (*p) == typeid (salhelper::ConditionModifier)); in TEST_F()
100 ASSERT_TRUE(typeid (p) == typeid (salhelper::ConditionModifier *)); in TEST_F()
102 typeid (const_cast< salhelper::ConditionModifier const * >(p)) in TEST_F()
103 == typeid (salhelper::ConditionModifier const *)); in TEST_F()
105 typeid (const_cast< salhelper::ConditionModifier volatile * >(p)) in TEST_F()
106 == typeid (salhelper::ConditionModifier volatile *)); in TEST_F()
108 typeid (salhelper::ConditionModifier *) in TEST_F()
113 salhelper::ConditionWaiter * p = 0; in TEST_F()
114 ASSERT_TRUE(typeid (*p) == typeid (salhelper::ConditionWaiter)); in TEST_F()
115 ASSERT_TRUE(typeid (p) == typeid (salhelper::ConditionWaiter *)); in TEST_F()
117 typeid (const_cast< salhelper::ConditionWaiter const * >(p)) in TEST_F()
118 == typeid (salhelper::ConditionWaiter const *)); in TEST_F()
120 typeid (const_cast< salhelper::ConditionWaiter volatile * >(p)) in TEST_F()
121 == typeid (salhelper::ConditionWaiter volatile *)); in TEST_F()
123 typeid (salhelper::ConditionWaiter *) == getConditionWaiterTypeInfo()); in TEST_F()
127 salhelper::ConditionWaiter::timedout x; in TEST_F()
128 ASSERT_TRUE(typeid (x) == typeid (salhelper::ConditionWaiter::timedout)); in TEST_F()
130 typeid (&x) == typeid (salhelper::ConditionWaiter::timedout *)); in TEST_F()
132 typeid (const_cast< salhelper::ConditionWaiter::timedout const * >(&x)) in TEST_F()
133 == typeid (salhelper::ConditionWaiter::timedout const *)); in TEST_F()
136 (const_cast< salhelper::ConditionWaiter::timedout volatile * >(&x))) in TEST_F()
137 == typeid (salhelper::ConditionWaiter::timedout volatile *)); in TEST_F()
139 throw salhelper::ConditionWaiter::timedout(); in TEST_F()
140 } catch (salhelper::ConditionWaiter::timedout &) { in TEST_F()
147 salhelper::ORealDynamicLoader * p = 0; in TEST_F()
148 ASSERT_TRUE(typeid (p) != typeid (salhelper::ORealDynamicLoader)); in TEST_F()
149 ASSERT_TRUE(typeid (p) == typeid (salhelper::ORealDynamicLoader *)); in TEST_F()
151 typeid (const_cast< salhelper::ORealDynamicLoader const * >(p)) in TEST_F()
152 == typeid (salhelper::ORealDynamicLoader const *)); in TEST_F()
154 typeid (const_cast< salhelper::ORealDynamicLoader volatile * >(p)) in TEST_F()
155 == typeid (salhelper::ORealDynamicLoader volatile *)); in TEST_F()
157 typeid (salhelper::ORealDynamicLoader *) in TEST_F()
162 salhelper::SimpleReferenceObject * p = new DerivedSimpleReferenceObject; in TEST_F()
165 typeid (*p) != typeid (salhelper::SimpleReferenceObject)); in TEST_F()
167 typeid (p) == typeid (salhelper::SimpleReferenceObject *)); in TEST_F()
169 typeid (const_cast< salhelper::SimpleReferenceObject const * >(p)) in TEST_F()
170 == typeid (salhelper::SimpleReferenceObject const *)); in TEST_F()
173 (const_cast< salhelper::SimpleReferenceObject volatile * >(p))) in TEST_F()
174 == typeid (salhelper::SimpleReferenceObject volatile *)); in TEST_F()
176 typeid (salhelper::SimpleReferenceObject *) in TEST_F()
186 std::auto_ptr< salhelper::Condition > p(new DerivedCondition(mutex)); in TEST_F()
191 std::auto_ptr< salhelper::ConditionWaiter::timedout > p( in TEST_F()
197 } catch (salhelper::ConditionWaiter::timedout &) { in TEST_F()
204 salhelper::SimpleReferenceObject * p = new DerivedSimpleReferenceObject; in TEST_F()