Move e2e/ to internal/e2e/

This is part of a general effort to move all of Terraform's non-library
package surface under internal in order to reinforce that these are for
internal use within Terraform only.

If you were previously importing packages under this prefix into an
external codebase, you could pin to an earlier release tag as an interim
solution until you've make a plan to achieve the same functionality some
other way.
This commit is contained in:
Martin Atkins 2021-05-17 09:48:22 -07:00
parent 4c5b866dea
commit 415ab31db8
15 changed files with 14 additions and 14 deletions

View File

@ -7,7 +7,7 @@ import (
"strings"
"testing"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
"github.com/hashicorp/terraform/plans"
)

View File

@ -11,7 +11,7 @@ import (
"github.com/google/go-cmp/cmp"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
)
func TestInitProviders(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"path/filepath"
"testing"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
)
var terraformBin string

View File

@ -8,7 +8,7 @@ import (
"testing"
"github.com/davecgh/go-spew/spew"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
"github.com/hashicorp/terraform/plans"
"github.com/zclconf/go-cty/cty"
)

View File

@ -8,7 +8,7 @@ import (
"strings"
"testing"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
)
// TestProviderDevOverrides is a test for the special dev_overrides setting

View File

@ -6,7 +6,7 @@ import (
"strings"
"testing"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
"github.com/hashicorp/terraform/internal/getproviders"
)

View File

@ -8,7 +8,7 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
)
// The tests in this file are for the "terraform providers mirror" command,

View File

@ -6,7 +6,7 @@ import (
"strings"
"testing"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
)
// TestProvisionerPlugin is a test that terraform can execute a 3rd party

View File

@ -4,7 +4,7 @@ import (
"strings"
"testing"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
)
// TestProviderDevOverrides is a test that terraform can execute a 3rd party

View File

@ -4,7 +4,7 @@ import (
"path/filepath"
"testing"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
)
func TestTerraformProviderRead(t *testing.T) {

View File

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
"github.com/hashicorp/terraform/internal/grpcwrap"
simple "github.com/hashicorp/terraform/internal/provider-simple"
proto "github.com/hashicorp/terraform/internal/tfplugin5"

View File

@ -6,7 +6,7 @@ import (
"strings"
"testing"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
"github.com/hashicorp/terraform/version"
)

View File

@ -4,7 +4,7 @@ import (
"os"
"testing"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
)
var bundleBin string

View File

@ -9,7 +9,7 @@ import (
"strings"
"testing"
"github.com/hashicorp/terraform/e2e"
"github.com/hashicorp/terraform/internal/e2e"
)
func TestPackage_empty(t *testing.T) {