xref: /haiku/src/tests/kits/interface/Jamfile (revision a3e794ae459fec76826407f8ba8c94cd3535f128)
1SubDir HAIKU_TOP src tests kits interface ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6UsePrivateHeaders interface shared ;
7
8# Let Jam know where to find some of our source files
9SEARCH_SOURCE += [ FDirName $(SUBDIR) balert ] ;
10SEARCH_SOURCE += [ FDirName $(SUBDIR) bbitmap ] ;
11SEARCH_SOURCE += [ FDirName $(SUBDIR) bdeskbar ] ;
12SEARCH_SOURCE += [ FDirName $(SUBDIR) bpolygon ] ;
13SEARCH_SOURCE += [ FDirName $(SUBDIR) bregion ] ;
14SEARCH_SOURCE += [ FDirName $(SUBDIR) btextcontrol ] ;
15SEARCH_SOURCE += [ FDirName $(SUBDIR) btextview ] ;
16SEARCH_SOURCE += [ FDirName $(SUBDIR) bwindowstack ] ;
17
18SEARCH_SOURCE += [ FDirName $(TOP) src kits interface ] ;
19
20UnitTestLib libinterfacetest.so
21	: InterfaceKitTestAddon.cpp
22
23		GraphicsDefsTest.cpp
24
25		# BAlert
26		AlertTest.cpp
27
28		# BBitmap
29		BitmapTest.cpp
30		BBitmapTester.cpp
31		SetBitsTester.cpp
32
33		# BDeskbar
34		DeskbarTest.cpp
35		DeskbarGetItemTest.cpp
36		DeskbarLocationTest.cpp
37		DeskbarAddItemTest.cpp
38
39		# BPolygon
40		PolygonTest.cpp
41		DummyPolygon.cpp
42		CreatePolygonTest.cpp
43		MapPolygonTest.cpp
44
45		# BRegion
46		RegionTest.cpp
47		RegionTestcase.cpp
48		RegionConstruction.cpp
49		RegionExclude.cpp
50		RegionInclude.cpp
51		RegionIntersect.cpp
52		RegionOffsetBy.cpp
53
54		TextControlTest.cpp
55		TextViewTest.cpp
56
57	: be [ TargetLibstdc++ ]
58;
59
60ObjectDefines
61	CheckBox.cpp
62	: BCheckBox=HCheckBox
63	;
64
65SimpleTest ScrollViewTest_r5 :
66	ScrollViewTest.cpp
67	: be [ TargetLibsupc++ ]
68	;
69
70SimpleTest ScrollViewTest :
71	ScrollViewTest.cpp
72	ScrollView.cpp
73	: be [ TargetLibsupc++ ]
74	;
75
76SimpleTest AlertTest :
77	SimpleAlertTest.cpp
78	: be [ TargetLibsupc++ ]
79;
80
81SimpleTest ChannelSliderTest :
82	ChannelSliderTest.cpp
83	ChannelSlider.cpp
84	ChannelControl.cpp
85	: be [ TargetLibstdc++ TargetLibsupc++ ]
86	;
87
88SimpleTest CheckBoxTest :
89	CheckBoxTest.cpp
90	CheckBox.cpp
91	: be [ TargetLibsupc++ ]
92	;
93
94SimpleTest ListViewTest :
95	ListViewTest.cpp
96	: be [ TargetLibsupc++ ]
97	;
98
99SimpleTest ScreenTest :
100	ScreenTest.cpp
101	: be
102	;
103
104SimpleTest StatusBarTest :
105	StatusBarTest.cpp
106	: be [ TargetLibsupc++ ]
107	;
108
109SimpleTest ToolTipTest :
110	ToolTipTest.cpp
111	: be [ TargetLibsupc++ ]
112	;
113
114SimpleTest GetMouseTest :
115	GetMouseTest.cpp
116	: be [ TargetLibsupc++ ]
117	;
118
119SimpleTest PulseTest :
120	PulseTest.cpp
121	: be [ TargetLibsupc++ ]
122	;
123
124SimpleTest SliderTest_r5 :
125	SliderTest.cpp
126	: be [ TargetLibsupc++ ]
127	;
128
129SimpleTest SliderTest :
130	SliderTest.cpp
131	Slider.cpp
132	Control.cpp
133	: be [ TargetLibsupc++ ]
134	;
135
136SimpleTest TruncateString :
137	TruncateString.cpp
138	: be [ TargetLibsupc++ ]
139	;
140
141SimpleTest MenuBeginningTest :
142	MenuBeginningTest.cpp
143	: be [ TargetLibsupc++ ]
144	;
145
146
147Application MenuTriggerTest :
148	MenuTriggerTest.cpp
149	: be [ TargetLibsupc++ ]
150;
151
152
153SimpleTest WidthBufferTest :
154	WidthBufferTest.cpp
155	: be
156;
157
158
159SimpleTest ClippingPlusRedraw :
160	ClippingPlusRedraw.cpp
161	: be [ TargetLibsupc++ ]
162;
163
164
165SimpleTest SetDiskModeTest :
166	SetDiskModeTest.cpp
167	: be [ TargetLibsupc++ ]
168;
169
170SimpleTest SetBorderScrollViewTest :
171	ScrollViewSetBorderTest.cpp
172	ScrollView.cpp
173	: be [ TargetLibsupc++ ]
174;
175
176SimpleTest TextViewTest :
177	TextViewTestManual.cpp
178	: be [ TargetLibsupc++ ]
179	;
180
181SimpleTest WindowStackTest :
182	WindowStackTest.cpp
183	: be [ TargetLibsupc++ ]
184	;
185
186SEARCH on [ FGristFiles
187		ScrollView.cpp CheckBox.cpp ChannelSlider.cpp ChannelControl.cpp
188		Slider.cpp Control.cpp
189	] = [ FDirName $(HAIKU_TOP) src kits interface ] ;
190
191SubInclude HAIKU_TOP src tests kits interface bprintjob ;
192SubInclude HAIKU_TOP src tests kits interface bfont ;
193SubInclude HAIKU_TOP src tests kits interface bshelf ;
194SubInclude HAIKU_TOP src tests kits interface flatten_picture ;
195SubInclude HAIKU_TOP src tests kits interface layout ;
196SubInclude HAIKU_TOP src tests kits interface look ;
197SubInclude HAIKU_TOP src tests kits interface menu menuworld ;
198SubInclude HAIKU_TOP src tests kits interface picture ;
199SubInclude HAIKU_TOP src tests kits interface pictureprint ;
200