The tests and test framework in chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell could use some refactoring, as there currently isn't much consistency about where utility functions and tests are placed.
The basic steps of the refactor are:
1. Split up tests/utils/mocks into different directories.
2. Group utility functions by type in separate files instead of having them all over the place
3. Get rid of generic WebVrTest and VrShellTest files, breaking them up into smaller, more specific files like the current VrShellNavigationTest and VrFeedbackInfoBarTest.
More detailed plans can be found at https://docs.google.com/document/d/1xhpQx2IHUAt50gI6IHPov-sZs22JFHhKejiyDpRmahM/edit
Comment 1 by bugdroid1@chromium.org
, Jun 7 2017