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

Issue 1302763002: Add tests for braille commands. (Closed)

Created:
5 years, 4 months ago by Peter Lundblad
Modified:
5 years, 3 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, dmazzoni+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@js2gtesterr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tests for braille routing commands, fix chromevox and reenable background tests. This adds a new mockFeedback class that can handle both speech and braille output. This class superseeds MockTts. Existing cvox2 background tests that had bit-rotted because they were disabled were fixed and reenabled. Braille output was added where it makes sense. A new end-to-end test for braille routing was added. BUG=451362, 491242 Committed: https://crrev.com/9818bff801f0ff43c143361d2f0032392d124405 Cr-Commit-Position: refs/heads/master@{#346229}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Add braille routing test. #

Patch Set 4 : #

Patch Set 5 : Add some braille expectations and document the mock class. #

Patch Set 6 : Rebase #

Total comments: 17

Patch Set 7 : Nits from Dominic, support tts start callbacks. #

Total comments: 1

Patch Set 8 : Document gn template args, rename extra_gen_files to gen_include_files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+752 lines, -308 lines) Patch
M chrome/browser/resources/chromeos/chromevox/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox.gni View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox_tests.gypi View 1 2 3 4 5 6 7 5 chunks +16 lines, -6 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs View 1 2 3 4 6 chunks +193 lines, -95 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/host/chrome/braille.js View 1 2 6 chunks +13 lines, -17 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js View 1 4 chunks +2 lines, -11 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/host/chrome/braille_integration_test.unitjs View 1 2 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/resources/chromeos/chromevox/host/interface/abstract_braille.js View 1 1 chunk +0 lines, -30 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/host/interface/braille_interface.js View 1 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/host/interface/host_factory.js View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/testing/assert_additions.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/resources/chromeos/chromevox/testing/mock_feedback.js View 1 2 3 4 5 6 1 chunk +332 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/chromevox/testing/mock_feedback_test.unitjs View 1 2 3 4 5 6 1 chunk +172 lines, -0 lines 0 comments Download
D chrome/browser/resources/chromeos/chromevox/testing/mock_tts.js View 1 1 chunk +0 lines, -131 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/testing/tester.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/base/js2gtest.gni View 1 2 3 4 5 6 7 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
Peter Lundblad
Hi, IN addition to the new mock, this fixes and reenables a few tests that ...
5 years, 4 months ago (2015-08-21 12:30:28 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1302763002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1302763002/100001
5 years, 4 months ago (2015-08-21 12:32:50 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-21 13:10:00 UTC) #6
dmazzoni
Love it! https://codereview.chromium.org/1302763002/diff/100001/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs File chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs (right): https://codereview.chromium.org/1302763002/diff/100001/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs#newcode130 chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs:130: .expectSpeech('of test') Do you think an expectSpeechAndBraille ...
5 years, 4 months ago (2015-08-24 19:05:07 UTC) #7
Peter Lundblad
PTAL dmazzoni@chromium.org writes: > Love it! > > > https://codereview.chromium.org/1302763002/diff/100001/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs > File > chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs > ...
5 years, 4 months ago (2015-08-24 23:05:42 UTC) #8
dmazzoni
lgtm
5 years, 3 months ago (2015-08-25 20:42:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1302763002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1302763002/120001
5 years, 3 months ago (2015-08-25 20:43:34 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/92616)
5 years, 3 months ago (2015-08-25 20:54:37 UTC) #13
Peter Lundblad
+Brett for js2gtest.gni
5 years, 3 months ago (2015-08-25 21:16:33 UTC) #15
brettw
https://codereview.chromium.org/1302763002/diff/120001/chrome/test/base/js2gtest.gni File chrome/test/base/js2gtest.gni (right): https://codereview.chromium.org/1302763002/diff/120001/chrome/test/base/js2gtest.gni#newcode39 chrome/test/base/js2gtest.gni:39: inputs += invoker.extra_gen_files What does this name mean? I ...
5 years, 3 months ago (2015-08-26 22:31:06 UTC) #16
Peter Lundblad
@brettw: PTAL brettw@chromium.org writes: > > https://codereview.chromium.org/1302763002/diff/120001/chrome/test/base/js2gtest.gni > File chrome/test/base/js2gtest.gni (right): > > https://codereview.chromium.org/1302763002/diff/120001/chrome/test/base/js2gtest.gni#newcode39 > ...
5 years, 3 months ago (2015-08-27 20:49:07 UTC) #17
brettw
gn build lgtm
5 years, 3 months ago (2015-08-28 19:22:42 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1302763002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1302763002/140001
5 years, 3 months ago (2015-08-28 20:41:36 UTC) #21
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 3 months ago (2015-08-28 20:47:53 UTC) #22
commit-bot: I haz the power
5 years, 3 months ago (2015-08-28 20:48:35 UTC) #23
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/9818bff801f0ff43c143361d2f0032392d124405
Cr-Commit-Position: refs/heads/master@{#346229}

Powered by Google App Engine
This is Rietveld 408576698