Commit Graph

340 Commits (1f927dc21b2f180e0081a93e32b59f68112b379a)

Author SHA1 Message Date
Bradlee Speice 07b9d04933 Add some slight refactoring
Unfortunately it's too hard to add the tests I wanted to
2014-11-22 00:21:38 -05:00
Bradlee Speice cc3c8ea486 Fix Mockito interfering with Hamcrest 2014-11-21 18:24:24 -05:00
Bradlee Speice ff6d95b793 Use maven central over jCenter 2014-11-21 18:23:52 -05:00
Bradlee Speice c94068721a Add the actual stacktrace 2014-11-21 18:01:35 -05:00
Bradlee Speice bbe2e117a0 Add a stacktrace to testing 2014-11-21 17:42:36 -05:00
Bradlee Speice acbdc10116 Add an initial specification
I guess it's cool, not sure it's doing much for me right now...
2014-11-21 00:12:04 -05:00
Bradlee Speice 8396763c65 Add spek for the future
Not currently integrated, but I'm looking forward to the functionality!
2014-11-20 23:58:26 -05:00
Bradlee Speice ffd4ccd08c Test that the DLProgressEvent is triggered correctly 2014-11-20 23:45:26 -05:00
Bradlee Speice 90db3e6a1a Fix the download progress not updating
Integer roundoff errors...
2014-11-20 23:19:06 -05:00
Bradlee Speice 06ae1c0ed6 Also add in the gradle build for flavors to variants 2014-11-20 23:18:36 -05:00
Bradlee Speice f51a2515b0 Switch off build variants to build types
Should be much easier to maintain
2014-11-20 22:57:46 -05:00
Bradlee Speice e9e6d1dacd Migrate tests from androidTest to app-test! 2014-11-20 00:52:42 -05:00
Bradlee Speice f331f95722 Version lock of coveralls to fix an Android issue 2014-11-17 21:58:23 -05:00
Bradlee Speice f2eb6d8fd0 Upgrade coveralls plugin 2014-11-17 21:46:26 -05:00
Bradlee Speice ea682d664c Add a stack trace to debug coveralls 2014-11-17 21:30:15 -05:00
Bradlee Speice af5875cf86 Add source files to Coveralls 2014-11-17 17:11:41 -05:00
Bradlee Speice a7e477b46b Badge it up! 2014-11-17 16:52:13 -05:00
Bradlee Speice 5526c44736 Add coveralls support 2014-11-17 16:49:28 -05:00
Bradlee Speice 5fbbf4ac13 Exclude the android folder from coverage 2014-11-17 16:49:28 -05:00
Bradlee Speice 9aa83bebe2 Exclude the android folder from coverage 2014-11-17 16:49:28 -05:00
Bradlee Speice 66a91efe8b Slight refactor 2014-11-17 16:49:28 -05:00
Bradlee Speice 3460360017 Switch back to android build to get the tools 2014-11-17 16:49:28 -05:00
Bradlee Speice cb8ea71f62 Code coverage is working!
Been trying so long to get this running, so happy to have it done.
2014-11-17 16:49:28 -05:00
DjBushido 8d6a3b0d84 Slight refactoring of BibleMenu
Needs a test case, but having issues with the emulator on Windows
2014-11-16 00:28:25 -05:00
Bradlee Speice 6c139eacab Make the VerseContent immutable
Not quite certain this is the way to go, but let's try a functional experiment.
2014-11-13 00:04:20 -05:00
Bradlee Speice 1ee1a41004 Switch get() to [] 2014-11-12 23:43:21 -05:00
Bradlee Speice 187a73cf92 Kotlin migration is done!
There will of course be refactoring and whatnot, but I consider this an accomplishment.
2014-11-12 23:41:05 -05:00
Bradlee Speice 0e7680ca9e Rename the ExpListNavDrawerFragment 2014-11-12 22:21:32 -05:00
Bradlee Speice 18c9df404e Books are now deleted correctly
Still need to handle all the network related errors...
2014-11-12 01:01:34 -05:00
Bradlee Speice 8137c4795a Fix issues the OsisParser regenerating VerseContent
BookManager is still currently unable to delete books
2014-11-12 00:34:31 -05:00
Bradlee Speice cce463cde9 Properly remove a book
Not sure why it needs to be implemented this way...
2014-11-12 00:09:24 -05:00
Bradlee Speice b65b5680f9 Remove the InstalledManager
Largely duplicated work, and makes testing easier!
2014-11-11 23:46:51 -05:00
Bradlee Speice 35b515add7 Small documentation update on Injector 2014-11-11 23:26:01 -05:00
Bradlee Speice 7cfe273cb6 Refactor BookDownloadManager to Kotlin
I don't like that I had to make one static method a class method, but I like how much cleaner everything else is!
2014-11-11 22:55:31 -05:00
Bradlee Speice 86adeb4951 Refactor the DLProgressEvent to Kotlin 2014-11-11 21:53:13 -05:00
Bradlee Speice b778748ee0 Rename FinalDelegate to SafeValDelegate 2014-11-11 13:29:55 -05:00
Bradlee Speice 0c74d99a06 Up the Gradle memory limit 2014-11-11 12:53:02 -05:00
Bradlee Speice c394fce273 Use a delegate to make OsisParser cleaner 2014-11-11 10:09:47 -05:00
Bradlee Speice c57babd68a Add some tests to the OsisParser
Testing state machines can be difficult if it's not black box...
2014-11-11 00:33:51 -05:00
Bradlee Speice 6a45d872f8 Refactor the Core of LocaleManager, test it 2014-11-10 23:45:21 -05:00
Bradlee Speice 7bc161214d Update JSword 2014-11-10 00:17:30 -05:00
Bradlee Speice 0f0b60c186 Revert "Building against SDK 21"
This reverts commit fbc7e9a681.
2014-11-09 23:55:30 -05:00
Bradlee Speice bbf2f059ad Revert "Clean up travis build, hopefully fix the build"
This reverts commit e5192cfea4.
2014-11-09 23:55:29 -05:00
Bradlee Speice 907cd8527c Revert "ABI fix for Travis"
This reverts commit 9006a00e75.
2014-11-09 23:55:28 -05:00
Bradlee Speice 4b86f8cb0e Revert "Emulator wait fix for Travis"
This reverts commit 9bee9e60fd.
2014-11-09 23:55:27 -05:00
Bradlee Speice 5ff0070f80 Revert "Switch the ABI again, see if this changes things"
This reverts commit a60e62f731.
2014-11-09 23:55:26 -05:00
Bradlee Speice 99effa9bb9 Revert "Add a 30 second pause to give the emulator a chance to start"
This reverts commit 85427711df.
2014-11-09 23:55:25 -05:00
Bradlee Speice c934a4fbd8 Revert "Increase the build pause a bit more for the AVD startup"
This reverts commit cc271015f7.
2014-11-09 23:55:24 -05:00
Bradlee Speice 6c8f92e742 Revert "Some more build fixes - use Android-Gradle .14"
This reverts commit 51a3dd3eac.
2014-11-09 23:55:23 -05:00
Bradlee Speice 813a835b06 Revert "Forgot armeabi-v7**a**"
This reverts commit 1498b4652d.
2014-11-09 23:55:22 -05:00