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

Issue 183020: more bookmark tests, plus fix a couple of API bugs (Closed)

Created:
11 years, 3 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
Reviewers:
rafaelw
CC:
chromium-reviews_googlegroups.com, USE_CHROMIUM_ACCT_INSTEAD
Visibility:
Public.

Description

more bookmark tests, plus fix a couple of API bugs BUG=19099, 17288 TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.Bookmarks Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25036

Patch Set 1 #

Total comments: 6

Patch Set 2 : cleanup from review comments (plus merge fallout) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -32 lines) Patch
M chrome/browser/extensions/extension_bookmarks_module.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_bookmarks_module.cc View 3 chunks +21 lines, -11 lines 0 comments Download
M chrome/browser/extensions/extension_bookmarks_module_constants.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_bookmarks_module_constants.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/common_resources.grd View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 1 chunk +8 lines, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/bookmarks/test.js View 1 4 chunks +125 lines, -14 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Erik does not do reviews
There's more to do here, but since the branch is being cut tomorrow, and this ...
11 years, 3 months ago (2009-08-31 23:26:53 UTC) #1
rafaelw
lgtm? http://codereview.chromium.org/183020/diff/1/9 File chrome/test/data/extensions/api_test/bookmarks/test.js (right): http://codereview.chromium.org/183020/diff/1/9#newcode14 Line 14: var node1 = {parentId:"1", title:"Foo bar baz", ...
11 years, 3 months ago (2009-09-01 02:33:12 UTC) #2
rafaelw
sorry. that's "lgtm.", not "lgtm?"
11 years, 3 months ago (2009-09-01 02:34:12 UTC) #3
Erik does not do reviews
11 years, 3 months ago (2009-09-01 15:33:12 UTC) #4
http://codereview.chromium.org/183020/diff/1/9
File chrome/test/data/extensions/api_test/bookmarks/test.js (right):

http://codereview.chromium.org/183020/diff/1/9#newcode14
Line 14: var node1 = {parentId:"1", title:"Foo bar baz",
url:"http://www.example.com/hello"};
On 2009/09/01 02:33:12, rafaelw wrote:
> 80 cols. multiple places in this file

fixed

http://codereview.chromium.org/183020/diff/1/9#newcode141
Line 141: var other = expected[0].children[1];
On 2009/09/01 02:33:12, rafaelw wrote:
> this is a little hard to follow. can you maybe add a comment which summarizes
> the expected pre & post state of the nodes?

ok

http://codereview.chromium.org/183020/diff/1/9#newcode145
Line 145: //chrome.test.assertTrue(results.parentId == other.id);
On 2009/09/01 02:33:12, rafaelw wrote:
> did you intentionally leave these result tests commented out?

Yeah, this wasn't working because move wasn't returning the node in the
callback.  I had fixed that in the C++ code, but hadn't updated the test to
match.  Fixed.

Powered by Google App Engine
This is Rietveld 408576698