github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/service/systemd/package_test.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package systemd_test
     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 systemd_test -destination package_mock_test.go github.com/juju/juju/service/systemd DBusAPI,FileSystemOps
    13  
    14  // TODO (manadart 2020-01-28): Phase this out
    15  // and generate all mocks with the command above.
    16  //go:generate go run go.uber.org/mock/mockgen -package systemd -destination shims_mock_test.go github.com/juju/juju/service/systemd ShimExec
    17  
    18  func Test(t *testing.T) {
    19  	gc.TestingT(t)
    20  }