1
// Copyright 2013 Canonical Ltd.
2
// Licensed under the AGPLv3, see LICENCE file for details.
7
. "launchpad.net/gocheck"
8
"launchpad.net/juju-core/juju/testing"
9
coretesting "launchpad.net/juju-core/testing"
10
"launchpad.net/juju-core/worker/resumer"
14
func TestPackage(t *stdtesting.T) {
15
coretesting.MgoTestPackage(t)
18
type ResumerSuite struct {
22
var _ = Suite(&ResumerSuite{})
24
func (s *ResumerSuite) TestRunStop(c *C) {
25
rr := resumer.NewResumer(s.State)
27
c.Assert(rr.Stop(), IsNil)