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

Issue 7195047: Environment relation tests and refactor

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+144546
Visibility:
Public.

Description

Environment relation tests and refactor This is a start to tests for the environment relation code plus a bunch of refactorings and tests that proceeded from there. https://code.launchpad.net/~benji/juju-gui/bug-1083924-environment-relation-tests/+merge/144546 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 11

Patch Set 2 : Environment relation tests and refactor #

Patch Set 3 : Environment relation tests and refactor #

Patch Set 4 : Environment relation tests and refactor #

Patch Set 5 : Environment relation tests and refactor #

Patch Set 6 : Environment relation tests and refactor #

Patch Set 7 : Environment relation tests and refactor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -188 lines) Patch
A [revision details] View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M app/models/endpoints.js View 1 2 3 4 chunks +7 lines, -8 lines 0 comments Download
M app/views/topology/relation.js View 1 2 3 4 5 6 10 chunks +43 lines, -38 lines 0 comments Download
M app/views/utils.js View 1 2 3 2 chunks +37 lines, -36 lines 0 comments Download
M test/index.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M test/test_endpoints.js View 1 2 chunks +4 lines, -60 lines 0 comments Download
M test/test_environment_view.js View 1 2 3 2 chunks +2 lines, -40 lines 0 comments Download
A test/test_topology_relation.js View 1 chunk +60 lines, -0 lines 0 comments Download
M test/test_utils.js View 1 1 chunk +125 lines, -0 lines 0 comments Download
M undocumented View 1 2 3 4 4 chunks +1 line, -6 lines 0 comments Download

Messages

Total messages: 6
benji
Please take a look.
11 years, 3 months ago (2013-01-23 17:44:29 UTC) #1
matthew.scott
Requesting re-review; I cannot create more than one relation for any given subordinate service (i.e.: ...
11 years, 3 months ago (2013-01-23 20:23:15 UTC) #2
teknico
Land as is. Thank you so much, Benji! Pay no attention to the old-school whiners ...
11 years, 3 months ago (2013-01-24 11:24:11 UTC) #3
benji
Please take a look. https://codereview.appspot.com/7195047/diff/1/app/views/topology/relation.js File app/views/topology/relation.js (right): https://codereview.appspot.com/7195047/diff/1/app/views/topology/relation.js#newcode116 app/views/topology/relation.js:116: var bpair = views.DecoratedRelation(relation, source, ...
11 years, 3 months ago (2013-01-24 16:55:09 UTC) #4
matthew.scott
Looks good, thanks for the fix! Land as is.
11 years, 3 months ago (2013-01-24 17:16:23 UTC) #5
benji
11 years, 3 months ago (2013-01-24 19:05:23 UTC) #6
*** Submitted:

Environment relation tests and refactor

This is a start to tests for the environment relation code plus a bunch of
refactorings and tests that proceeded from there.

R=matthew.scott, teknico
CC=
https://codereview.appspot.com/7195047
Sign in to reply to this message.

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