Skip to content

Commit

Permalink
Skip useless operations in legacy test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Mar 27, 2023
1 parent f3715e4 commit a0067b7
Showing 1 changed file with 0 additions and 147 deletions.
147 changes: 0 additions & 147 deletions legacy/builder/test/prototypes_adder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,9 @@ func TestPrototypesAdderBridgeExample(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -87,16 +80,9 @@ func TestPrototypesAdderSketchWithIfDef(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -126,16 +112,9 @@ func TestPrototypesAdderBaladuino(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -165,16 +144,9 @@ func TestPrototypesAdderCharWithEscapedDoubleQuote(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -204,16 +176,9 @@ func TestPrototypesAdderIncludeBetweenMultilineComment(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -243,16 +208,9 @@ func TestPrototypesAdderLineContinuations(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -282,16 +240,9 @@ func TestPrototypesAdderStringWithComment(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -321,16 +272,9 @@ func TestPrototypesAdderSketchWithStruct(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -368,16 +312,9 @@ func TestPrototypesAdderSketchWithConfig(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -413,16 +350,9 @@ func TestPrototypesAdderSketchNoFunctionsTwoFiles(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -455,16 +385,9 @@ func TestPrototypesAdderSketchNoFunctions(t *testing.T) {
quotedSketchLocation := utils.QuoteCppPath(Abs(t, sketchLocation))

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -497,16 +420,9 @@ func TestPrototypesAdderSketchWithDefaultArgs(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -539,16 +455,9 @@ func TestPrototypesAdderSketchWithInlineFunction(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -592,16 +501,9 @@ func TestPrototypesAdderSketchWithFunctionSignatureInsideIFDEF(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -634,16 +536,9 @@ func TestPrototypesAdderSketchWithUSBCON(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -675,16 +570,9 @@ func TestPrototypesAdderSketchWithTypename(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -723,16 +611,9 @@ func TestPrototypesAdderSketchWithIfDef2(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -768,16 +649,9 @@ func TestPrototypesAdderSketchWithIfDef2SAM(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -813,16 +687,9 @@ func TestPrototypesAdderSketchWithConst(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -852,16 +719,9 @@ func TestPrototypesAdderSketchWithDosEol(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down Expand Up @@ -891,16 +751,9 @@ func TestPrototypesAdderSketchWithSubstringFunctionMember(t *testing.T) {
defer buildPath.RemoveAll()

commands := []types.Command{

&builder.ContainerSetupHardwareToolsLibsSketchAndProps{},

&builder.ContainerMergeCopySketchFiles{},

&builder.ContainerFindIncludes{},

&builder.PrintUsedLibrariesIfVerbose{},
&builder.WarnAboutArchIncompatibleLibraries{},

&builder.ContainerAddPrototypes{},
}

Expand Down

0 comments on commit a0067b7

Please sign in to comment.