Commit Graph

12 Commits

Author SHA1 Message Date
STB Land a9a833ddfe
Add support to sharing from Arte's video to Kodi (#736)
* Add support to sharing from Arte video (The European Culture Channel) to Kodi
* Handle Arte's video (The European Culture Channel)
2020-05-25 19:38:50 +01:00
DoomMortal 5299e8e607 Migration Tests to AndroidX
Fix import statements to AndroidX
2020-04-26 19:13:07 +02:00
Martijn Brekhof 6b58ed6495 Fix androidx migration for commandline builds 2020-04-26 19:13:07 +02:00
Martijn Brekhof e5ab122b1d Updated gradle and compile and target SDK version (#640)
Had to upgrade robolectric as well as old version didn't
seem to cooperate with new gradle version.
2019-06-03 10:50:31 +01:00
Tamás Varga 8fb24ee806 unit test IDE execution improvements (#463)
* update README about Run Configuration setting
* update task that needs to depend on assembleFullDebug
** this was needed to run individual local tests
2017-10-01 12:34:45 +01:00
Martijn Brekhof d447789dc6 Updated documentation on running local and instrumentation tests (#460) 2017-09-28 19:54:52 +01:00
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 a1cdedb93f Implemented a TCP server for unit testing (#373)
This allows us to test activities and fragments that require JSON RPC calls.
The ApplicationTest for JSON method and notification calls is mainly added
as example and for testing the MockTcpServer and friends.
2017-03-21 09:21:44 +00:00
Martijn Brekhof eea3a69d3d Updated travis configuration 2016-12-29 18:27:40 +00: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 bbda7df4aa Refactored integration tests to use robolectric (#302)
* Updated travis build to include running local tests for each PR
* Removed unused methods from Utils.java
* Moved all resources required by both local and instrumentation tests
  to testUtils
* Added proguard rules for the test builds to prevent proguard from discarding
  the junit classes
2016-11-08 11:43:10 +00:00