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

Issue 151883009: Docserver: Make MockFileSystem not iterate over the entire file system as part (Closed)

Created:
6 years, 10 months ago by not at google - send to devlin
Modified:
6 years, 10 months ago
Reviewers:
Yoyo Zhou
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Docserver: Make MockFileSystem not iterate over the entire file system as part of its operation. It was basically working around a TestFileSystem bug, so fix that too. This will make running tests much faster, particularly now that the entire of the src/ directory is considered part of the docset. BUG=None R=yoz@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248838

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 6

Patch Set 3 : yoz and then some #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -150 lines) Patch
M chrome/common/extensions/docs/server2/caching_file_system_test.py View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/chained_compiled_file_system_test.py View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/chroot_file_system_test.py View 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/common/extensions/docs/server2/compiled_file_system.py View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/compiled_file_system_test.py View 1 2 5 chunks +6 lines, -17 lines 0 comments Download
M chrome/common/extensions/docs/server2/empty_dir_file_system.py View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/github_file_system.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/github_file_system_test.py View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/server2/mock_file_system.py View 1 2 4 chunks +36 lines, -31 lines 0 comments Download
M chrome/common/extensions/docs/server2/mock_file_system_test.py View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/server2/new_github_file_system_test.py View 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/samples_data_source.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/test_file_system.py View 1 2 3 chunks +79 lines, -65 lines 0 comments Download
M chrome/common/extensions/docs/server2/test_file_system_test.py View 1 2 4 chunks +50 lines, -15 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
not at google - send to devlin
6 years, 10 months ago (2014-02-04 00:18:14 UTC) #1
not at google - send to devlin
P.S. i've also sent you a couple of other docserver patches.
6 years, 10 months ago (2014-02-04 00:18:24 UTC) #2
Yoyo Zhou
LGTM https://codereview.chromium.org/151883009/diff/50001/chrome/common/extensions/docs/server2/test_file_system.py File chrome/common/extensions/docs/server2/test_file_system.py (right): https://codereview.chromium.org/151883009/diff/50001/chrome/common/extensions/docs/server2/test_file_system.py#newcode44 chrome/common/extensions/docs/server2/test_file_system.py:44: # Support non-canonical paths until the server has ...
6 years, 10 months ago (2014-02-05 00:32:33 UTC) #3
not at google - send to devlin
ok so that path.IsDirectory comment opened up a bit of a can of worms in ...
6 years, 10 months ago (2014-02-05 03:55:53 UTC) #4
not at google - send to devlin
6 years, 10 months ago (2014-02-05 04:02:19 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r248838 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698