Lines Matching refs:msg
30 BMessage msg;
31 CPPUNIT_ASSERT(msg.what == 0);
32 ConfirmNullConstruction(msg);
43 BMessage msg(1234);
44 CPPUNIT_ASSERT(msg.what == 1234);
45 ConfirmNullConstruction(msg);
49 BMessage(const BMessage& msg)
51 @params msg a default constructed BMessage instance
52 @results what == msg.what and ConfirmNullConstruction is good
75 void TMessageConstructTest::ConfirmNullConstruction(BMessage& msg)
77 CPPUNIT_ASSERT(msg.CountNames(B_ANY_TYPE) == 0);
78 CPPUNIT_ASSERT(msg.IsEmpty());
79 CPPUNIT_ASSERT(!msg.IsSystem());
80 CPPUNIT_ASSERT(!msg.IsReply());
81 CPPUNIT_ASSERT(!msg.WasDelivered());
82 CPPUNIT_ASSERT(!msg.IsSourceWaiting());
83 CPPUNIT_ASSERT(!msg.IsSourceRemote());