[Android] Fixed ServiceLocator to work with tests

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


vlc-android | branch: master | Shivansh Saini <shivanshs9 at gmail.com> | Thu Aug 15 10:47:38 2019 +0530| [de16c17614fec53d68fefbaf90c43d5e97975493] | committer: Geoffrey Métais

Fixed ServiceLocator to work with tests

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

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

 .../src/org/videolan/medialibrary/MLServiceLocator.java    |  5 +++--
 .../src/org/videolan/vlc/providers/BrowserProvider.kt      |  4 +---
 .../src/org/videolan/vlc/providers/FilePickerProvider.kt   |  1 -
 .../src/org/videolan/vlc/providers/StorageProvider.kt      |  2 --
 vlc-android/src/org/videolan/vlc/viewmodels/BaseModel.kt   | 14 +++++++-------
 .../src/org/videolan/vlc/viewmodels/HistoryModel.kt        |  6 +++---
 .../src/org/videolan/vlc/viewmodels/MedialibraryModel.kt   |  3 ++-
 .../src/org/videolan/vlc/viewmodels/StreamsModel.kt        |  5 +++--
 .../src/org/videolan/vlc/viewmodels/SubtitlesModel.kt      | 14 +++++++++-----
 .../org/videolan/vlc/viewmodels/browser/BrowserModel.kt    |  3 ++-
 .../org/videolan/vlc/viewmodels/browser/NetworkModel.kt    |  3 ++-
 .../test/org/videolan/vlc/viewmodels/HistoryModelTest.kt   |  2 +-
 .../test/org/videolan/vlc/viewmodels/SubtitlesModelTest.kt |  4 +---
 .../vlc/viewmodels/mobile/AlbumSongsViewModelTest.kt       |  2 +-
 .../vlc/viewmodels/mobile/AudioBrowserViewModelTest.kt     |  4 +---
 .../videolan/vlc/viewmodels/mobile/FoldersViewModelTest.kt |  4 ++--
 .../vlc/viewmodels/mobile/PlaylistViewModelTest.kt         |  3 +--
 .../vlc/viewmodels/mobile/PlaylistsViewModelTest.kt        |  5 ++---
 .../videolan/vlc/viewmodels/mobile/VideosViewModelTest.kt  |  2 +-
 19 files changed, 42 insertions(+), 44 deletions(-)

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


More information about the Android mailing list