From 4c0ba22041ac01a5f0e1cc88a6c292034d697955 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 9 Apr 2018 01:17:21 -0400 Subject: 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 --- .../pitchedapps/frost/services/UpdateServiceTest.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/src/test/kotlin/com/pitchedapps/frost/services/UpdateServiceTest.kt (limited to 'app/src/test/kotlin') 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 -- cgit v1.2.3