Browse Source

remove unnecessary files

Ethosa 3 years ago
parent
commit
7692596f95

+ 0 - 32
app/src/androidTest/java/com/ethosa/ktc/CollegeAPITest.kt

@@ -1,32 +0,0 @@
-package com.ethosa.ktc
-
-import androidx.test.ext.junit.runners.AndroidJUnit4
-import com.ethosa.ktc.college.CollegeApi
-import com.ethosa.ktc.college.CollegeCallback
-import okhttp3.Call
-import okhttp3.Response
-
-import org.junit.Test
-import org.junit.runner.RunWith
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-@RunWith(AndroidJUnit4::class)
-class CollegeAPITest {
-    private val college: CollegeApi = CollegeApi()
-
-    /**
-     * Testing last news from ktc.
-     */
-    @Test
-    fun lastNews() {
-        college.fetchLastNews(object : CollegeCallback {
-            override fun onResponse(call: Call, response: Response) {
-                println(response.body?.string())
-            }
-        })
-    }
-}

+ 0 - 9
app/src/test/java/com/ethosa/ktc/UnitTest.kt

@@ -1,9 +0,0 @@
-package com.ethosa.ktc
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-class UnitTest {
-}