[Android] UI test: Preference screens

Shivansh Saini git at videolan.org
Mon Dec 16 17:52:54 CET 2019


vlc-android | branch: master | Shivansh Saini <shivanshs9 at gmail.com> | Tue Aug 13 15:56:42 2019 +0530| [be8ea5a477551c7638447e2500da68ee8f68f131] | committer: Geoffrey Métais

UI test: Preference screens

- Last element in list cannot be scrolled to
- Advanced Preferences can't be tested due to above-mentioned bug

Signed-off-by: Shivansh Saini <shivanshs9 at gmail.com>

> https://code.videolan.org/videolan/vlc-android/commit/be8ea5a477551c7638447e2500da68ee8f68f131
---

 .../org/videolan/vlc/PreferenceMatcher.kt          | 158 +++++++++++++++++
 .../org/videolan/vlc/UtilAdapterMatcher.kt         |  33 ++++
 .../org/videolan/vlc/UtilViewMatchers.kt           |  47 ++++--
 .../vlc/gui/preferences/BasePreferenceUITest.kt    |  61 +++++++
 .../vlc/gui/preferences/PreferencesAudioUiTest.kt  |  93 ++++++++++
 .../gui/preferences/PreferencesCastingUITest.kt    |  67 ++++++++
 .../gui/preferences/PreferencesFragmentUITest.kt   |  97 +++++++++++
 .../gui/preferences/PreferencesSubtitlesUITest.kt  |  86 ++++++++++
 .../vlc/gui/preferences/PreferencesUiUITest.kt     | 187 +++++++++++++++++++++
 .../vlc/gui/preferences/PreferencesVideoUiTest.kt  | 118 +++++++++++++
 vlc-android/build.gradle                           |   1 +
 .../vlc/gui/preferences/PreferencesSubtitles.kt    |   5 +
 12 files changed, 937 insertions(+), 16 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/be8ea5a477551c7638447e2500da68ee8f68f131


More information about the Android mailing list