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