xref: /haiku/src/tests/kits/app/Jamfile (revision 220d04022750f40f8bac8f01fa551211e28d04f2)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src tests kits app ;
252a38012Sejakowatz
3155b583aSIngo WeinholdSetSubDirSupportedPlatformsBeOSCompatible ;
4155b583aSIngo WeinholdAddSubDirSupportedPlatforms libbe_test ;
5155b583aSIngo Weinhold
6aaa3ba11STyler DauwalderUsePrivateHeaders app ;
7bef39d09SClemens ZeidlerUseHeaders [ FDirName $(HAIKU_TOP) src servers registrar mime ] ;
8aaa3ba11STyler Dauwalder
9bb653c64SIngo Weinhold# Let Jam know where to find some of our source files
108909e4baSIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) bapplication ] ;
119bd2271cSDarkWyrmSEARCH_SOURCE += [ FDirName $(SUBDIR) bclipboard ] ;
129bd2271cSDarkWyrmSEARCH_SOURCE += [ FDirName $(SUBDIR) bcursor ] ;
13be2939caSTyler DauwalderSEARCH_SOURCE += [ FDirName $(SUBDIR) bhandler ] ;
14be2939caSTyler DauwalderSEARCH_SOURCE += [ FDirName $(SUBDIR) blooper ] ;
15241dab65SejakowatzSEARCH_SOURCE += [ FDirName $(SUBDIR) bmessage ] ;
16be2939caSTyler DauwalderSEARCH_SOURCE += [ FDirName $(SUBDIR) bmessagequeue ] ;
17dace24c6SIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) bmessagerunner ] ;
18bb653c64SIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) bmessenger ] ;
19cc3a5fd2SjrandSEARCH_SOURCE += [ FDirName $(SUBDIR) bpropertyinfo ] ;
2009c9c0c1SIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) broster ] ;
218a5e66feSTyler DauwalderSEARCH_SOURCE += [ FDirName $(SUBDIR) broster testapps ] ;
22434af8f8SIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) common ] ;
23bb653c64SIngo Weinhold
24155b583aSIngo Weinhold# TODO: bonefish: There is no MessageTestAddon.cpp. Remove, if noone uses
25155b583aSIngo Weinhold# this.
26155b583aSIngo Weinhold#UnitTestLib libmessagetest.so
27155b583aSIngo Weinhold#	: MessageTestAddon.cpp
28155b583aSIngo Weinhold#		MessageTest.cpp
29155b583aSIngo Weinhold#		MessageConstructTest.cpp
30155b583aSIngo Weinhold#		MessageDestructTest.cpp
31155b583aSIngo Weinhold#		MessageOpAssignTest.cpp
32155b583aSIngo Weinhold#		MessageEasyFindTest.cpp
33155b583aSIngo Weinhold#		MessageSpeedTest.cpp
34*220d0402SOliver Tappe#	: be [ TargetLibstdc++ ]
35155b583aSIngo Weinhold#;
36024ef0b8SMichael Lotz
37bef39d09SClemens Zeidler
38155b583aSIngo WeinholdUnitTestLib libapptest.so
39bb653c64SIngo Weinhold	: AppKitTestAddon.cpp
40bb653c64SIngo Weinhold
418909e4baSIngo Weinhold		# BApplication
428909e4baSIngo Weinhold		ApplicationTest.cpp
43ff952badSIngo Weinhold		AppQuitRequestedTester.cpp
44ff952badSIngo Weinhold		AppQuitTester.cpp
45c9640d94SIngo Weinhold		AppRunTester.cpp
468909e4baSIngo Weinhold		BApplicationTester.cpp
478909e4baSIngo Weinhold
489bd2271cSDarkWyrm		# BClipboard
499bd2271cSDarkWyrm		BClipboardTester.cpp
509bd2271cSDarkWyrm		ClipboardTest.cpp
519bd2271cSDarkWyrm		CountTester.cpp
529bd2271cSDarkWyrm		LockTester.cpp
539bd2271cSDarkWyrm		ReadWriteTester.cpp
549bd2271cSDarkWyrm
559bd2271cSDarkWyrm		# BCursor
565261544bSAlexandre Deckner		BCursorTester.cpp
575261544bSAlexandre Deckner		CursorTest.cpp
589bd2271cSDarkWyrm
59be2939caSTyler Dauwalder		# BHandler
60be2939caSTyler Dauwalder		HandlerTest.cpp
61be2939caSTyler Dauwalder		AddFilterTest.cpp
62be2939caSTyler Dauwalder		BHandlerTester.cpp
63be2939caSTyler Dauwalder		IsWatchedTest.cpp
64be2939caSTyler Dauwalder		LockLooperTest.cpp
65be2939caSTyler Dauwalder		LockLooperTestCommon.cpp
66be2939caSTyler Dauwalder		LockLooperWithTimeoutTest.cpp
67be2939caSTyler Dauwalder		HandlerLooperTest.cpp
68be2939caSTyler Dauwalder		NextHandlerTest.cpp
69be2939caSTyler Dauwalder		RemoveFilterTest.cpp
70be2939caSTyler Dauwalder		SetFilterListTest.cpp
71be2939caSTyler Dauwalder		SetNextHandlerTest.cpp
72be2939caSTyler Dauwalder		UnlockLooperTest.cpp
73be2939caSTyler Dauwalder
74be2939caSTyler Dauwalder		# BLooper
75be2939caSTyler Dauwalder		LooperTest.cpp
76be2939caSTyler Dauwalder		AddHandlerTest.cpp
77be2939caSTyler Dauwalder		CountHandlersTest.cpp
78be2939caSTyler Dauwalder		HandlerAtTest.cpp
79be2939caSTyler Dauwalder		IndexOfTest.cpp
80be2939caSTyler Dauwalder		IsMessageWaitingTest.cpp
81be2939caSTyler Dauwalder		RemoveHandlerTest.cpp
82b1698c8eSejakowatz		PerformTest.cpp
83b1698c8eSejakowatz		RunTest.cpp
847bf6c069Sejakowatz		LooperForThreadTest.cpp
857bf6c069Sejakowatz		AddCommonFilterTest.cpp
860b55d664Sejakowatz		RemoveCommonFilterTest.cpp
87752c4971Sejakowatz		LooperSizeTest.cpp
88ff1ade6bSejakowatz		SetCommonFilterListTest.cpp
8977a6586aSejakowatz		QuitTest.cpp
90be2939caSTyler Dauwalder
91241dab65Sejakowatz		# BMessage
92bef39d09SClemens Zeidler#		MessageTest.cpp
93bef39d09SClemens Zeidler#		MessageConstructTest.cpp
94bef39d09SClemens Zeidler#		MessageDestructTest.cpp
95bef39d09SClemens Zeidler#		MessageOpAssignTest.cpp
96bef39d09SClemens Zeidler#		MessageEasyFindTest.cpp
97bef39d09SClemens Zeidler#		MessageSpeedTest.cpp
98241dab65Sejakowatz
99be2939caSTyler Dauwalder		# BMessageQueue
100be2939caSTyler Dauwalder		MessageQueueTest.cpp
101be2939caSTyler Dauwalder		AddMessageTest1.cpp
102be2939caSTyler Dauwalder		AddMessageTest2.cpp
103be2939caSTyler Dauwalder		ConcurrencyTest1.cpp
104be2939caSTyler Dauwalder		ConcurrencyTest2.cpp
105be2939caSTyler Dauwalder		FindMessageTest1.cpp
106be2939caSTyler Dauwalder		MessageQueueTestCase.cpp
107be2939caSTyler Dauwalder
108dace24c6SIngo Weinhold		# BMessageRunner
109dace24c6SIngo Weinhold		MessageRunnerTest.cpp
110dace24c6SIngo Weinhold		BMessageRunnerTester.cpp
1116df9b41cSIngo Weinhold		BroadcastTester.cpp
112e439adc5SIngo Weinhold		GetInfoTester.cpp
113dace24c6SIngo Weinhold		MessageRunnerTestHelpers.cpp
114dace24c6SIngo Weinhold		SetCountTester.cpp
115dace24c6SIngo Weinhold		SetIntervalTester.cpp
116dace24c6SIngo Weinhold
117bb653c64SIngo Weinhold		# BMessenger
118bb653c64SIngo Weinhold		MessengerTest.cpp
119bb653c64SIngo Weinhold		BMessengerTester.cpp
120bb653c64SIngo Weinhold		LockTargetTester.cpp
1217ce28c04SIngo Weinhold		LockTargetWithTimeoutTester.cpp
1227ce28c04SIngo Weinhold		MessengerAssignmentTester.cpp
1237ce28c04SIngo Weinhold		MessengerComparissonTester.cpp
124014ff001SIngo Weinhold		SendMessageTester.cpp
125014ff001SIngo Weinhold		SMInvoker.cpp
126014ff001SIngo Weinhold		SMLooper.cpp
127014ff001SIngo Weinhold		SMReplyTarget.cpp
128014ff001SIngo Weinhold		SMTarget.cpp
129bb653c64SIngo Weinhold		TargetTester.cpp
130bb653c64SIngo Weinhold
131cc3a5fd2Sjrand		# BPropertyInfo
13225a91786Sjrand		PropertyTestcase.cpp
13325a91786Sjrand		PropertyConstructionTest.cpp
13425a91786Sjrand		PropertyFindMatchTest.cpp
13525a91786Sjrand		PropertyFlattenTest.cpp
136cc3a5fd2Sjrand		PropertyInfoTest.cpp
137cc3a5fd2Sjrand
13809c9c0c1SIngo Weinhold		# BRoster
13909c9c0c1SIngo Weinhold		RosterTest.cpp
140a88454a5SIngo Weinhold		FindAppTester.cpp
141235efd87SIngo Weinhold		GetAppInfoTester.cpp
142235efd87SIngo Weinhold		GetAppListTester.cpp
1438a5e66feSTyler Dauwalder		GetRecentTester.cpp
14409c9c0c1SIngo Weinhold		IsRunningTester.cpp
145741b40beSIngo Weinhold		LaunchTester.cpp
146741b40beSIngo Weinhold		LaunchTesterHelper.cpp
1478a5e66feSTyler Dauwalder		RecentAppsTestApp.cpp
1485993f44cSIngo Weinhold		RosterWatchingTester.cpp
149235efd87SIngo Weinhold		TeamForTester.cpp
15009c9c0c1SIngo Weinhold
151aaa3ba11STyler Dauwalder		# RegistrarThreadManager
152bef39d09SClemens Zeidler		RegistrarThread.cpp
153bef39d09SClemens Zeidler		RegistrarThreadManager.cpp
154aaa3ba11STyler Dauwalder		RegistrarThreadManagerTest.cpp
155aaa3ba11STyler Dauwalder
156434af8f8SIngo Weinhold		# common
157434af8f8SIngo Weinhold		AppRunner.cpp
158434af8f8SIngo Weinhold		PipedAppRunner.cpp
159434af8f8SIngo Weinhold
160*220d0402SOliver Tappe	: be [ TargetLibstdc++ ]
161bb653c64SIngo Weinhold;
162bb653c64SIngo Weinhold
163155b583aSIngo WeinholdUnitTestLib libappteststub.so
1648e8e1cf6Sejakowatz	: AppKitTestStub.cpp
165*220d0402SOliver Tappe	: libapptest.so [ TargetLibstdc++ ]
1668e8e1cf6Sejakowatz;
1678e8e1cf6Sejakowatz
168698b96efSAxel DörflerSimpleTest DanoMessageTest :
169698b96efSAxel Dörfler	DanoMessageTest.cpp
170698b96efSAxel Dörfler	dano_message.cpp
171698b96efSAxel Dörfler	: be ;
172698b96efSAxel Dörfler
173698b96efSAxel DörflerSEARCH on [ FGristFiles
174698b96efSAxel Dörfler		dano_message.cpp
175338b8dc3SIngo Weinhold	] = [ FDirName $(HAIKU_TOP) src kits app ] ;
176698b96efSAxel Dörfler
177bef39d09SClemens ZeidlerSEARCH on [ FGristFiles
178bef39d09SClemens Zeidler		RegistrarThread.cpp
179bef39d09SClemens Zeidler		RegistrarThreadManager.cpp
180bef39d09SClemens Zeidler	] = [ FDirName $(HAIKU_TOP) src servers registrar mime ] ;
181bef39d09SClemens Zeidler
182338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests kits app bapplication ;
183338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests kits app bclipboard ;
184338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests kits app bcursor ;
185338b8dc3SIngo Weinhold#SubInclude HAIKU_TOP src tests kits app bhandler ;
186338b8dc3SIngo Weinhold#SubInclude HAIKU_TOP src tests kits app blooper ;
187338b8dc3SIngo Weinhold#SubInclude HAIKU_TOP src tests kits app bmessage ;
188338b8dc3SIngo Weinhold#SubInclude HAIKU_TOP src tests kits app bmessageQueue ;
189338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests kits app bmessenger ;
190338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests kits app broster ;
191338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests kits app common ;
192338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests kits app messaging ;
193