~themue/juju-core/go-state-service-relation-watcher

« back to all changes in this revision

Viewing changes to state/relation_internal_test.go

  • Committer: Frank Mueller
  • Date: 2012-07-31 07:11:19 UTC
  • Revision ID: themue@gmail.com-20120731071119-b03v5lkht55xfc2u
state: first lifecycle utils and implementation for relation

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
// multi-endpoint peer relations, which are currently not constructable
15
15
// by normal means.
16
16
func (s *RelationSuite) TestRelatedEndpoints(c *C) {
17
 
        r := &Relation{nil, "", []RelationEndpoint{
 
17
        r := &Relation{nil, "", Alive, []RelationEndpoint{
18
18
                RelationEndpoint{"jeff", "ifce", "group", RolePeer, charm.ScopeGlobal},
19
19
                RelationEndpoint{"mike", "ifce", "group", RolePeer, charm.ScopeGlobal},
20
20
                RelationEndpoint{"bill", "ifce", "group", RolePeer, charm.ScopeGlobal},