Home
last modified time | relevance | path

Searched refs:Handler2 (Results 1 – 5 of 5) sorted by relevance

/haiku/src/tests/kits/app/bhandler/
H A DSetNextHandlerTest.cpp32 BHandler Handler2; in SetNextHandler0() local
35 Looper.AddHandler(&Handler2); in SetNextHandler0()
37 Handler1.SetNextHandler(&Handler2); in SetNextHandler0()
38 CPPUNIT_ASSERT(Handler1.NextHandler() == &Handler2); in SetNextHandler0()
58 BHandler Handler2; in SetNextHandler1() local
59 Handler1.SetNextHandler(&Handler2); in SetNextHandler1()
77 BHandler Handler2; in SetNextHandler2() local
81 Handler1.SetNextHandler(&Handler2); in SetNextHandler2()
99 BHandler Handler2; in SetNextHandler3() local
102 Handler1.SetNextHandler(&Handler2); in SetNextHandler3()
[all …]
H A DBHandlerCases45 case 1: Handler1 and Handler2 do not belong to a BLooper
46 case 2: Handler1 belongs to a BLooper (which is unlocked), Handler2 does not
47 case 3: Handler1 belongs to a BLooper (which is locked), Handler2 does not
48 case 4: Handler1 does not belong to a BLooper, Handler2 does (which is unlocked)
49 case 5: Handler1 does not belong to a BLooper, Handler2 does (which is locked)
50 case 6: Handler1 and Handler2 belong to different BLoopers, which are unlocked
51 case 7: Handler1 and Handler2 belong to different BLoopers, and Handler1's
52 BLooper is locked; Handler2's is not
53 case 8: Handler1 and Handler2 belong to different BLoopers, and Handler1's
54 BLooper is unlocked; Handler2's is locked
[all …]
/haiku/src/tests/kits/app/blooper/
H A DIndexOfTest.cpp71 BHandler Handler2; in IndexOfTest4() local
78 Looper.AddHandler(&Handler2); in IndexOfTest4()
80 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()
83 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()
87 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()
92 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()
100 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()
106 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()
112 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()
116 Looper.RemoveHandler(&Handler2); in IndexOfTest4()
[all …]
H A DCountHandlersTest.cpp42 BHandler Handler2; in CountHandlersTest2() local
47 Looper.AddHandler(&Handler2); in CountHandlersTest2()
54 Looper.RemoveHandler(&Handler2); in CountHandlersTest2()
H A DHandlerAtTest.cpp60 CREATE_AND_ADD(Handler2); in HandlerAtTest3()
65 CPPUNIT_ASSERT(Looper.HandlerAt(2) == &Handler2); in HandlerAtTest3()