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