Commit Graph

5 Commits

Author SHA1 Message Date
Martijn Brekhof 1cb77876be Implemented testing actionbar state (#382)
* 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
2017-04-29 16:08:15 +01:00
Martijn Brekhof c1d90eb954 Added unittest for multi-disc albums (#317) 2016-11-30 12:21:21 +00:00
Martijn Brekhof b1ec57f8e6 Updated integration tests for MediaProvider
* Refactored MediaProviderMusicTest splitting it up into separate classes
* Updated integration tests for MediaProvider

* Added tests to check displayartist
* Added tests to check various artists albums
2016-11-18 10:23:07 +00:00
Martijn Brekhof 080b5809f3 Unittest/mediaprovider (#251)
Implemented integration tests for music items
2016-09-23 19:08:22 +01:00
Martijn Brekhof 6f60442e7b Implemented integration tests to test restoring search query
* Added perl tools to generate json files for music and movie data
* Upgraded build tools version, sdk compile version, and support libraries
  as this is required by the test packages.
* Added new product flavor instrumentationTest to make sure assets and settings
  required for testing do not also ship with a release version of Kore
2016-06-16 11:04:25 +02:00