1cb77876be
* Added JSON datafiles for TV shows and music videos * Implemented instrumentations tests for MoviesActivity, MusicActivity, TVShowActivity, and AddonsActivity. * Moved RestoreSearchQueryViewPagerTest to music package as it uses the MusicActivity * Moved RestoreSearchQueryListFragmentTest to movies packages as it uses the MoviesActivity * Added scripts to get JSON data for music videos, addons, and TV shows * Added sequence diagram for BaseMediaActivity to clarify new setup * Refactored BaseMediaActivity to comply with diagram * Refactored SyncMusicVideos and SyncTVShows so we can use the same code for adding test data as we use for adding real data. * Removed unused StringBuffer and synchronize block in MockTcpServer |
||
---|---|---|
.. | ||
java/org/xbmc/kore | ||
README.md |
README.md
Integration tests that need to be executed on an Android device.
Run tests
You can run the tests as follows:
Android Studio
- Select build variant "instrumentationTestDebug"
- Set the (Project view)[https://developer.android.com/studio/projects/index.html] to Android
- Right-click on the directory "androidTest" and select "Run tests"
Commandline
Run the following command from the top of the project:
./gradlew connectedInstrumentationTestDebugAndroidTest
This will run the tests on all connected devices in parallel