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

Issue 7206047: Add a test for the fix for bug 1103204

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by benji
Modified:
11 years, 3 months ago
Reviewers:
mp+144594
Visibility:
Public.

Description

Add a test for the fix for bug 1103204 This branch also includes some refactoring of where relation names are calculated in an effort to DRY it up as well as make testing a tad easier. https://code.launchpad.net/~benji/juju-gui/bug-1103477/+merge/144594 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add a test for the fix for bug 1103204 #

Patch Set 3 : Add a test for the fix for bug 1103204 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -68 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/store/env.js View 1 3 chunks +13 lines, -10 lines 0 comments Download
M app/views/service.js View 1 1 chunk +2 lines, -2 lines 0 comments Download
M app/views/topology/relation.js View 1 2 4 chunks +9 lines, -14 lines 0 comments Download
M test/test_application_notifications.js View 9 chunks +24 lines, -34 lines 0 comments Download
M test/test_env.js View 1 4 chunks +9 lines, -6 lines 0 comments Download
M test/test_topology_relation.js View 1 2 chunks +35 lines, -2 lines 0 comments Download

Messages

Total messages: 4
benji
Please take a look.
11 years, 3 months ago (2013-01-23 22:09:47 UTC) #1
matthew.scott
Land as is after landing parent branch, looks good to me with the change involved ...
11 years, 3 months ago (2013-01-23 22:44:27 UTC) #2
gary.poster
Land with changes. Extremely nice branch, Benji. Thank you. Gary https://codereview.appspot.com/7206047/diff/1/app/views/topology/relation.js File app/views/topology/relation.js (right): https://codereview.appspot.com/7206047/diff/1/app/views/topology/relation.js#newcode834 ...
11 years, 3 months ago (2013-01-24 04:55:26 UTC) #3
benji
11 years, 3 months ago (2013-01-24 19:31:58 UTC) #4
*** Submitted:

Add a test for the fix for bug 1103204

This branch also includes some refactoring of where relation names are
calculated in an effort to DRY it up as well as make testing a tad easier.

R=matthew.scott, gary.poster
CC=
https://codereview.appspot.com/7206047

https://codereview.appspot.com/7206047/diff/1/app/views/topology/relation.js
File app/views/topology/relation.js (right):

https://codereview.appspot.com/7206047/diff/1/app/views/topology/relation.js#...
app/views/topology/relation.js:834: relationClick: function(d, self) {
On 2013/01/24 04:55:27, gary.poster wrote:
> I expected you to change this "d" argument to "relation" like your other nice
> changes.  Would be nice. :-)

There are so many "d"s that I didn't want to change them all, but since you
asked nicely...

https://codereview.appspot.com/7206047/diff/1/app/views/utils.js
File app/views/utils.js (right):

https://codereview.appspot.com/7206047/diff/1/app/views/utils.js#newcode827
app/views/utils.js:827: * Decorate a relation with some related/derrived data.
On 2013/01/24 04:55:27, gary.poster wrote:
> typo: derived

Done.
Sign in to reply to this message.

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