@@ -27,7 +27,6 @@ import (
2727)
2828
2929func TestPlatformSearch(t *testing.T) {
30-
3130 dataDir := paths.TempDir().Join("test", "data_dir")
3231 downloadDir := paths.TempDir().Join("test", "staging")
3332 os.Setenv("ARDUINO_DATA_DIR", dataDir.String())
@@ -65,6 +64,7 @@ func TestPlatformSearch(t *testing.T) {
6564 Help: &rpc.HelpResources{Online: "https://www.retrokits.com/rk002/arduino"},
6665 Indexed: true,
6766 MissingMetadata: true,
67+ Incompatible: true,
6868 })
6969 require.Contains(t, res.SearchOutput, &rpc.Platform{
7070 Id: "Retrokits-RK002:arm",
@@ -79,6 +79,7 @@ func TestPlatformSearch(t *testing.T) {
7979 Help: &rpc.HelpResources{Online: "https://www.retrokits.com/rk002/arduino"},
8080 Indexed: true,
8181 MissingMetadata: true,
82+ Incompatible: true,
8283 })
8384
8485 res, stat = PlatformSearch(&rpc.PlatformSearchRequest{
@@ -102,6 +103,7 @@ func TestPlatformSearch(t *testing.T) {
102103 Help: &rpc.HelpResources{Online: "https://www.retrokits.com/rk002/arduino"},
103104 Indexed: true,
104105 MissingMetadata: true,
106+ Incompatible: true,
105107 })
106108
107109 // Search the Package Maintainer
@@ -126,6 +128,7 @@ func TestPlatformSearch(t *testing.T) {
126128 Help: &rpc.HelpResources{Online: "https://www.retrokits.com/rk002/arduino"},
127129 Indexed: true,
128130 MissingMetadata: true,
131+ Incompatible: true,
129132 })
130133 require.Contains(t, res.SearchOutput, &rpc.Platform{
131134 Id: "Retrokits-RK002:arm",
@@ -140,6 +143,7 @@ func TestPlatformSearch(t *testing.T) {
140143 Help: &rpc.HelpResources{Online: "https://www.retrokits.com/rk002/arduino"},
141144 Indexed: true,
142145 MissingMetadata: true,
146+ Incompatible: true,
143147 })
144148
145149 // Search using the Package name
@@ -164,6 +168,7 @@ func TestPlatformSearch(t *testing.T) {
164168 Help: &rpc.HelpResources{Online: "https://www.retrokits.com/rk002/arduino"},
165169 Indexed: true,
166170 MissingMetadata: true,
171+ Incompatible: true,
167172 })
168173 require.Contains(t, res.SearchOutput, &rpc.Platform{
169174 Id: "Retrokits-RK002:arm",
@@ -178,6 +183,7 @@ func TestPlatformSearch(t *testing.T) {
178183 Help: &rpc.HelpResources{Online: "https://www.retrokits.com/rk002/arduino"},
179184 Indexed: true,
180185 MissingMetadata: true,
186+ Incompatible: true,
181187 })
182188
183189 // Search using the Platform name
@@ -202,6 +208,7 @@ func TestPlatformSearch(t *testing.T) {
202208 Help: &rpc.HelpResources{Online: "https://www.retrokits.com/rk002/arduino"},
203209 Indexed: true,
204210 MissingMetadata: true,
211+ Incompatible: true,
205212 })
206213 require.Contains(t, res.SearchOutput, &rpc.Platform{
207214 Id: "Retrokits-RK002:arm",
@@ -216,6 +223,7 @@ func TestPlatformSearch(t *testing.T) {
216223 Help: &rpc.HelpResources{Online: "https://www.retrokits.com/rk002/arduino"},
217224 Indexed: true,
218225 MissingMetadata: true,
226+ Incompatible: true,
219227 })
220228
221229 // Search using a board name
@@ -267,6 +275,7 @@ func TestPlatformSearch(t *testing.T) {
267275 Help: &rpc.HelpResources{Online: "http://www.arduino.cc/en/Reference/HomePage"},
268276 Indexed: true,
269277 MissingMetadata: true,
278+ Incompatible: true,
270279 })
271280
272281 res, stat = PlatformSearch(&rpc.PlatformSearchRequest{
@@ -317,6 +326,7 @@ func TestPlatformSearch(t *testing.T) {
317326 Help: &rpc.HelpResources{Online: "http://www.arduino.cc/en/Reference/HomePage"},
318327 Indexed: true,
319328 MissingMetadata: true,
329+ Incompatible: true,
320330 })
321331}
322332
0 commit comments