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

Issue 227633002: Fixed quality tests after PyAuto test purge. (Closed)

Created:
6 years, 8 months ago by phoglund_chromium
Modified:
6 years, 8 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org
Visibility:
Public.

Description

Fixed quality tests after PyAuto test purge. All test resources and reference files have been moved to be handled by the webrtc.DEPS solution. The audio test used to find its files in the pyauto_private folder, which has been removed. Instead I've uploaded the files to the webrtc-resources bundle and put .sha1 files in the webrtc test data folder, which are processed by the webrtc.DEPS solution. The downloading of the files is only triggered if you have the WebRTC solution, so this should not burden people who do not want to run the tests. The reason for moving the files is that the tests are more healthy if they don't have to look for resources outside the chrome/test/data folder. I'm able to straighten out some hacks as a result. Also fixing an issue where https://codereview.chromium.org/222873002 removed the web socket handler for the video quality test. Depends on https://codereview.chromium.org/225263018. BUG=360033, 359579 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262398

Patch Set 1 #

Patch Set 2 : Enabling tests #

Patch Set 3 : Audio test will now use the common primitives to deal with ref files. #

Patch Set 4 : Corrected ref file path. #

Total comments: 9

Patch Set 5 : .gitignore'ing resource files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -68 lines) Patch
M .gitignore View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc View 1 2 3 8 chunks +15 lines, -32 lines 0 comments Download
M chrome/browser/media/chrome_webrtc_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc View 1 2 3 4 5 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_common.h View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_common.cc View 1 2 3 chunks +13 lines, -22 lines 0 comments Download
A chrome/test/data/webrtc/resources/README View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/force_mic_volume_max.exe.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/human-voice-linux.wav.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/human-voice-original.wav.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/human-voice-win.wav.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/pesq.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/pesq.exe.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/reference_video_1280x720_30fps.y4m.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/reference_video_1280x720_30fps.yuv.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/reference_video_640x360_30fps.y4m.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/reference_video_640x360_30fps.yuv.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/resources/sox.exe.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webrtc/video_extraction.js View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webrtc/wsh/webrtc_write_wsh.py View 1 chunk +76 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
phoglund_chromium
tommi: owner stamp kjellander: main review
6 years, 8 months ago (2014-04-07 12:12:55 UTC) #1
phoglund_chromium
On 2014/04/07 12:12:55, phoglund wrote: > tommi: owner stamp > kjellander: main review Sorry hit ...
6 years, 8 months ago (2014-04-07 12:17:33 UTC) #2
phoglund_chromium
ok, go for it!
6 years, 8 months ago (2014-04-07 12:31:13 UTC) #3
phoglund_chromium
On 2014/04/07 12:31:13, phoglund wrote: > ok, go for it! The patch is ok now, ...
6 years, 8 months ago (2014-04-07 14:51:53 UTC) #4
kjellander_chromium
lgtm with a few comments. Have you been able to test this on all platforms? ...
6 years, 8 months ago (2014-04-07 14:59:57 UTC) #5
phoglund_chromium
https://codereview.chromium.org/227633002/diff/10018/chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc File chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc (right): https://codereview.chromium.org/227633002/diff/10018/chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc#newcode82 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc:82: // the video from the reference files located int ...
6 years, 8 months ago (2014-04-08 09:29:00 UTC) #6
tommi (sloooow) - chröme
rslgtm
6 years, 8 months ago (2014-04-08 10:18:44 UTC) #7
phoglund_chromium
The CQ bit was checked by phoglund@chromium.org
6 years, 8 months ago (2014-04-08 12:02:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/phoglund@chromium.org/227633002/70001
6 years, 8 months ago (2014-04-08 12:02:10 UTC) #9
phoglund_chromium
The CQ bit was unchecked by phoglund@chromium.org
6 years, 8 months ago (2014-04-08 12:02:14 UTC) #10
phoglund_chromium
The CQ bit was checked by phoglund@chromium.org
6 years, 8 months ago (2014-04-08 13:41:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/phoglund@chromium.org/227633002/70001
6 years, 8 months ago (2014-04-08 13:41:43 UTC) #12
commit-bot: I haz the power
6 years, 8 months ago (2014-04-08 14:20:42 UTC) #13
Message was sent while issue was closed.
Change committed as 262398

Powered by Google App Engine
This is Rietveld 408576698