~axwalk/juju-core/lp1303195-manual-ubuntuuser-bash

« back to all changes in this revision

Viewing changes to worker/resumer/resumer_test.go

  • Committer: Frank Mueller
  • Date: 2013-06-13 15:29:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1312.
  • Revision ID: frank.mueller@canonical.com-20130613152949-sofdr9xaf1cgxm2z
resumer: initial implementation

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2013 Canonical Ltd.
 
2
// Licensed under the AGPLv3, see LICENCE file for details.
 
3
 
 
4
package resumer_test
 
5
 
 
6
import (
 
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"
 
11
        stdtesting "testing"
 
12
)
 
13
 
 
14
func TestPackage(t *stdtesting.T) {
 
15
        coretesting.MgoTestPackage(t)
 
16
}
 
17
 
 
18
type ResumerSuite struct {
 
19
        testing.JujuConnSuite
 
20
}
 
21
 
 
22
var _ = Suite(&ResumerSuite{})
 
23
 
 
24
func (s *ResumerSuite) TestRunStop(c *C) {
 
25
        rr := resumer.NewResumer(s.State)
 
26
 
 
27
        c.Assert(rr.Stop(), IsNil)
 
28
}