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