mirror of
https://github.com/hashicorp/packer.git
synced 2026-04-22 14:47:19 -04:00
add tests files to everything to test compilation
This commit is contained in:
parent
ae28778caf
commit
8fb4e1ab88
13 changed files with 26 additions and 0 deletions
14
command/validate/command_test.go
Normal file
14
command/validate/command_test.go
Normal file
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
1
packer_test.go
Normal file
1
packer_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/builder-amazon-ebs/main_test.go
Normal file
1
plugin/builder-amazon-ebs/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/builder-amazon-instance/main_test.go
Normal file
1
plugin/builder-amazon-instance/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/builder-digitalocean/main_test.go
Normal file
1
plugin/builder-digitalocean/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/builder-virtualbox/main_test.go
Normal file
1
plugin/builder-virtualbox/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/builder-vmware/main_test.go
Normal file
1
plugin/builder-vmware/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/command-build/main_test.go
Normal file
1
plugin/command-build/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/command-fix/main_test.go
Normal file
1
plugin/command-fix/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/command-validate/main_test.go
Normal file
1
plugin/command-validate/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/post-processor-vagrant/main_test.go
Normal file
1
plugin/post-processor-vagrant/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/provisioner-file/main_test.go
Normal file
1
plugin/provisioner-file/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
1
plugin/provisioner-shell/main_test.go
Normal file
1
plugin/provisioner-shell/main_test.go
Normal file
|
|
@ -0,0 +1 @@
|
|||
package main
|
||||
Loading…
Reference in a new issue