diff --git a/command/validate/command_test.go b/command/validate/command_test.go new file mode 100644 index 000000000..33fab19dd --- /dev/null +++ b/command/validate/command_test.go @@ -0,0 +1,14 @@ +package validate + +import ( + "github.com/mitchellh/packer/packer" + "testing" +) + +func TestCommand_Impl(t *testing.T) { + var raw interface{} + raw = new(Command) + if _, ok := raw.(packer.Command); !ok { + t.Fatalf("must be a Command") + } +} diff --git a/packer_test.go b/packer_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/packer_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/builder-amazon-ebs/main_test.go b/plugin/builder-amazon-ebs/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/builder-amazon-ebs/main_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/builder-amazon-instance/main_test.go b/plugin/builder-amazon-instance/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/builder-amazon-instance/main_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/builder-digitalocean/main_test.go b/plugin/builder-digitalocean/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/builder-digitalocean/main_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/builder-virtualbox/main_test.go b/plugin/builder-virtualbox/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/builder-virtualbox/main_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/builder-vmware/main_test.go b/plugin/builder-vmware/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/builder-vmware/main_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/command-build/main_test.go b/plugin/command-build/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/command-build/main_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/command-fix/main_test.go b/plugin/command-fix/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/command-fix/main_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/command-validate/main_test.go b/plugin/command-validate/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/command-validate/main_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/post-processor-vagrant/main_test.go b/plugin/post-processor-vagrant/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/post-processor-vagrant/main_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/provisioner-file/main_test.go b/plugin/provisioner-file/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/provisioner-file/main_test.go @@ -0,0 +1 @@ +package main diff --git a/plugin/provisioner-shell/main_test.go b/plugin/provisioner-shell/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/provisioner-shell/main_test.go @@ -0,0 +1 @@ +package main