|
30 | 30 | package test
|
31 | 31 |
|
32 | 32 | import (
|
33 |
| - "arduino.cc/builder" |
34 |
| - "arduino.cc/builder/constants" |
35 |
| - "arduino.cc/builder/ctags" |
36 |
| - "arduino.cc/builder/types" |
37 |
| - "github.com/stretchr/testify/require" |
38 | 33 | "os"
|
39 | 34 | "path/filepath"
|
40 | 35 | "strings"
|
41 | 36 | "testing"
|
| 37 | + |
| 38 | + "arduino.cc/builder" |
| 39 | + "arduino.cc/builder/constants" |
| 40 | + "arduino.cc/builder/types" |
| 41 | + "github.com/stretchr/testify/require" |
42 | 42 | )
|
43 | 43 |
|
44 | 44 | func TestCTagsRunner(t *testing.T) {
|
@@ -71,7 +71,7 @@ func TestCTagsRunner(t *testing.T) {
|
71 | 71 | &builder.PrintUsedLibrariesIfVerbose{},
|
72 | 72 | &builder.WarnAboutArchIncompatibleLibraries{},
|
73 | 73 | &builder.CTagsTargetFileSaver{Source: &ctx.Source, TargetFileName: constants.FILE_CTAGS_TARGET},
|
74 |
| - &ctags.CTagsRunner{}, |
| 74 | + &builder.CTagsRunner{}, |
75 | 75 | }
|
76 | 76 |
|
77 | 77 | for _, command := range commands {
|
@@ -121,7 +121,7 @@ func TestCTagsRunnerSketchWithClass(t *testing.T) {
|
121 | 121 | &builder.PrintUsedLibrariesIfVerbose{},
|
122 | 122 | &builder.WarnAboutArchIncompatibleLibraries{},
|
123 | 123 | &builder.CTagsTargetFileSaver{Source: &ctx.Source, TargetFileName: constants.FILE_CTAGS_TARGET},
|
124 |
| - &ctags.CTagsRunner{}, |
| 124 | + &builder.CTagsRunner{}, |
125 | 125 | }
|
126 | 126 |
|
127 | 127 | for _, command := range commands {
|
@@ -169,7 +169,7 @@ func TestCTagsRunnerSketchWithTypename(t *testing.T) {
|
169 | 169 | &builder.PrintUsedLibrariesIfVerbose{},
|
170 | 170 | &builder.WarnAboutArchIncompatibleLibraries{},
|
171 | 171 | &builder.CTagsTargetFileSaver{Source: &ctx.Source, TargetFileName: constants.FILE_CTAGS_TARGET},
|
172 |
| - &ctags.CTagsRunner{}, |
| 172 | + &builder.CTagsRunner{}, |
173 | 173 | }
|
174 | 174 |
|
175 | 175 | for _, command := range commands {
|
@@ -216,7 +216,7 @@ func TestCTagsRunnerSketchWithNamespace(t *testing.T) {
|
216 | 216 | &builder.PrintUsedLibrariesIfVerbose{},
|
217 | 217 | &builder.WarnAboutArchIncompatibleLibraries{},
|
218 | 218 | &builder.CTagsTargetFileSaver{Source: &ctx.Source, TargetFileName: constants.FILE_CTAGS_TARGET},
|
219 |
| - &ctags.CTagsRunner{}, |
| 219 | + &builder.CTagsRunner{}, |
220 | 220 | }
|
221 | 221 |
|
222 | 222 | for _, command := range commands {
|
@@ -262,7 +262,7 @@ func TestCTagsRunnerSketchWithTemplates(t *testing.T) {
|
262 | 262 | &builder.PrintUsedLibrariesIfVerbose{},
|
263 | 263 | &builder.WarnAboutArchIncompatibleLibraries{},
|
264 | 264 | &builder.CTagsTargetFileSaver{Source: &ctx.Source, TargetFileName: constants.FILE_CTAGS_TARGET},
|
265 |
| - &ctags.CTagsRunner{}, |
| 265 | + &builder.CTagsRunner{}, |
266 | 266 | }
|
267 | 267 |
|
268 | 268 | for _, command := range commands {
|
|
0 commit comments