OSDN Git Service

テストコード削除w
authorMRSa <mrsa@myad.jp>
Sun, 18 Apr 2021 08:35:15 +0000 (17:35 +0900)
committerMRSa <mrsa@myad.jp>
Sun, 18 Apr 2021 08:35:15 +0000 (17:35 +0900)
app/build.gradle
app/src/androidTest/java/jp/osdn/gokigen/mangle/ExampleInstrumentedTest.kt [deleted file]
app/src/test/java/jp/osdn/gokigen/mangle/ExampleUnitTest.kt [deleted file]
build.gradle
gradle.properties

index 0d961e4..390511c 100644 (file)
@@ -11,8 +11,7 @@ android {
         targetSdkVersion 30
         versionCode 1000000
         versionName "1.0.0"
-
-        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+        //testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
     }
 
     buildTypes {
@@ -37,9 +36,9 @@ dependencies {
     implementation 'androidx.preference:preference-ktx:1.1.1'
     implementation 'com.google.android.material:material:1.3.0'
 
-    testImplementation 'junit:junit:4.13.2'
-    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
-    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+    //testImplementation 'junit:junit:4.13.2'
+    //androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+    //androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
 
     def camerax_version = "1.1.0-alpha03"
     implementation "androidx.camera:camera-camera2:$camerax_version"
diff --git a/app/src/androidTest/java/jp/osdn/gokigen/mangle/ExampleInstrumentedTest.kt b/app/src/androidTest/java/jp/osdn/gokigen/mangle/ExampleInstrumentedTest.kt
deleted file mode 100644 (file)
index 517ab44..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-package jp.osdn.gokigen.mangle
-
-import androidx.test.platform.app.InstrumentationRegistry
-import androidx.test.ext.junit.runners.AndroidJUnit4
-
-import org.junit.Test
-import org.junit.runner.RunWith
-
-import org.junit.Assert.*
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-@RunWith(AndroidJUnt4::class)
-class ExampleInstrumentedTest
-{
-    @Test
-    fun useAppContext()
-    {
-        // Context of the app under test.
-        val appContext = InstrumentationRegistry.getInstrumentation().targetContext
-        assertEquals("jp.osdn.gokigen.mangle", appContext.packageName)
-    }
-}
\ No newline at end of file
diff --git a/app/src/test/java/jp/osdn/gokigen/mangle/ExampleUnitTest.kt b/app/src/test/java/jp/osdn/gokigen/mangle/ExampleUnitTest.kt
deleted file mode 100644 (file)
index 41b428c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package jp.osdn.gokigen.mangle
-
-import org.junit.Test
-
-import org.junit.Assert.*
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-class ExampleUnitTest {
-    @Test
-    fun addition_isCorrect() {
-        assertEquals(4, 2 + 2)
-    }
-}
\ No newline at end of file
index 0d9d5d5..0cbb05a 100644 (file)
@@ -1,6 +1,6 @@
 // Top-level build file where you can add configuration options common to all sub-projects/modules.
 buildscript {
-    ext.kotlin_version = "1.4.31"
+    ext.kotlin_version = "1.4.32"
     repositories {
         google()
         jcenter()
index 4d15d01..576580f 100644 (file)
@@ -6,7 +6,7 @@
 # http://www.gradle.org/docs/current/userguide/build_environment.html
 # Specifies the JVM arguments used for the daemon process.
 # The setting is particularly useful for tweaking memory settings.
-org.gradle.jvmargs=-Xmx2048m
+org.gradle.jvmargs=-Xmx4096m
 # When configured, Gradle will run in incubating parallel mode.
 # This option should only be used with decoupled projects. More details, visit
 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects