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

Issue 2876223004: Convert Vr tests to JUnit4 (Closed)

Created:
3 years, 7 months ago by bsheedy
Modified:
3 years, 7 months ago
CC:
chromium-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert Vr tests to JUnit4 patch from issue 2857583005 (http://crrev.com/2857583005) Convert Vr tests in chrome_public_test_vr_apk to JUnit4. For more detail, please check src/testing/android/docs/junit4.md Also removes the image tests from VrShellTest.java since: 1. They provide no actual test coverage since Render Tests don't actually fail currently AND the way they captured screenshots is pretty much useless for VR (just captures a black screen) 2. The move to JUnit4 seems to have messed with them - each call to renderAndCompare was taking an absurd amount of time (30+ seconds each). BUG=640116 Review-Url: https://codereview.chromium.org/2876223004 Cr-Commit-Position: refs/heads/master@{#471965} Committed: https://chromium.googlesource.com/chromium/src/+/64baf01809ec9265017ce344d306497b2f855d38

Patch Set 1 #

Patch Set 2 : Remove VrShellTest image tests #

Patch Set 3 : rebase #

Patch Set 4 : Rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -474 lines) Patch
M chrome/android/BUILD.gn View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellNavigationTest.java View 5 chunks +84 lines, -49 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java View 1 11 chunks +56 lines, -103 lines 0 comments Download
D chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrTestBase.java View 1 chunk +0 lines, -212 lines 0 comments Download
A + chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrTestRule.java View 12 chunks +35 lines, -35 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/WebVrTest.java View 9 chunks +126 lines, -74 lines 0 comments Download

Messages

Total messages: 30 (24 generated)
bsheedy
+all the people from the original CL by yolandyan@ (https://codereview.chromium.org/2857583005) This is essentially the version ...
3 years, 7 months ago (2017-05-12 23:26:31 UTC) #3
the real yoland
lgtm
3 years, 7 months ago (2017-05-15 16:02:01 UTC) #4
mthiesse
lgtm
3 years, 7 months ago (2017-05-15 16:48:36 UTC) #7
David Trainor- moved to gerrit
lgtm
3 years, 7 months ago (2017-05-15 17:55:54 UTC) #12
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/2876223004/60001
3 years, 7 months ago (2017-05-16 00:56:14 UTC) #27
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 01:12:50 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/64baf01809ec9265017ce344d306...

Powered by Google App Engine
This is Rietveld 408576698