github.com/juju/juju@v0.0.0-20240327075706-a90865de2538/worker/instancepoller/package_test.go (about) 1 // Copyright 2013 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package instancepoller 5 6 import ( 7 "testing" 8 9 gc "gopkg.in/check.v1" 10 ) 11 12 //go:generate go run go.uber.org/mock/mockgen -package mocks -destination mocks/mocks_watcher.go github.com/juju/juju/core/watcher StringsWatcher 13 //go:generate go run go.uber.org/mock/mockgen -package mocks -destination mocks/mocks_instances.go github.com/juju/juju/environs/instances Instance 14 //go:generate go run go.uber.org/mock/mockgen -package mocks -destination mocks/mocks_cred_api.go github.com/juju/juju/worker/common CredentialAPI 15 //go:generate go run go.uber.org/mock/mockgen -package mocks -destination mocks/mocks_instancepoller.go github.com/juju/juju/worker/instancepoller Environ,Machine 16 17 func TestPackage(t *testing.T) { 18 gc.TestingT(t) 19 }