From 18ca4ead52f3ec558541b01c025f2b366a6c3f5c Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 13 Feb 2024 18:09:42 +0100 Subject: remove junk --- .../lonkaars/bingo3/ExampleInstrumentedTest.java | 26 ---------------------- .../java/com/lonkaars/bingo3/WeatherActivity.java | 3 --- .../java/com/lonkaars/bingo3/ExampleUnitTest.java | 17 -------------- 3 files changed, 46 deletions(-) delete mode 100644 app/src/androidTest/java/com/lonkaars/bingo3/ExampleInstrumentedTest.java delete mode 100644 app/src/test/java/com/lonkaars/bingo3/ExampleUnitTest.java (limited to 'app/src') diff --git a/app/src/androidTest/java/com/lonkaars/bingo3/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/lonkaars/bingo3/ExampleInstrumentedTest.java deleted file mode 100644 index 5368de5..0000000 --- a/app/src/androidTest/java/com/lonkaars/bingo3/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.lonkaars.bingo3; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.lonkaars.bingo3", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java b/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java index 3a5aa6e..bc6d4a3 100644 --- a/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java +++ b/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java @@ -1,7 +1,6 @@ package com.lonkaars.bingo3; import android.os.Bundle; -import android.util.Log; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListView; @@ -11,8 +10,6 @@ import androidx.appcompat.app.AppCompatActivity; import com.android.volley.Request; import com.android.volley.RequestQueue; -import com.android.volley.Response; -import com.android.volley.VolleyError; import com.android.volley.toolbox.JsonObjectRequest; import com.android.volley.toolbox.Volley; import com.google.android.material.appbar.MaterialToolbar; diff --git a/app/src/test/java/com/lonkaars/bingo3/ExampleUnitTest.java b/app/src/test/java/com/lonkaars/bingo3/ExampleUnitTest.java deleted file mode 100644 index 19d3b6d..0000000 --- a/app/src/test/java/com/lonkaars/bingo3/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.lonkaars.bingo3; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file -- cgit v1.2.3