github.phpd.cn/hashicorp/packer@v1.3.2/builder/lxd/communicator_test.go (about) 1 package lxd 2 3 import ( 4 "testing" 5 6 "github.com/hashicorp/packer/packer" 7 ) 8 9 func TestCommunicator_ImplementsCommunicator(t *testing.T) { 10 var raw interface{} 11 raw = &Communicator{} 12 if _, ok := raw.(packer.Communicator); !ok { 13 t.Fatalf("Communicator should be a communicator") 14 } 15 } 16 17 // Acceptance tests 18 // TODO Execute a command 19 // TODO Upload a file 20 // TODO Download a file 21 // TODO Upload a Directory