@@ -73,10 +73,6 @@ func TestIncludesToIncludeFolders(t *testing.T) {
73
73
importedLibraries := ctx .ImportedLibraries
74
74
require .Equal (t , 1 , len (importedLibraries ))
75
75
require .Equal (t , "Bridge" , importedLibraries [0 ].Name )
76
-
77
- libraryResolutionResults := ctx .LibrariesResolutionResults
78
- require .NotNil (t , libraryResolutionResults )
79
- require .False (t , libraryResolutionResults ["Bridge.h" ].IsLibraryFromPlatform )
80
76
}
81
77
82
78
func TestIncludesToIncludeFoldersSketchWithIfDef (t * testing.T ) {
@@ -112,9 +108,6 @@ func TestIncludesToIncludeFoldersSketchWithIfDef(t *testing.T) {
112
108
113
109
importedLibraries := ctx .ImportedLibraries
114
110
require .Equal (t , 0 , len (importedLibraries ))
115
-
116
- libraryResolutionResults := ctx .LibrariesResolutionResults
117
- require .NotNil (t , libraryResolutionResults )
118
111
}
119
112
120
113
func TestIncludesToIncludeFoldersIRremoteLibrary (t * testing.T ) {
@@ -153,11 +146,6 @@ func TestIncludesToIncludeFoldersIRremoteLibrary(t *testing.T) {
153
146
require .Equal (t , 2 , len (importedLibraries ))
154
147
require .Equal (t , "Bridge" , importedLibraries [0 ].Name )
155
148
require .Equal (t , "IRremote" , importedLibraries [1 ].Name )
156
-
157
- libraryResolutionResults := ctx .LibrariesResolutionResults
158
- require .NotNil (t , libraryResolutionResults )
159
- require .False (t , libraryResolutionResults ["Bridge.h" ].IsLibraryFromPlatform )
160
- require .False (t , libraryResolutionResults ["IRremote.h" ].IsLibraryFromPlatform )
161
149
}
162
150
163
151
func TestIncludesToIncludeFoldersANewLibrary (t * testing.T ) {
@@ -196,11 +184,6 @@ func TestIncludesToIncludeFoldersANewLibrary(t *testing.T) {
196
184
require .Equal (t , 2 , len (importedLibraries ))
197
185
require .Equal (t , "ANewLibrary-master" , importedLibraries [0 ].Name )
198
186
require .Equal (t , "IRremote" , importedLibraries [1 ].Name )
199
-
200
- libraryResolutionResults := ctx .LibrariesResolutionResults
201
- require .NotNil (t , libraryResolutionResults )
202
- require .False (t , libraryResolutionResults ["anewlibrary.h" ].IsLibraryFromPlatform )
203
- require .False (t , libraryResolutionResults ["IRremote.h" ].IsLibraryFromPlatform )
204
187
}
205
188
206
189
func TestIncludesToIncludeFoldersDuplicateLibs (t * testing.T ) {
@@ -238,10 +221,6 @@ func TestIncludesToIncludeFoldersDuplicateLibs(t *testing.T) {
238
221
require .Equal (t , 1 , len (importedLibraries ))
239
222
require .Equal (t , "SPI" , importedLibraries [0 ].Name )
240
223
require .Equal (t , Abs (t , filepath .Join ("user_hardware" , "my_avr_platform" , "avr" , "libraries" , "SPI" )), importedLibraries [0 ].SrcFolder )
241
-
242
- libraryResolutionResults := ctx .LibrariesResolutionResults
243
- require .NotNil (t , libraryResolutionResults )
244
- require .True (t , libraryResolutionResults ["SPI.h" ].IsLibraryFromPlatform )
245
224
}
246
225
247
226
func TestIncludesToIncludeFoldersDuplicateLibsWithConflictingLibsOutsideOfPlatform (t * testing.T ) {
@@ -280,10 +259,6 @@ func TestIncludesToIncludeFoldersDuplicateLibsWithConflictingLibsOutsideOfPlatfo
280
259
require .Equal (t , 1 , len (importedLibraries ))
281
260
require .Equal (t , "SPI" , importedLibraries [0 ].Name )
282
261
require .Equal (t , Abs (t , filepath .Join ("libraries" , "SPI" )), importedLibraries [0 ].SrcFolder )
283
-
284
- libraryResolutionResults := ctx .LibrariesResolutionResults
285
- require .NotNil (t , libraryResolutionResults )
286
- require .False (t , libraryResolutionResults ["SPI.h" ].IsLibraryFromPlatform )
287
262
}
288
263
289
264
func TestIncludesToIncludeFoldersDuplicateLibs2 (t * testing.T ) {
@@ -322,8 +297,4 @@ func TestIncludesToIncludeFoldersDuplicateLibs2(t *testing.T) {
322
297
require .Equal (t , 1 , len (importedLibraries ))
323
298
require .Equal (t , "USBHost" , importedLibraries [0 ].Name )
324
299
require .Equal (t , Abs (t , filepath .Join ("libraries" , "USBHost" , "src" )), importedLibraries [0 ].SrcFolder )
325
-
326
- libraryResolutionResults := ctx .LibrariesResolutionResults
327
- require .NotNil (t , libraryResolutionResults )
328
- require .False (t , libraryResolutionResults ["Usb.h" ].IsLibraryFromPlatform )
329
300
}
0 commit comments