github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/cmd/jujud/agent/package_test.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package agent // not agent_test for no good reason
     5  
     6  import (
     7  	stdtesting "testing"
     8  
     9  	"github.com/juju/juju/component/all"
    10  	coretesting "github.com/juju/juju/testing"
    11  )
    12  
    13  func init() {
    14  	// Required for resources support.
    15  	if err := all.RegisterForServer(); err != nil {
    16  		panic(err)
    17  	}
    18  }
    19  
    20  func TestPackage(t *stdtesting.T) {
    21  	// TODO(waigani) 2014-03-19 bug 1294458
    22  	// Refactor to use base suites
    23  	coretesting.MgoSSLTestPackage(t)
    24  }