Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Issue 6612011: add tests for owners database module in depot_tools (Closed)

Created:
9 years, 9 months ago by Dirk Pranke
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

Add some unit tests. They don't pass yet. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76980

Patch Set 1 #

Total comments: 2

Patch Set 2 : update w/ review feedback #

Total comments: 3

Patch Set 3 : more cleanup from review feedback #

Patch Set 4 : make raise_not_found a file-level fn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -6 lines) Patch
M owners.py View 1 2 chunks +28 lines, -6 lines 0 comments Download
A tests/filesystem_mock.py View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
A tests/owners_unittest.py View 1 2 1 chunk +135 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Dirk Pranke
This change includes a stripped-down version of the "mock filesystem" object I wrote for WebKit. ...
9 years, 9 months ago (2011-03-03 03:58:19 UTC) #1
M-A Ruel
http://codereview.chromium.org/6612011/diff/1/tests/filesystem_mock.py File tests/filesystem_mock.py (right): http://codereview.chromium.org/6612011/diff/1/tests/filesystem_mock.py#newcode13 tests/filesystem_mock.py:13: class MockFileSystem(object): Personally, I think it's waaay simpler (and ...
9 years, 9 months ago (2011-03-03 16:20:46 UTC) #2
Dirk Pranke
On Thu, Mar 3, 2011 at 8:20 AM, <maruel@chromium.org> wrote: > > http://codereview.chromium.org/6612011/diff/1/tests/filesystem_mock.py > File ...
9 years, 9 months ago (2011-03-03 17:28:26 UTC) #3
Dirk Pranke
update.
9 years, 9 months ago (2011-03-03 21:10:38 UTC) #4
M-A Ruel
lgtm with some nits, pending http://codereview.chromium.org/6609012/ http://codereview.chromium.org/6612011/diff/4001/tests/filesystem_mock.py File tests/filesystem_mock.py (right): http://codereview.chromium.org/6612011/diff/4001/tests/filesystem_mock.py#newcode26 tests/filesystem_mock.py:26: def _get_sep(self): you ...
9 years, 9 months ago (2011-03-03 21:21:56 UTC) #5
Dirk Pranke
On 2011/03/03 21:21:56, Marc-Antoine Ruel wrote: > lgtm with some nits, pending http://codereview.chromium.org/6609012/ > > ...
9 years, 9 months ago (2011-03-03 22:51:20 UTC) #6
Dirk Pranke
9 years, 9 months ago (2011-03-04 01:53:41 UTC) #7
M-A Ruel
9 years, 9 months ago (2011-03-04 02:04:21 UTC) #8
lgtm

Powered by Google App Engine
This is Rietveld 408576698