xref: /haiku/src/tests/kits/interface/Jamfile (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
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 ControlLookTest :
95	ControlLookTest.cpp
96	: be [ TargetLibsupc++ ]
97	;
98
99SimpleTest ListViewTest :
100	ListViewTest.cpp
101	: be [ TargetLibsupc++ ]
102	;
103
104SimpleTest ScreenTest :
105	ScreenTest.cpp
106	: be
107	;
108
109SimpleTest StatusBarTest :
110	StatusBarTest.cpp
111	: be [ TargetLibsupc++ ]
112	;
113
114SimpleTest ToolTipTest :
115	ToolTipTest.cpp
116	: be [ TargetLibsupc++ ]
117	;
118
119SimpleTest GetMouseTest :
120	GetMouseTest.cpp
121	: be [ TargetLibsupc++ ]
122	;
123
124SimpleTest PulseTest :
125	PulseTest.cpp
126	: be [ TargetLibsupc++ ]
127	;
128
129SimpleTest SliderTest_r5 :
130	SliderTest.cpp
131	: be [ TargetLibsupc++ ]
132	;
133
134SimpleTest SliderTest :
135	SliderTest.cpp
136	Slider.cpp
137	Control.cpp
138	: be [ TargetLibsupc++ ]
139	;
140
141SimpleTest TruncateString :
142	TruncateString.cpp
143	: be [ TargetLibsupc++ ]
144	;
145
146SimpleTest MenuBeginningTest :
147	MenuBeginningTest.cpp
148	: be [ TargetLibsupc++ ]
149	;
150
151
152Application MenuTriggerTest :
153	MenuTriggerTest.cpp
154	: be [ TargetLibsupc++ ]
155;
156
157
158SimpleTest WidthBufferTest :
159	WidthBufferTest.cpp
160	: be
161;
162
163
164SimpleTest ClippingPlusRedraw :
165	ClippingPlusRedraw.cpp
166	: be [ TargetLibsupc++ ]
167;
168
169
170SimpleTest SetDiskModeTest :
171	SetDiskModeTest.cpp
172	: be [ TargetLibsupc++ ]
173;
174
175SimpleTest SetBorderScrollViewTest :
176	ScrollViewSetBorderTest.cpp
177	ScrollView.cpp
178	: be [ TargetLibsupc++ ]
179;
180
181SimpleTest TextViewTest :
182	TextViewTestManual.cpp
183	: be [ TargetLibsupc++ ]
184	;
185
186SimpleTest WindowStackTest :
187	WindowStackTest.cpp
188	: be [ TargetLibsupc++ ]
189	;
190
191SEARCH on [ FGristFiles
192		ScrollView.cpp CheckBox.cpp ChannelSlider.cpp ChannelControl.cpp
193		Slider.cpp Control.cpp
194	] = [ FDirName $(HAIKU_TOP) src kits interface ] ;
195
196SubInclude HAIKU_TOP src tests kits interface bprintjob ;
197SubInclude HAIKU_TOP src tests kits interface bfont ;
198SubInclude HAIKU_TOP src tests kits interface bshelf ;
199SubInclude HAIKU_TOP src tests kits interface flatten_picture ;
200SubInclude HAIKU_TOP src tests kits interface layout ;
201SubInclude HAIKU_TOP src tests kits interface look ;
202SubInclude HAIKU_TOP src tests kits interface menu menuworld ;
203SubInclude HAIKU_TOP src tests kits interface picture ;
204SubInclude HAIKU_TOP src tests kits interface pictureprint ;
205