Commit 46b49e8a authored by Brian Sheedy's avatar Brian Sheedy Committed by Commit Bot

Update Android VR test documentation

Updates the Android VR test documentation to explicitly list all the
supported values for the --shared-prefs-file argument and add
descriptions of what they do.

TBR=alcooper@chromium.org

Change-Id: I577b3580bf4570c373e7fd13afa014529f43415c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1645974Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
Reviewed-by: default avatarAlexander Cooper <alcooper@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666355}
parent f4c59d1d
......@@ -161,14 +161,21 @@ in order to check for or reproduce flakiness.
`--shared-prefs-file path/to/preference/json/file`
Configures VrCore according to the provided file, e.g. changing the paired
headset. The two most common files used are:
headset. The currently supported files are:
* `//chrome/android/shared_preference_files/test/vr_cardboard_skipdon_setupcomplete.json`
This will pair the device with a Cardboard headset and disable controller
emulation.
will cause all cardboard-compatible tests to run. This will pair the device
with a Cardboard headset and disable controller emulation.
* `//chrome/android/shared_preference_files/test/vr_ddview_skipdon_setupcomplete.json`
This will pair the device with a Daydream View headset, set the DON flow to be
skipped, and enable controller emulation.
will cause most Daydream View-compatible tests to run, with the exception of
those that require the DON flow to be enabled. This will pair the device with
a Daydream View headset, set the DON flow to be skipped, and enable controller
emulation.
* `//chrome/android/shared_preference_files/test/vr_enable_vr_settings_service.json`
combined with the extra `--vr-settings-service-enabled` and
`--annotation=Restriction=VR_Settings_Service` flags will cause all tests that
are using the `RESTRICTION_TYPE_VR_SETTINGS_SERVICE` restriction to run. See
the section below for more detail on this.
The test runner will automatically revert any changed settings back to their
pre-test values after the test suite has completed. If for whatever reason you
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment