@@ -48,16 +48,9 @@ func TestPrototypesAdderBridgeExample(t *testing.T) {
48
48
defer buildPath .RemoveAll ()
49
49
50
50
commands := []types.Command {
51
-
52
51
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
53
-
54
52
& builder.ContainerMergeCopySketchFiles {},
55
-
56
53
& builder.ContainerFindIncludes {},
57
-
58
- & builder.PrintUsedLibrariesIfVerbose {},
59
- & builder.WarnAboutArchIncompatibleLibraries {},
60
-
61
54
& builder.ContainerAddPrototypes {},
62
55
}
63
56
@@ -87,16 +80,9 @@ func TestPrototypesAdderSketchWithIfDef(t *testing.T) {
87
80
defer buildPath .RemoveAll ()
88
81
89
82
commands := []types.Command {
90
-
91
83
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
92
-
93
84
& builder.ContainerMergeCopySketchFiles {},
94
-
95
85
& builder.ContainerFindIncludes {},
96
-
97
- & builder.PrintUsedLibrariesIfVerbose {},
98
- & builder.WarnAboutArchIncompatibleLibraries {},
99
-
100
86
& builder.ContainerAddPrototypes {},
101
87
}
102
88
@@ -126,16 +112,9 @@ func TestPrototypesAdderBaladuino(t *testing.T) {
126
112
defer buildPath .RemoveAll ()
127
113
128
114
commands := []types.Command {
129
-
130
115
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
131
-
132
116
& builder.ContainerMergeCopySketchFiles {},
133
-
134
117
& builder.ContainerFindIncludes {},
135
-
136
- & builder.PrintUsedLibrariesIfVerbose {},
137
- & builder.WarnAboutArchIncompatibleLibraries {},
138
-
139
118
& builder.ContainerAddPrototypes {},
140
119
}
141
120
@@ -165,16 +144,9 @@ func TestPrototypesAdderCharWithEscapedDoubleQuote(t *testing.T) {
165
144
defer buildPath .RemoveAll ()
166
145
167
146
commands := []types.Command {
168
-
169
147
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
170
-
171
148
& builder.ContainerMergeCopySketchFiles {},
172
-
173
149
& builder.ContainerFindIncludes {},
174
-
175
- & builder.PrintUsedLibrariesIfVerbose {},
176
- & builder.WarnAboutArchIncompatibleLibraries {},
177
-
178
150
& builder.ContainerAddPrototypes {},
179
151
}
180
152
@@ -204,16 +176,9 @@ func TestPrototypesAdderIncludeBetweenMultilineComment(t *testing.T) {
204
176
defer buildPath .RemoveAll ()
205
177
206
178
commands := []types.Command {
207
-
208
179
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
209
-
210
180
& builder.ContainerMergeCopySketchFiles {},
211
-
212
181
& builder.ContainerFindIncludes {},
213
-
214
- & builder.PrintUsedLibrariesIfVerbose {},
215
- & builder.WarnAboutArchIncompatibleLibraries {},
216
-
217
182
& builder.ContainerAddPrototypes {},
218
183
}
219
184
@@ -243,16 +208,9 @@ func TestPrototypesAdderLineContinuations(t *testing.T) {
243
208
defer buildPath .RemoveAll ()
244
209
245
210
commands := []types.Command {
246
-
247
211
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
248
-
249
212
& builder.ContainerMergeCopySketchFiles {},
250
-
251
213
& builder.ContainerFindIncludes {},
252
-
253
- & builder.PrintUsedLibrariesIfVerbose {},
254
- & builder.WarnAboutArchIncompatibleLibraries {},
255
-
256
214
& builder.ContainerAddPrototypes {},
257
215
}
258
216
@@ -282,16 +240,9 @@ func TestPrototypesAdderStringWithComment(t *testing.T) {
282
240
defer buildPath .RemoveAll ()
283
241
284
242
commands := []types.Command {
285
-
286
243
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
287
-
288
244
& builder.ContainerMergeCopySketchFiles {},
289
-
290
245
& builder.ContainerFindIncludes {},
291
-
292
- & builder.PrintUsedLibrariesIfVerbose {},
293
- & builder.WarnAboutArchIncompatibleLibraries {},
294
-
295
246
& builder.ContainerAddPrototypes {},
296
247
}
297
248
@@ -321,16 +272,9 @@ func TestPrototypesAdderSketchWithStruct(t *testing.T) {
321
272
defer buildPath .RemoveAll ()
322
273
323
274
commands := []types.Command {
324
-
325
275
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
326
-
327
276
& builder.ContainerMergeCopySketchFiles {},
328
-
329
277
& builder.ContainerFindIncludes {},
330
-
331
- & builder.PrintUsedLibrariesIfVerbose {},
332
- & builder.WarnAboutArchIncompatibleLibraries {},
333
-
334
278
& builder.ContainerAddPrototypes {},
335
279
}
336
280
@@ -368,16 +312,9 @@ func TestPrototypesAdderSketchWithConfig(t *testing.T) {
368
312
defer buildPath .RemoveAll ()
369
313
370
314
commands := []types.Command {
371
-
372
315
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
373
-
374
316
& builder.ContainerMergeCopySketchFiles {},
375
-
376
317
& builder.ContainerFindIncludes {},
377
-
378
- & builder.PrintUsedLibrariesIfVerbose {},
379
- & builder.WarnAboutArchIncompatibleLibraries {},
380
-
381
318
& builder.ContainerAddPrototypes {},
382
319
}
383
320
@@ -413,16 +350,9 @@ func TestPrototypesAdderSketchNoFunctionsTwoFiles(t *testing.T) {
413
350
defer buildPath .RemoveAll ()
414
351
415
352
commands := []types.Command {
416
-
417
353
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
418
-
419
354
& builder.ContainerMergeCopySketchFiles {},
420
-
421
355
& builder.ContainerFindIncludes {},
422
-
423
- & builder.PrintUsedLibrariesIfVerbose {},
424
- & builder.WarnAboutArchIncompatibleLibraries {},
425
-
426
356
& builder.ContainerAddPrototypes {},
427
357
}
428
358
@@ -455,16 +385,9 @@ func TestPrototypesAdderSketchNoFunctions(t *testing.T) {
455
385
quotedSketchLocation := utils .QuoteCppPath (Abs (t , sketchLocation ))
456
386
457
387
commands := []types.Command {
458
-
459
388
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
460
-
461
389
& builder.ContainerMergeCopySketchFiles {},
462
-
463
390
& builder.ContainerFindIncludes {},
464
-
465
- & builder.PrintUsedLibrariesIfVerbose {},
466
- & builder.WarnAboutArchIncompatibleLibraries {},
467
-
468
391
& builder.ContainerAddPrototypes {},
469
392
}
470
393
@@ -497,16 +420,9 @@ func TestPrototypesAdderSketchWithDefaultArgs(t *testing.T) {
497
420
defer buildPath .RemoveAll ()
498
421
499
422
commands := []types.Command {
500
-
501
423
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
502
-
503
424
& builder.ContainerMergeCopySketchFiles {},
504
-
505
425
& builder.ContainerFindIncludes {},
506
-
507
- & builder.PrintUsedLibrariesIfVerbose {},
508
- & builder.WarnAboutArchIncompatibleLibraries {},
509
-
510
426
& builder.ContainerAddPrototypes {},
511
427
}
512
428
@@ -539,16 +455,9 @@ func TestPrototypesAdderSketchWithInlineFunction(t *testing.T) {
539
455
defer buildPath .RemoveAll ()
540
456
541
457
commands := []types.Command {
542
-
543
458
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
544
-
545
459
& builder.ContainerMergeCopySketchFiles {},
546
-
547
460
& builder.ContainerFindIncludes {},
548
-
549
- & builder.PrintUsedLibrariesIfVerbose {},
550
- & builder.WarnAboutArchIncompatibleLibraries {},
551
-
552
461
& builder.ContainerAddPrototypes {},
553
462
}
554
463
@@ -592,16 +501,9 @@ func TestPrototypesAdderSketchWithFunctionSignatureInsideIFDEF(t *testing.T) {
592
501
defer buildPath .RemoveAll ()
593
502
594
503
commands := []types.Command {
595
-
596
504
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
597
-
598
505
& builder.ContainerMergeCopySketchFiles {},
599
-
600
506
& builder.ContainerFindIncludes {},
601
-
602
- & builder.PrintUsedLibrariesIfVerbose {},
603
- & builder.WarnAboutArchIncompatibleLibraries {},
604
-
605
507
& builder.ContainerAddPrototypes {},
606
508
}
607
509
@@ -634,16 +536,9 @@ func TestPrototypesAdderSketchWithUSBCON(t *testing.T) {
634
536
defer buildPath .RemoveAll ()
635
537
636
538
commands := []types.Command {
637
-
638
539
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
639
-
640
540
& builder.ContainerMergeCopySketchFiles {},
641
-
642
541
& builder.ContainerFindIncludes {},
643
-
644
- & builder.PrintUsedLibrariesIfVerbose {},
645
- & builder.WarnAboutArchIncompatibleLibraries {},
646
-
647
542
& builder.ContainerAddPrototypes {},
648
543
}
649
544
@@ -675,16 +570,9 @@ func TestPrototypesAdderSketchWithTypename(t *testing.T) {
675
570
defer buildPath .RemoveAll ()
676
571
677
572
commands := []types.Command {
678
-
679
573
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
680
-
681
574
& builder.ContainerMergeCopySketchFiles {},
682
-
683
575
& builder.ContainerFindIncludes {},
684
-
685
- & builder.PrintUsedLibrariesIfVerbose {},
686
- & builder.WarnAboutArchIncompatibleLibraries {},
687
-
688
576
& builder.ContainerAddPrototypes {},
689
577
}
690
578
@@ -723,16 +611,9 @@ func TestPrototypesAdderSketchWithIfDef2(t *testing.T) {
723
611
defer buildPath .RemoveAll ()
724
612
725
613
commands := []types.Command {
726
-
727
614
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
728
-
729
615
& builder.ContainerMergeCopySketchFiles {},
730
-
731
616
& builder.ContainerFindIncludes {},
732
-
733
- & builder.PrintUsedLibrariesIfVerbose {},
734
- & builder.WarnAboutArchIncompatibleLibraries {},
735
-
736
617
& builder.ContainerAddPrototypes {},
737
618
}
738
619
@@ -768,16 +649,9 @@ func TestPrototypesAdderSketchWithIfDef2SAM(t *testing.T) {
768
649
defer buildPath .RemoveAll ()
769
650
770
651
commands := []types.Command {
771
-
772
652
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
773
-
774
653
& builder.ContainerMergeCopySketchFiles {},
775
-
776
654
& builder.ContainerFindIncludes {},
777
-
778
- & builder.PrintUsedLibrariesIfVerbose {},
779
- & builder.WarnAboutArchIncompatibleLibraries {},
780
-
781
655
& builder.ContainerAddPrototypes {},
782
656
}
783
657
@@ -813,16 +687,9 @@ func TestPrototypesAdderSketchWithConst(t *testing.T) {
813
687
defer buildPath .RemoveAll ()
814
688
815
689
commands := []types.Command {
816
-
817
690
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
818
-
819
691
& builder.ContainerMergeCopySketchFiles {},
820
-
821
692
& builder.ContainerFindIncludes {},
822
-
823
- & builder.PrintUsedLibrariesIfVerbose {},
824
- & builder.WarnAboutArchIncompatibleLibraries {},
825
-
826
693
& builder.ContainerAddPrototypes {},
827
694
}
828
695
@@ -852,16 +719,9 @@ func TestPrototypesAdderSketchWithDosEol(t *testing.T) {
852
719
defer buildPath .RemoveAll ()
853
720
854
721
commands := []types.Command {
855
-
856
722
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
857
-
858
723
& builder.ContainerMergeCopySketchFiles {},
859
-
860
724
& builder.ContainerFindIncludes {},
861
-
862
- & builder.PrintUsedLibrariesIfVerbose {},
863
- & builder.WarnAboutArchIncompatibleLibraries {},
864
-
865
725
& builder.ContainerAddPrototypes {},
866
726
}
867
727
@@ -891,16 +751,9 @@ func TestPrototypesAdderSketchWithSubstringFunctionMember(t *testing.T) {
891
751
defer buildPath .RemoveAll ()
892
752
893
753
commands := []types.Command {
894
-
895
754
& builder.ContainerSetupHardwareToolsLibsSketchAndProps {},
896
-
897
755
& builder.ContainerMergeCopySketchFiles {},
898
-
899
756
& builder.ContainerFindIncludes {},
900
-
901
- & builder.PrintUsedLibrariesIfVerbose {},
902
- & builder.WarnAboutArchIncompatibleLibraries {},
903
-
904
757
& builder.ContainerAddPrototypes {},
905
758
}
906
759
0 commit comments