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 {};
114 std::auto_ptr< salhelper::Condition > p(new DerivedCondition(mutex)); in testCondition()
115 CPPUNIT_ASSERT(typeid (*p.get()) != typeid (salhelper::Condition)); in testCondition()
116 CPPUNIT_ASSERT(typeid (p.get()) == typeid (salhelper::Condition *)); in testCondition()
118 typeid (const_cast< salhelper::Condition const * >(p.get())) in testCondition()
119 == typeid (salhelper::Condition const *)); in testCondition()
121 typeid (const_cast< salhelper::Condition volatile * >(p.get())) in testCondition()
122 == typeid (salhelper::Condition volatile *)); in testCondition()
123 CPPUNIT_ASSERT(typeid (salhelper::Condition *) == getConditionTypeInfo()); in testCondition()
127 salhelper::ConditionModifier * p = 0; in testConditionModifier()
128 CPPUNIT_ASSERT(typeid (*p) == typeid (salhelper::ConditionModifier)); in testConditionModifier()
129 CPPUNIT_ASSERT(typeid (p) == typeid (salhelper::ConditionModifier *)); in testConditionModifier()
131 typeid (const_cast< salhelper::ConditionModifier const * >(p)) in testConditionModifier()
132 == typeid (salhelper::ConditionModifier const *)); in testConditionModifier()
134 typeid (const_cast< salhelper::ConditionModifier volatile * >(p)) in testConditionModifier()
135 == typeid (salhelper::ConditionModifier volatile *)); in testConditionModifier()
137 typeid (salhelper::ConditionModifier *) in testConditionModifier()
142 salhelper::ConditionWaiter * p = 0; in testConditionWaiter()
143 CPPUNIT_ASSERT(typeid (*p) == typeid (salhelper::ConditionWaiter)); in testConditionWaiter()
144 CPPUNIT_ASSERT(typeid (p) == typeid (salhelper::ConditionWaiter *)); in testConditionWaiter()
146 typeid (const_cast< salhelper::ConditionWaiter const * >(p)) in testConditionWaiter()
147 == typeid (salhelper::ConditionWaiter const *)); in testConditionWaiter()
149 typeid (const_cast< salhelper::ConditionWaiter volatile * >(p)) in testConditionWaiter()
150 == typeid (salhelper::ConditionWaiter volatile *)); in testConditionWaiter()
152 typeid (salhelper::ConditionWaiter *) == getConditionWaiterTypeInfo()); in testConditionWaiter()
156 salhelper::ConditionWaiter::timedout x; in testConditionWaiterTimedout()
157 CPPUNIT_ASSERT(typeid (x) == typeid (salhelper::ConditionWaiter::timedout)); in testConditionWaiterTimedout()
159 typeid (&x) == typeid (salhelper::ConditionWaiter::timedout *)); in testConditionWaiterTimedout()
161 typeid (const_cast< salhelper::ConditionWaiter::timedout const * >(&x)) in testConditionWaiterTimedout()
162 == typeid (salhelper::ConditionWaiter::timedout const *)); in testConditionWaiterTimedout()
165 (const_cast< salhelper::ConditionWaiter::timedout volatile * >(&x))) in testConditionWaiterTimedout()
166 == typeid (salhelper::ConditionWaiter::timedout volatile *)); in testConditionWaiterTimedout()
168 throw salhelper::ConditionWaiter::timedout(); in testConditionWaiterTimedout()
169 } catch (salhelper::ConditionWaiter::timedout &) { in testConditionWaiterTimedout()
176 salhelper::ORealDynamicLoader * p = 0; in testORealDynamicLoader()
177 CPPUNIT_ASSERT(typeid (p) != typeid (salhelper::ORealDynamicLoader)); in testORealDynamicLoader()
178 CPPUNIT_ASSERT(typeid (p) == typeid (salhelper::ORealDynamicLoader *)); in testORealDynamicLoader()
180 typeid (const_cast< salhelper::ORealDynamicLoader const * >(p)) in testORealDynamicLoader()
181 == typeid (salhelper::ORealDynamicLoader const *)); in testORealDynamicLoader()
183 typeid (const_cast< salhelper::ORealDynamicLoader volatile * >(p)) in testORealDynamicLoader()
184 == typeid (salhelper::ORealDynamicLoader volatile *)); in testORealDynamicLoader()
186 typeid (salhelper::ORealDynamicLoader *) in testORealDynamicLoader()
191 salhelper::SimpleReferenceObject * p = new DerivedSimpleReferenceObject; in testSimpleReferenceObject()
194 typeid (*p) != typeid (salhelper::SimpleReferenceObject)); in testSimpleReferenceObject()
196 typeid (p) == typeid (salhelper::SimpleReferenceObject *)); in testSimpleReferenceObject()
198 typeid (const_cast< salhelper::SimpleReferenceObject const * >(p)) in testSimpleReferenceObject()
199 == typeid (salhelper::SimpleReferenceObject const *)); in testSimpleReferenceObject()
202 (const_cast< salhelper::SimpleReferenceObject volatile * >(p))) in testSimpleReferenceObject()
203 == typeid (salhelper::SimpleReferenceObject volatile *)); in testSimpleReferenceObject()
205 typeid (salhelper::SimpleReferenceObject *) in testSimpleReferenceObject()
215 std::auto_ptr< salhelper::Condition > p(new DerivedCondition(mutex)); in testDerivedCondition()
220 std::auto_ptr< salhelper::ConditionWaiter::timedout > p( in testDerivedConditionWaiterTimedout()
226 } catch (salhelper::ConditionWaiter::timedout &) { in testDerivedConditionWaiterTimedout()
233 salhelper::SimpleReferenceObject * p = new DerivedSimpleReferenceObject; in testDerivedSimpleReferenceObject()