Commit Graph

11 Commits

Author SHA1 Message Date
Synced Synapse c81e553589 Fix Jenkins build to upload the correctly signed apk 2019-05-14 20:02:18 +02:00
Synced Synapse e6470a1f6d
Fix signing release apk (#548) 2018-05-28 10:16:14 +01:00
Martijn Brekhof f631efeca9 Fixed issue with running many instrumentation tests (#536)
During tests, activities were not closed properly causing increasing
memory usage, which resulted in failing tests because of
out of memory errors.
This has been fixed by using the test orchestrator which runs
each test in its own instrumentation instance.

Removed the instrumentationTest flavor and replaced it by using the
default debug build type. The flavor was used to keep the required
permissions during testing separate from release versions. This can
also be accomplished using the debug build type.

The PagerSlidingTabStrip from astuetz doesn't work with the new
android build tools. As the project seems dead, I replaced it with
PagerTabStrip from the support library.
2018-05-03 11:04:04 +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
Memphiz c9ca6a08de [jenkins/signing] - switch from jarsigner to apksigner (#326) 2016-12-23 08:52:42 +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 080b5809f3 Unittest/mediaprovider (#251)
Implemented integration tests for music items
2016-09-23 19:08:22 +01:00
Memphiz 2a4c85541d [jenkins] - fix sigining of apk 2016-06-18 14:33:13 +02: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
Memphiz 104dcd043e [jenkins] - add jenkins buildsteps and tools 2015-03-08 18:28:59 +01:00