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