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

Issue 2865039: Improve testing with File() keyword, found a few bugs along the way (Closed)

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

Description

Improve testing with File() keyword, found a few bugs along the way TEST=new smoke tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51824

Patch Set 1 #

Total comments: 3

Patch Set 2 : Update expectations instead of disabling a check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -22 lines) Patch
M gclient.py View 4 chunks +11 lines, -3 lines 0 comments Download
M tests/fake_repos.py View 3 chunks +4 lines, -3 lines 0 comments Download
M tests/gclient_smoketest.py View 1 10 chunks +38 lines, -16 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
M-A Ruel
10 years, 5 months ago (2010-07-07 20:59:53 UTC) #1
tony
LGTM! http://codereview.chromium.org/2865039/diff/1/3 File tests/fake_repos.py (right): http://codereview.chromium.org/2865039/diff/1/3#newcode411 tests/fake_repos.py:411: # implementation should probably be replaced to use ...
10 years, 5 months ago (2010-07-08 02:19:41 UTC) #2
M-A Ruel
10 years, 5 months ago (2010-07-08 02:37:28 UTC) #3
updated, see difference with previous set.

http://codereview.chromium.org/2865039/diff/1/4
File tests/gclient_smoketest.py (right):

http://codereview.chromium.org/2865039/diff/1/4#newcode104
tests/gclient_smoketest.py:104: #self.checkString(results[i][0][2], path)
On 2010/07/08 02:19:41, tony wrote:
> Nit: remove?

I've fixed the expectations instead. svn update for a file is called from a
different directory that the usual code path but this test was already designed
to handle that case nicely, I was just before lazy.

Powered by Google App Engine
This is Rietveld 408576698