xref: /haiku/src/tests/kits/app/Jamfile (revision 98057dd02a2411868fd4c35f7a48d20acfd92c23)
1SubDir HAIKU_TOP src tests kits app ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6UsePrivateHeaders app ;
7UseHeaders [ FDirName $(HAIKU_TOP) src servers registrar mime ] ;
8
9# Let Jam know where to find some of our source files
10SEARCH_SOURCE += [ FDirName $(SUBDIR) bapplication ] ;
11SEARCH_SOURCE += [ FDirName $(SUBDIR) bclipboard ] ;
12SEARCH_SOURCE += [ FDirName $(SUBDIR) bcursor ] ;
13SEARCH_SOURCE += [ FDirName $(SUBDIR) bhandler ] ;
14SEARCH_SOURCE += [ FDirName $(SUBDIR) blooper ] ;
15SEARCH_SOURCE += [ FDirName $(SUBDIR) bmessage ] ;
16SEARCH_SOURCE += [ FDirName $(SUBDIR) bmessagequeue ] ;
17SEARCH_SOURCE += [ FDirName $(SUBDIR) bmessagerunner ] ;
18SEARCH_SOURCE += [ FDirName $(SUBDIR) bmessenger ] ;
19SEARCH_SOURCE += [ FDirName $(SUBDIR) bpropertyinfo ] ;
20SEARCH_SOURCE += [ FDirName $(SUBDIR) broster ] ;
21SEARCH_SOURCE += [ FDirName $(SUBDIR) broster testapps ] ;
22SEARCH_SOURCE += [ FDirName $(SUBDIR) common ] ;
23
24# TODO: bonefish: There is no MessageTestAddon.cpp. Remove, if noone uses
25# this.
26#UnitTestLib libmessagetest.so
27#	: MessageTestAddon.cpp
28#		MessageTest.cpp
29#		MessageConstructTest.cpp
30#		MessageDestructTest.cpp
31#		MessageOpAssignTest.cpp
32#		MessageEasyFindTest.cpp
33#		MessageSpeedTest.cpp
34#	: be $(TARGET_LIBSTDC++)
35#;
36
37
38UnitTestLib libapptest.so
39	: AppKitTestAddon.cpp
40
41		# BApplication
42		ApplicationTest.cpp
43		AppQuitRequestedTester.cpp
44		AppQuitTester.cpp
45		AppRunTester.cpp
46		BApplicationTester.cpp
47
48		# BClipboard
49		BClipboardTester.cpp
50		ClipboardTest.cpp
51		CountTester.cpp
52		LockTester.cpp
53		ReadWriteTester.cpp
54
55		# BCursor
56		BCursorTester.cpp
57		CursorTest.cpp
58
59		# BHandler
60		HandlerTest.cpp
61		AddFilterTest.cpp
62		BHandlerTester.cpp
63		IsWatchedTest.cpp
64		LockLooperTest.cpp
65		LockLooperTestCommon.cpp
66		LockLooperWithTimeoutTest.cpp
67		HandlerLooperTest.cpp
68		NextHandlerTest.cpp
69		RemoveFilterTest.cpp
70		SetFilterListTest.cpp
71		SetNextHandlerTest.cpp
72		UnlockLooperTest.cpp
73
74		# BLooper
75		LooperTest.cpp
76		AddHandlerTest.cpp
77		CountHandlersTest.cpp
78		HandlerAtTest.cpp
79		IndexOfTest.cpp
80		IsMessageWaitingTest.cpp
81		RemoveHandlerTest.cpp
82		PerformTest.cpp
83		RunTest.cpp
84		LooperForThreadTest.cpp
85		AddCommonFilterTest.cpp
86		RemoveCommonFilterTest.cpp
87		LooperSizeTest.cpp
88		SetCommonFilterListTest.cpp
89		QuitTest.cpp
90
91		# BMessage
92#		MessageTest.cpp
93#		MessageConstructTest.cpp
94#		MessageDestructTest.cpp
95#		MessageOpAssignTest.cpp
96#		MessageEasyFindTest.cpp
97#		MessageSpeedTest.cpp
98
99		# BMessageQueue
100		MessageQueueTest.cpp
101		AddMessageTest1.cpp
102		AddMessageTest2.cpp
103		ConcurrencyTest1.cpp
104		ConcurrencyTest2.cpp
105		FindMessageTest1.cpp
106		MessageQueueTestCase.cpp
107
108		# BMessageRunner
109		MessageRunnerTest.cpp
110		BMessageRunnerTester.cpp
111		BroadcastTester.cpp
112		GetInfoTester.cpp
113		MessageRunnerTestHelpers.cpp
114		SetCountTester.cpp
115		SetIntervalTester.cpp
116
117		# BMessenger
118		MessengerTest.cpp
119		BMessengerTester.cpp
120		LockTargetTester.cpp
121		LockTargetWithTimeoutTester.cpp
122		MessengerAssignmentTester.cpp
123		MessengerComparissonTester.cpp
124		SendMessageTester.cpp
125		SMInvoker.cpp
126		SMLooper.cpp
127		SMReplyTarget.cpp
128		SMTarget.cpp
129		TargetTester.cpp
130
131		# BPropertyInfo
132		PropertyTestcase.cpp
133		PropertyConstructionTest.cpp
134		PropertyFindMatchTest.cpp
135		PropertyFlattenTest.cpp
136		PropertyInfoTest.cpp
137
138		# BRoster
139		RosterTest.cpp
140		FindAppTester.cpp
141		GetAppInfoTester.cpp
142		GetAppListTester.cpp
143		GetRecentTester.cpp
144		IsRunningTester.cpp
145		LaunchTester.cpp
146		LaunchTesterHelper.cpp
147		RecentAppsTestApp.cpp
148		RosterWatchingTester.cpp
149		TeamForTester.cpp
150
151		# RegistrarThreadManager
152		RegistrarThread.cpp
153		RegistrarThreadManager.cpp
154		RegistrarThreadManagerTest.cpp
155
156		# common
157		AppRunner.cpp
158		PipedAppRunner.cpp
159
160	: be $(TARGET_LIBSTDC++)
161;
162
163UnitTestLib libappteststub.so
164	: AppKitTestStub.cpp
165	: libapptest.so $(TARGET_LIBSTDC++)
166;
167
168SimpleTest DanoMessageTest :
169	DanoMessageTest.cpp
170	dano_message.cpp
171	: be ;
172
173SEARCH on [ FGristFiles
174		dano_message.cpp
175	] = [ FDirName $(HAIKU_TOP) src kits app ] ;
176
177SEARCH on [ FGristFiles
178		RegistrarThread.cpp
179		RegistrarThreadManager.cpp
180	] = [ FDirName $(HAIKU_TOP) src servers registrar mime ] ;
181
182SubInclude HAIKU_TOP src tests kits app bapplication ;
183SubInclude HAIKU_TOP src tests kits app bclipboard ;
184SubInclude HAIKU_TOP src tests kits app bcursor ;
185#SubInclude HAIKU_TOP src tests kits app bhandler ;
186#SubInclude HAIKU_TOP src tests kits app blooper ;
187#SubInclude HAIKU_TOP src tests kits app bmessage ;
188#SubInclude HAIKU_TOP src tests kits app bmessageQueue ;
189SubInclude HAIKU_TOP src tests kits app bmessenger ;
190SubInclude HAIKU_TOP src tests kits app broster ;
191SubInclude HAIKU_TOP src tests kits app common ;
192SubInclude HAIKU_TOP src tests kits app messaging ;
193