@@ -62,6 +62,7 @@ func TestPlatformSearch(t *testing.T) {
62
62
63
63
Boards : []* rpc.Board {{Name : "RK002" }},
64
64
Type : []string {"Contributed" },
65
+ Help : & rpc.Online {Online : "https://www.retrokits.com/rk002/arduino" },
65
66
})
66
67
require .Contains (t , res .SearchOutput , & rpc.Platform {
67
68
Id : "Retrokits-RK002:arm" ,
@@ -73,6 +74,7 @@ func TestPlatformSearch(t *testing.T) {
73
74
74
75
Boards : []* rpc.Board {{Name : "RK002" }},
75
76
Type : []string {"Contributed" },
77
+ Help : & rpc.Online {Online : "https://www.retrokits.com/rk002/arduino" },
76
78
})
77
79
78
80
res , stat = PlatformSearch (& rpc.PlatformSearchRequest {
@@ -93,6 +95,7 @@ func TestPlatformSearch(t *testing.T) {
93
95
94
96
Boards : []* rpc.Board {{Name : "RK002" }},
95
97
Type : []string {"Contributed" },
98
+ Help : & rpc.Online {Online : "https://www.retrokits.com/rk002/arduino" },
96
99
})
97
100
98
101
// Search the Package Maintainer
@@ -114,6 +117,7 @@ func TestPlatformSearch(t *testing.T) {
114
117
115
118
Boards : []* rpc.Board {{Name : "RK002" }},
116
119
Type : []string {"Contributed" },
120
+ Help : & rpc.Online {Online : "https://www.retrokits.com/rk002/arduino" },
117
121
})
118
122
require .Contains (t , res .SearchOutput , & rpc.Platform {
119
123
Id : "Retrokits-RK002:arm" ,
@@ -125,6 +129,7 @@ func TestPlatformSearch(t *testing.T) {
125
129
126
130
Boards : []* rpc.Board {{Name : "RK002" }},
127
131
Type : []string {"Contributed" },
132
+ Help : & rpc.Online {Online : "https://www.retrokits.com/rk002/arduino" },
128
133
})
129
134
130
135
// Search using the Package name
@@ -146,6 +151,7 @@ func TestPlatformSearch(t *testing.T) {
146
151
147
152
Boards : []* rpc.Board {{Name : "RK002" }},
148
153
Type : []string {"Contributed" },
154
+ Help : & rpc.Online {Online : "https://www.retrokits.com/rk002/arduino" },
149
155
})
150
156
require .Contains (t , res .SearchOutput , & rpc.Platform {
151
157
Id : "Retrokits-RK002:arm" ,
@@ -157,6 +163,7 @@ func TestPlatformSearch(t *testing.T) {
157
163
158
164
Boards : []* rpc.Board {{Name : "RK002" }},
159
165
Type : []string {"Contributed" },
166
+ Help : & rpc.Online {Online : "https://www.retrokits.com/rk002/arduino" },
160
167
})
161
168
162
169
// Search using the Platform name
@@ -178,6 +185,7 @@ func TestPlatformSearch(t *testing.T) {
178
185
179
186
Boards : []* rpc.Board {{Name : "RK002" }},
180
187
Type : []string {"Contributed" },
188
+ Help : & rpc.Online {Online : "https://www.retrokits.com/rk002/arduino" },
181
189
})
182
190
require .Contains (t , res .SearchOutput , & rpc.Platform {
183
191
Id : "Retrokits-RK002:arm" ,
@@ -189,6 +197,7 @@ func TestPlatformSearch(t *testing.T) {
189
197
190
198
Boards : []* rpc.Board {{Name : "RK002" }},
191
199
Type : []string {"Contributed" },
200
+ Help : & rpc.Online {Online : "https://www.retrokits.com/rk002/arduino" },
192
201
})
193
202
194
203
// Search using a board name
@@ -237,6 +246,7 @@ func TestPlatformSearch(t *testing.T) {
237
246
{Name : "Arduino Industrial 101" },
238
247
{Name : "Linino One" },
239
248
},
249
+ Help : & rpc.Online {Online : "http://www.arduino.cc/en/Reference/HomePage" },
240
250
})
241
251
242
252
res , stat = PlatformSearch (& rpc.PlatformSearchRequest {
@@ -284,6 +294,7 @@ func TestPlatformSearch(t *testing.T) {
284
294
{Name : "Arduino Industrial 101" },
285
295
{Name : "Linino One" },
286
296
},
297
+ Help : & rpc.Online {Online : "http://www.arduino.cc/en/Reference/HomePage" },
287
298
})
288
299
}
289
300
0 commit comments