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