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