1SubDir HAIKU_TOP src tests kits interface ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5UsePrivateHeaders interface shared ;
6
7# Let Jam know where to find some of our source files
8SEARCH_SOURCE += [ FDirName $(SUBDIR) balert ] ;
9SEARCH_SOURCE += [ FDirName $(SUBDIR) bbitmap ] ;
10SEARCH_SOURCE += [ FDirName $(SUBDIR) bdeskbar ] ;
11SEARCH_SOURCE += [ FDirName $(SUBDIR) bmenu ] ;
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		# BMenu
46		MenuTest.cpp
47
48		# BRegion
49		RegionTest.cpp
50		RegionTestcase.cpp
51		RegionConstruction.cpp
52		RegionExclude.cpp
53		RegionInclude.cpp
54		RegionIntersect.cpp
55		RegionOffsetBy.cpp
56
57		OutlineListViewTest.cpp
58		TextControlTest.cpp
59		TextViewTest.cpp
60
61	: be [ TargetLibstdc++ ]
62;
63
64ObjectDefines
65	CheckBox.cpp
66	: BCheckBox=HCheckBox
67	;
68
69SimpleTest AlertTest :
70	SimpleAlertTest.cpp
71	: be [ TargetLibsupc++ ]
72;
73
74SimpleTest ChannelSliderTest :
75	ChannelSliderTest.cpp
76	ChannelSlider.cpp
77	ChannelControl.cpp
78	: be [ TargetLibstdc++ TargetLibsupc++ ]
79	;
80
81SimpleTest CheckBoxTest :
82	CheckBoxTest.cpp
83	CheckBox.cpp
84	: be [ TargetLibsupc++ ]
85	;
86
87SimpleTest ControlLookTest :
88	ControlLookTest.cpp
89	: be [ TargetLibsupc++ ]
90	;
91
92SimpleTest DrawBitmapTest :
93	DrawBitmapTest.cpp
94	: be ;
95
96SimpleTest ListViewTest :
97	ListViewTest.cpp
98	: be [ TargetLibsupc++ ]
99	;
100
101SimpleTest ScreenTest :
102	ScreenTest.cpp
103	: be
104	;
105
106SimpleTest ScrollViewTest_r5 :
107	ScrollViewTest.cpp
108	: be [ TargetLibsupc++ ]
109	;
110
111SimpleTest ScrollViewTest :
112	ScrollViewTest.cpp
113	ScrollView.cpp
114	: be [ TargetLibsupc++ ]
115	;
116
117SimpleTest StatusBarTest :
118	StatusBarTest.cpp
119	: be [ TargetLibsupc++ ]
120	;
121
122SimpleTest ToolTipTest :
123	ToolTipTest.cpp
124	: be [ TargetLibsupc++ ]
125	;
126
127SimpleTest GetMouseTest :
128	GetMouseTest.cpp
129	: be [ TargetLibsupc++ ]
130	;
131
132SimpleTest PulseTest :
133	PulseTest.cpp
134	: be [ TargetLibsupc++ ]
135	;
136
137SimpleTest SliderTest_r5 :
138	SliderTest.cpp
139	: be [ TargetLibsupc++ ]
140	;
141
142SimpleTest SliderTest :
143	SliderTest.cpp
144	Slider.cpp
145	Control.cpp
146	: be [ TargetLibsupc++ ]
147	;
148
149SimpleTest TruncateString :
150	TruncateString.cpp
151	: be [ TargetLibsupc++ ]
152	;
153
154SimpleTest MenuBeginningTest :
155	MenuBeginningTest.cpp
156	: be [ TargetLibsupc++ ]
157	;
158
159
160Application MenuTriggerTest :
161	MenuTriggerTest.cpp
162	: be [ TargetLibsupc++ ]
163;
164
165
166SimpleTest WidthBufferTest :
167	WidthBufferTest.cpp
168	: be
169;
170
171
172SimpleTest ClippingPlusRedraw :
173	ClippingPlusRedraw.cpp
174	: be [ TargetLibsupc++ ]
175;
176
177
178SimpleTest SetDiskModeTest :
179	SetDiskModeTest.cpp
180	: be [ TargetLibsupc++ ]
181;
182
183SimpleTest SetBorderScrollViewTest :
184	ScrollViewSetBorderTest.cpp
185	ScrollView.cpp
186	: be [ TargetLibsupc++ ]
187;
188
189SimpleTest TextViewTest :
190	TextViewTestManual.cpp
191	: be [ TargetLibsupc++ ]
192	;
193
194SimpleTest WindowStackTest :
195	WindowStackTest.cpp
196	: be [ TargetLibsupc++ ]
197	;
198
199SEARCH on [ FGristFiles
200		ScrollView.cpp CheckBox.cpp ChannelSlider.cpp ChannelControl.cpp
201		Slider.cpp Control.cpp
202	] = [ FDirName $(HAIKU_TOP) src kits interface ] ;
203
204SubInclude HAIKU_TOP src tests kits interface bprintjob ;
205SubInclude HAIKU_TOP src tests kits interface bfont ;
206SubInclude HAIKU_TOP src tests kits interface bshelf ;
207SubInclude HAIKU_TOP src tests kits interface flatten_picture ;
208SubInclude HAIKU_TOP src tests kits interface layout ;
209SubInclude HAIKU_TOP src tests kits interface look ;
210SubInclude HAIKU_TOP src tests kits interface menu menuworld ;
211SubInclude HAIKU_TOP src tests kits interface picture ;
212SubInclude HAIKU_TOP src tests kits interface pictureprint ;
213