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

Issue 2455683002: Add VR Shell image diff instrumentation tests (Closed)

Created:
4 years, 1 month ago by bsheedy
Modified:
4 years ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add VR Shell image diff instrumentation tests Adds basic image diffing capabilities to the VR Shell instrumentation tests and adds image diffing versions of the enter/exit VR mode tests. Will require adding new reference images as more devices with different resolutions are tested (currently only has 2560 x 1440). BUG= Committed: https://crrev.com/6314233276ce67d868511195ad213ed1bd0c74ef Cr-Commit-Position: refs/heads/master@{#435038}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Switch to use render tests, remove sleeps #

Patch Set 3 : Removed comment about using custom image diff method #

Patch Set 4 : Added Nexus 5 golden image #

Messages

Total messages: 26 (6 generated)
bsheedy
phajdan.jr@: PTAL at the //chrome/test changes bauerb@: PTAL at the //chrome/android changes Also, if either ...
4 years, 1 month ago (2016-10-26 17:28:58 UTC) #2
Paweł Hajdan Jr.
https://codereview.chromium.org/2455683002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java (right): https://codereview.chromium.org/2455683002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java#newcode134 chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java:134: SystemClock.sleep(5000); This is a known flakiness pattern. Is there ...
4 years, 1 month ago (2016-10-27 08:11:53 UTC) #3
Bernhard Bauer
+Peter, who has been working on a framework for image-based rendering tests (see go/render-tests). You ...
4 years, 1 month ago (2016-10-27 12:44:34 UTC) #5
bsheedy
On 2016/10/27 12:44:34, Bernhard Bauer wrote: > +Peter, who has been working on a framework ...
4 years, 1 month ago (2016-10-27 16:42:05 UTC) #6
bsheedy
On 2016/10/27 16:42:05, bsheedy wrote: > On 2016/10/27 12:44:34, Bernhard Bauer wrote: > > +Peter, ...
4 years, 1 month ago (2016-10-27 18:54:55 UTC) #7
PEConn
On 2016/10/27 18:54:55, bsheedy wrote: > On 2016/10/27 16:42:05, bsheedy wrote: > > On 2016/10/27 ...
4 years, 1 month ago (2016-10-28 14:47:34 UTC) #8
bsheedy
On 2016/10/28 14:47:34, PEConn wrote: > On 2016/10/27 18:54:55, bsheedy wrote: > > On 2016/10/27 ...
4 years, 1 month ago (2016-10-28 16:12:19 UTC) #9
bsheedy
https://codereview.chromium.org/2455683002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java (right): https://codereview.chromium.org/2455683002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java#newcode134 chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java:134: SystemClock.sleep(5000); On 2016/10/27 08:11:53, Paweł Hajdan Jr. wrote: > ...
4 years, 1 month ago (2016-10-28 18:07:20 UTC) #10
bsheedy
Also, it looks like the issues with getInstrumentation().waitForIdleSync() causing the test runner to fail have ...
4 years, 1 month ago (2016-10-28 18:09:33 UTC) #11
bsheedy
Also, it looks like the issues with getInstrumentation().waitForIdleSync() causing the test runner to fail have ...
4 years, 1 month ago (2016-10-28 18:09:33 UTC) #12
bsheedy
Quick update: Rebased today, and Bitmap.sameAs appears to be working properly now (tests are passing), ...
4 years, 1 month ago (2016-11-07 18:33:16 UTC) #13
PEConn
+John Budorick What devices are Daydream ready? I'm assuming the aim for these tests would ...
4 years, 1 month ago (2016-11-08 13:57:32 UTC) #15
bsheedy
On 2016/11/08 13:57:32, PEConn wrote: > +John Budorick > > What devices are Daydream ready? ...
4 years, 1 month ago (2016-11-08 17:16:08 UTC) #16
bsheedy
Anything else that needs to be done to get this landed?
4 years, 1 month ago (2016-11-21 17:50:05 UTC) #17
bsheedy
I've added a Nexus 5 reference image, and the test passes (test image and golden ...
4 years ago (2016-11-28 22:36:06 UTC) #18
Bernhard Bauer
lgtm
4 years ago (2016-11-29 13:01:06 UTC) #19
PEConn
LGTM!
4 years ago (2016-11-29 13:02:40 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2455683002/60001
4 years ago (2016-11-29 17:37:57 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-29 18:33:29 UTC) #24
commit-bot: I haz the power
4 years ago (2016-11-29 18:35:53 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6314233276ce67d868511195ad213ed1bd0c74ef
Cr-Commit-Position: refs/heads/master@{#435038}

Powered by Google App Engine
This is Rietveld 408576698