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

Issue 48623002: [Files.app] Add an unittest of NavigationListModel (Closed)

Created:
7 years, 1 month ago by yoshiki
Modified:
7 years, 1 month ago
Reviewers:
mtomasz, hashimoto
CC:
chromium-reviews, rginda+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

[Files.app] Add an unittest of NavigationListModel This patch adds an unittest framework for JavaScript components. In addition, this also adds an unit test of NavigationListModel using the framework. BUG=309946 TEST=browser_test passes R=hashimoto@chromium.org, mtomasz@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232892

Patch Set 1 #

Patch Set 2 : . #

Total comments: 38

Patch Set 3 : addressed comments #

Total comments: 4

Patch Set 4 : rename the test name #

Patch Set 5 : addressed comments #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -0 lines) Patch
A chrome/browser/chromeos/file_manager/file_manager_jstest.cc View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/file_manager/unit_tests/mocks/mock_file_entry.js View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/test/data/file_manager/unit_tests/mocks/mock_folder_shortcut_data_model.js View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/test/data/file_manager/unit_tests/mocks/mock_volume_manager.js View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A chrome/test/data/file_manager/unit_tests/navigation_list_model_unittest.html View 1 1 chunk +29 lines, -0 lines 0 comments Download
A chrome/test/data/file_manager/unit_tests/navigation_list_model_unittest.js View 1 1 chunk +98 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
yoshiki
@mtomasz: PTAL at JS code. Thanks.
7 years, 1 month ago (2013-10-28 17:25:01 UTC) #1
mtomasz
https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc File chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc (right): https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc#newcode26 chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc:26: ASSERT_TRUE(rvh); This may not return, since in a subroutine. ...
7 years, 1 month ago (2013-10-29 07:28:17 UTC) #2
yoshiki
@mtomasz: PTAL. Thanks. https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc File chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc (right): https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc#newcode26 chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc:26: ASSERT_TRUE(rvh); On 2013/10/29 07:28:17, mtomasz wrote: ...
7 years, 1 month ago (2013-10-31 09:07:23 UTC) #3
mtomasz
lgtm for js. https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc File chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc (right): https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc#newcode26 chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc:26: ASSERT_TRUE(rvh); On 2013/10/31 09:07:23, yoshiki wrote: ...
7 years, 1 month ago (2013-10-31 09:13:12 UTC) #4
yoshiki
@hashimoto: Could you take a look at the c++ code? Thanks. https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc File chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc (right): ...
7 years, 1 month ago (2013-10-31 11:05:28 UTC) #5
hashimoto
Sorry for being late to respond. LGTM https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc File chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc (right): https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc#newcode26 chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc:26: ASSERT_TRUE(rvh); On ...
7 years, 1 month ago (2013-11-01 08:15:47 UTC) #6
yoshiki
As chatted with satorux@, '_jstest.cc' is the better name. We'll use it. https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc File chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc ...
7 years, 1 month ago (2013-11-04 18:17:19 UTC) #7
yoshiki
As chatted with satorux@, '_jstest.cc' is the better name. We'll use it. https://codereview.chromium.org/48623002/diff/30001/chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc File chrome/browser/chromeos/file_manager/file_manager_unittests_browsertests.cc ...
7 years, 1 month ago (2013-11-04 18:17:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/48623002/400001
7 years, 1 month ago (2013-11-04 18:20:46 UTC) #9
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/file_manager/foreground/js/file_manager.js: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-04 18:20:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/48623002/470001
7 years, 1 month ago (2013-11-05 00:44:20 UTC) #11
yoshiki
7 years, 1 month ago (2013-11-05 03:27:01 UTC) #12
Message was sent while issue was closed.
Committed patchset #6 manually as r232892 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698