github.com/juju/juju@v0.0.0-20240327075706-a90865de2538/worker/upgradedatabase/package_test.go (about)

     1  // Copyright 2019 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package upgradedatabase
     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/package.go github.com/juju/juju/worker/upgradedatabase Logger,Pool,UpgradeInfo,Clock
    13  //go:generate go run go.uber.org/mock/mockgen -package mocks -destination mocks/lock.go github.com/juju/juju/worker/gate Lock
    14  //go:generate go run go.uber.org/mock/mockgen -package mocks -destination mocks/agent.go github.com/juju/juju/agent Agent,Config,ConfigSetter
    15  //go:generate go run go.uber.org/mock/mockgen -package mocks -destination mocks/watcher.go github.com/juju/juju/state NotifyWatcher
    16  
    17  func TestPackage(t *testing.T) {
    18  	gc.TestingT(t)
    19  }