Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1089)

Issue 6481045: mstate: moved life with tests in own files (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by TheMue
Modified:
11 years, 8 months ago
Reviewers:
mp+120800
Visibility:
Public.

Description

mstate: moved life with tests in own files As the lifecycle implementation is used by the four entities Relation, Unit, Service and Machine it is now moved into an own file with an own test suite. https://code.launchpad.net/~themue/juju-core/go-mstate-life-file/+merge/120800 Requires: https://code.launchpad.net/~themue/juju-core/go-mstate-unit-lifecycle/+merge/120744 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : mstate: moved life with tests in own files #

Total comments: 12

Patch Set 3 : mstate: moved life with tests in own files #

Patch Set 4 : mstate: moved life with tests in own files #

Total comments: 1

Patch Set 5 : mstate: moved life with tests in own files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -171 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A mstate/life.go View 1 2 1 chunk +59 lines, -0 lines 0 comments Download
A mstate/life_test.go View 1 2 3 4 1 chunk +167 lines, -0 lines 0 comments Download
M mstate/relation.go View 2 chunks +12 lines, -28 lines 0 comments Download
M mstate/relation_test.go View 2 chunks +0 lines, -101 lines 0 comments Download
M mstate/state.go View 1 2 3 4 1 chunk +0 lines, -42 lines 0 comments Download

Messages

Total messages: 9
TheMue
Please take a look.
11 years, 8 months ago (2012-08-22 14:39:54 UTC) #1
aram
LGTM. Fantastic, thank you. https://codereview.appspot.com/6481045/diff/1/mstate/life_test.go File mstate/life_test.go (right): https://codereview.appspot.com/6481045/diff/1/mstate/life_test.go#newcode137 mstate/life_test.go:137: err = l.Die() I think ...
11 years, 8 months ago (2012-08-22 14:48:39 UTC) #2
TheMue
Please take a look. https://codereview.appspot.com/6481045/diff/1/mstate/life_test.go File mstate/life_test.go (right): https://codereview.appspot.com/6481045/diff/1/mstate/life_test.go#newcode137 mstate/life_test.go:137: err = l.Die() On 2012/08/22 ...
11 years, 8 months ago (2012-08-22 14:59:02 UTC) #3
aram
LGTM
11 years, 8 months ago (2012-08-22 15:05:01 UTC) #4
niemeyer
https://codereview.appspot.com/6481045/diff/4001/mstate/life.go File mstate/life.go (right): https://codereview.appspot.com/6481045/diff/4001/mstate/life.go#newcode31 mstate/life.go:31: type Living interface { This is great. https://codereview.appspot.com/6481045/diff/4001/mstate/life.go#newcode56 mstate/life.go:56: ...
11 years, 8 months ago (2012-08-23 23:04:07 UTC) #5
TheMue
Please take a look. https://codereview.appspot.com/6481045/diff/4001/mstate/life.go File mstate/life.go (right): https://codereview.appspot.com/6481045/diff/4001/mstate/life.go#newcode31 mstate/life.go:31: type Living interface { On ...
11 years, 8 months ago (2012-08-24 13:01:48 UTC) #6
TheMue
Please take a look.
11 years, 8 months ago (2012-08-24 13:10:26 UTC) #7
niemeyer
Thanks for the changes. Only a trivial, and LGTM. https://codereview.appspot.com/6481045/diff/9002/mstate/life_test.go File mstate/life_test.go (right): https://codereview.appspot.com/6481045/diff/9002/mstate/life_test.go#newcode130 mstate/life_test.go:130: ...
11 years, 8 months ago (2012-08-27 15:27:11 UTC) #8
TheMue
11 years, 8 months ago (2012-08-27 16:08:48 UTC) #9
*** Submitted:

mstate: moved life with tests in own files

As the lifecycle implementation is used by the four
entities Relation, Unit, Service and Machine it is
now moved into an own file with an own test suite.

R=aram, niemeyer
CC=
https://codereview.appspot.com/6481045
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b