Bradlee Speice
a77076c96c
Fix the build...
2015-02-16 09:19:49 -05:00
Bradlee Speice
05d2d006e4
Boundary refactor, and add some tests
2014-11-22 17:07:58 -05:00
Bradlee Speice
e9e6d1dacd
Migrate tests from androidTest to app-test!
2014-11-20 00:52:42 -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
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
b65b5680f9
Remove the InstalledManager
...
Largely duplicated work, and makes testing easier!
2014-11-11 23:46:51 -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
b778748ee0
Rename FinalDelegate to SafeValDelegate
2014-11-11 13:29:55 -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
cc15e9219d
Some slight refactoring, test filtering books
2014-11-08 00:22:13 -05:00
Bradlee Speice
88a40cbfbb
Add a language spinner
...
It doesn't do much yet...
2014-11-06 23:13:45 -05:00
Bradlee Speice
72f375ff9f
Revert "Remove the build flavors"
...
This reverts commit c38dad605a
.
2014-11-06 19:57:13 -05:00
Bradlee Speice
c38dad605a
Remove the build flavors
...
This is actually a pretty big accomplishment, should be a blog post shortly.
2014-10-30 00:42:23 -04:00
Bradlee Speice
8104ffa862
Test case refactoring, test doUpdate
...
Boundary Values are awesome - https://www.destroyallsoftware.com/talks/boundaries
2014-10-22 23:32:18 -04:00
Bradlee Speice
f4e8ffaebc
Some more cleanup and additions
...
Android is seriously not test-friendly
2014-10-22 23:16:52 -04:00
Bradlee Speice
22fd32b26d
RefreshManager going functional!
2014-10-22 22:21:42 -04:00
Bradlee Speice
67b11b3ab0
Make sure the unit tests pass correctly
2014-09-12 22:36:53 -04:00
Bradlee Speice
80238f3cf2
Handle no books installed on start properly.
2014-09-03 22:49:18 -04:00
Bradlee Speice
5ebd66b6c7
Remove the "testing" mode
2014-09-03 21:44:17 -04:00
Bradlee Speice
0451d9443f
Remove a useless test
...
Because I can't remove a book without restarting the application (no idea why this is) it's impossible to test this.
2014-09-01 16:17:43 -04:00
Bradlee Speice
9a2ede432e
One more RM test case
2014-07-20 21:21:24 -04:00
Bradlee Speice
8b40fbcd96
First mockito test!
2014-07-20 21:12:00 -04:00
Bradlee Speice
d685beaae6
Can't fix tests, fix application instead
...
See documentation for more information on why I can't fix the tests to actually guarantee anything.
2014-07-19 23:27:49 -04:00
Bradlee Speice
f2a4ceceff
Tests still fail, but look prettier!
2014-07-19 01:44:22 -04:00
Bradlee Speice
b7198b984c
Global import optimize
2014-07-19 00:32:26 -04:00
Bradlee Speice
46e1285b61
Clean and make more strict the InstalledManager tests
...
Unfortunately, they're currently always going to succeed. I'm having issues with the API not giving me a fresh list of what is installed.
2014-07-19 00:29:27 -04:00
Bradlee Speice
d6d52cea04
Add a test for removing a book
2014-07-18 18:39:03 -04:00
Bradlee Speice
08a1aaa684
First InstalledManager test case
2014-07-17 18:12:56 -04:00
Bradlee Speice
ca22be41cc
Add a test for the download job ID
2014-07-17 17:42:31 -04:00
Bradlee Speice
365cf0dccb
Add the first full-scale test case
...
Also demonstrates some advanced Dagger usage
2014-07-10 22:37:37 -04:00
Bradlee Speice
e7cf3be6bc
Remove a PoC test case, and make sure all tests are successful.
2014-07-09 21:20:52 -04:00
Bradlee Speice
099c7ec02a
Relocate a test case
2014-07-09 21:14:57 -04:00
Bradlee Speice
cf7bc7c139
Add code to do Fragment instrumentation tests
2014-07-09 21:14:23 -04:00
Bradlee Speice
5c71e8f014
PoC using reflection
...
Test will need to be something more meaningful later.
2014-07-06 23:05:28 -04:00
DjBushido
60185c934a
Test cases pass now with the navbar
2014-07-05 15:59:34 -04:00
DjBushido
8b5e6ede51
Testing now working
...
Still requires shenanigans in its own right, but this is a much better platform.
Plus, I don't need to mess with the application context, all I do is change the injections.
2014-07-05 10:35:55 -04:00
DjBushido
ba38867104
Add the initial project.
2014-07-04 22:09:25 -04:00