xref: /haiku/src/tests/kits/interface/Jamfile (revision 7457ccb4b2f4786525d3b7bda42598487d57ab7d)
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		OutlineListViewTest.cpp
55		TextControlTest.cpp
56		TextViewTest.cpp
57
58	: be [ TargetLibstdc++ ]
59;
60
61ObjectDefines
62	CheckBox.cpp
63	: BCheckBox=HCheckBox
64	;
65
66SimpleTest ScrollViewTest_r5 :
67	ScrollViewTest.cpp
68	: be [ TargetLibsupc++ ]
69	;
70
71SimpleTest ScrollViewTest :
72	ScrollViewTest.cpp
73	ScrollView.cpp
74	: be [ TargetLibsupc++ ]
75	;
76
77SimpleTest AlertTest :
78	SimpleAlertTest.cpp
79	: be [ TargetLibsupc++ ]
80;
81
82SimpleTest ChannelSliderTest :
83	ChannelSliderTest.cpp
84	ChannelSlider.cpp
85	ChannelControl.cpp
86	: be [ TargetLibstdc++ TargetLibsupc++ ]
87	;
88
89SimpleTest CheckBoxTest :
90	CheckBoxTest.cpp
91	CheckBox.cpp
92	: be [ TargetLibsupc++ ]
93	;
94
95SimpleTest ControlLookTest :
96	ControlLookTest.cpp
97	: be [ TargetLibsupc++ ]
98	;
99
100SimpleTest ListViewTest :
101	ListViewTest.cpp
102	: be [ TargetLibsupc++ ]
103	;
104
105SimpleTest ScreenTest :
106	ScreenTest.cpp
107	: be
108	;
109
110SimpleTest StatusBarTest :
111	StatusBarTest.cpp
112	: be [ TargetLibsupc++ ]
113	;
114
115SimpleTest ToolTipTest :
116	ToolTipTest.cpp
117	: be [ TargetLibsupc++ ]
118	;
119
120SimpleTest GetMouseTest :
121	GetMouseTest.cpp
122	: be [ TargetLibsupc++ ]
123	;
124
125SimpleTest PulseTest :
126	PulseTest.cpp
127	: be [ TargetLibsupc++ ]
128	;
129
130SimpleTest SliderTest_r5 :
131	SliderTest.cpp
132	: be [ TargetLibsupc++ ]
133	;
134
135SimpleTest SliderTest :
136	SliderTest.cpp
137	Slider.cpp
138	Control.cpp
139	: be [ TargetLibsupc++ ]
140	;
141
142SimpleTest TruncateString :
143	TruncateString.cpp
144	: be [ TargetLibsupc++ ]
145	;
146
147SimpleTest MenuBeginningTest :
148	MenuBeginningTest.cpp
149	: be [ TargetLibsupc++ ]
150	;
151
152
153Application MenuTriggerTest :
154	MenuTriggerTest.cpp
155	: be [ TargetLibsupc++ ]
156;
157
158
159SimpleTest WidthBufferTest :
160	WidthBufferTest.cpp
161	: be
162;
163
164
165SimpleTest ClippingPlusRedraw :
166	ClippingPlusRedraw.cpp
167	: be [ TargetLibsupc++ ]
168;
169
170
171SimpleTest SetDiskModeTest :
172	SetDiskModeTest.cpp
173	: be [ TargetLibsupc++ ]
174;
175
176SimpleTest SetBorderScrollViewTest :
177	ScrollViewSetBorderTest.cpp
178	ScrollView.cpp
179	: be [ TargetLibsupc++ ]
180;
181
182SimpleTest TextViewTest :
183	TextViewTestManual.cpp
184	: be [ TargetLibsupc++ ]
185	;
186
187SimpleTest WindowStackTest :
188	WindowStackTest.cpp
189	: be [ TargetLibsupc++ ]
190	;
191
192SEARCH on [ FGristFiles
193		ScrollView.cpp CheckBox.cpp ChannelSlider.cpp ChannelControl.cpp
194		Slider.cpp Control.cpp
195	] = [ FDirName $(HAIKU_TOP) src kits interface ] ;
196
197SubInclude HAIKU_TOP src tests kits interface bprintjob ;
198SubInclude HAIKU_TOP src tests kits interface bfont ;
199SubInclude HAIKU_TOP src tests kits interface bshelf ;
200SubInclude HAIKU_TOP src tests kits interface flatten_picture ;
201SubInclude HAIKU_TOP src tests kits interface layout ;
202SubInclude HAIKU_TOP src tests kits interface look ;
203SubInclude HAIKU_TOP src tests kits interface menu menuworld ;
204SubInclude HAIKU_TOP src tests kits interface picture ;
205SubInclude HAIKU_TOP src tests kits interface pictureprint ;
206