func TestPackage(t *stdtesting.T) { // Create a CA certificate available for all tests. f, err := ioutil.TempFile("", "juju-test-cert") if err != nil { panic(err) } _, err = f.WriteString(testing.CACert) if err != nil { panic(err) } f.Close() caCertFile = f.Name() defer os.Remove(caCertFile) testing.MgoTestPackage(t) }
func TestAll(t *stdtesting.T) { coretesting.MgoTestPackage(t) }
// TestPackage integrates the tests into gotest. func TestPackage(t *stdtesting.T) { testing.MgoTestPackage(t) }