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

Issue 292313004: Port aria_util_test.js to run as a WebUI test. (Closed)

Created:
6 years, 7 months ago by dmazzoni
Modified:
6 years, 6 months ago
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, yuzo+watch_chromium.org, arv+watch_chromium.org, dtseng+watch_chromium.org, dmazzoni+watch_chromium.org
Visibility:
Public.

Description

Port aria_util_test.js to run as a WebUI test. This takes one existing ChromeVox unit test and ports it to run as a WebUI test in Chrome. It's a WebUI test because it needs a full DOM to run in, even though it's otherwise most similar to a unit test. Only one change to the WebUI test system was needed - to allow paths relative to the source root for library files for a test. The other changes improve the error messages when building, and add filenames to stack traces. BUG=371692 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273577

Patch Set 1 #

Patch Set 2 : Move aria_util_test.js to the right directory. #

Patch Set 3 : Add source filename hack #

Total comments: 16

Patch Set 4 : Add base class, address feedback #

Patch Set 5 : Clarify WebUIBrowserTest change #

Total comments: 1

Patch Set 6 : Fix nit #

Patch Set 7 : Fix win build #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -45 lines) Patch
A chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js View 1 2 3 1 chunk +144 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/chromevox/testing/chromevox_unittest_base.js View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/test/base/web_ui_browsertest.h View 1 2 3 4 5 3 chunks +8 lines, -11 lines 0 comments Download
M chrome/test/base/web_ui_browsertest.cc View 1 2 3 4 5 6 8 chunks +50 lines, -31 lines 0 comments Download
M tools/gypv8sh.py View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
dmazzoni
Ready for an initial look.
6 years, 7 months ago (2014-05-22 06:42:05 UTC) #1
Peter Lundblad
lgtm Very cool to see the first test cross the border! A bunch of suggestions ...
6 years, 7 months ago (2014-05-22 15:24:25 UTC) #2
dmazzoni
+phajdan.jr for chrome/test/base +sky for chrome/renderer https://codereview.chromium.org/292313004/diff/40001/chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js File chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js (right): https://codereview.chromium.org/292313004/diff/40001/chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js#newcode15 chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js:15: /** On 2014/05/22 ...
6 years, 7 months ago (2014-05-22 16:27:32 UTC) #3
sky
LGTM
6 years, 7 months ago (2014-05-22 19:27:50 UTC) #4
Paweł Hajdan Jr.
LGTM with a nit https://codereview.chromium.org/292313004/diff/80001/chrome/test/base/web_ui_browsertest.h File chrome/test/base/web_ui_browsertest.h (right): https://codereview.chromium.org/292313004/diff/80001/chrome/test/base/web_ui_browsertest.h#newcode143 chrome/test/base/web_ui_browsertest.h:143: // User added libraries. nit: ...
6 years, 7 months ago (2014-05-23 10:50:10 UTC) #5
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 7 months ago (2014-05-23 15:38:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/292313004/120001
6 years, 7 months ago (2014-05-23 15:39:14 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 21:35:11 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-24 01:11:22 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/32266)
6 years, 7 months ago (2014-05-24 01:11:23 UTC) #10
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 6 months ago (2014-05-28 21:26:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/292313004/140001
6 years, 6 months ago (2014-05-28 21:27:28 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 01:19:43 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 03:10:37 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/157860)
6 years, 6 months ago (2014-05-29 03:10:37 UTC) #15
Peter Lundblad
The CQ bit was checked by plundblad@chromium.org
6 years, 6 months ago (2014-05-29 04:13:46 UTC) #16
dmazzoni
The CQ bit was unchecked by dmazzoni@chromium.org
6 years, 6 months ago (2014-05-29 04:14:29 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/292313004/140001
6 years, 6 months ago (2014-05-29 04:14:34 UTC) #18
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 6 months ago (2014-05-29 04:14:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/292313004/140001
6 years, 6 months ago (2014-05-29 04:16:05 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-05-29 20:31:47 UTC) #21
Message was sent while issue was closed.
Change committed as 273577

Powered by Google App Engine
This is Rietveld 408576698