diff options
author | Allan Wang <me@allanwang.ca> | 2018-04-09 01:17:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-09 01:17:21 -0400 |
commit | 4c0ba22041ac01a5f0e1cc88a6c292034d697955 (patch) | |
tree | 0cba14ad715988b64cbcdc60c85f81671af679fd /app/src/test/kotlin | |
parent | a70ce6a2e2d25aa001a085169f25ba39532b3f11 (diff) | |
download | frost-4c0ba22041ac01a5f0e1cc88a6c292034d697955.tar.gz frost-4c0ba22041ac01a5f0e1cc88a6c292034d697955.tar.bz2 frost-4c0ba22041ac01a5f0e1cc88a6c292034d697955.zip |
Feature/download manager (#855)
* Add initial github release check
* Create update service
* Clean old manager directory
* Update kau
* Update updateActivity snippet
* Add back gradle keys
* Remove update service functionality
Diffstat (limited to 'app/src/test/kotlin')
-rw-r--r-- | app/src/test/kotlin/com/pitchedapps/frost/services/UpdateServiceTest.kt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/src/test/kotlin/com/pitchedapps/frost/services/UpdateServiceTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/services/UpdateServiceTest.kt new file mode 100644 index 00000000..69ff7941 --- /dev/null +++ b/app/src/test/kotlin/com/pitchedapps/frost/services/UpdateServiceTest.kt @@ -0,0 +1,18 @@ +package com.pitchedapps.frost.services + +import org.junit.Test +import kotlin.test.assertNotNull + +/** + * Created by Allan Wang on 07/04/18. + */ +class UpdateServiceTest { + + @Test + fun getRelease() { + val release = UpdateManager.getLatestGithubRelease() + assertNotNull(release) + assertNotNull(release!!.apk, "Apk not uploaded for $release") + } + +}
\ No newline at end of file |