diff --git a/corellium/log/build.gradle.kts b/corellium/log/build.gradle.kts new file mode 100644 index 0000000000..93570d09cd --- /dev/null +++ b/corellium/log/build.gradle.kts @@ -0,0 +1,18 @@ +import org.jetbrains.kotlin.gradle.tasks.KotlinCompile + +plugins { + kotlin(Plugins.Kotlin.PLUGIN_JVM) + kotlin(Plugins.Kotlin.PLUGIN_SERIALIZATION) version Versions.KOTLIN +} + +repositories { + mavenCentral() + maven(url = "https://kotlin.bintray.com/kotlinx") +} + +tasks.withType { kotlinOptions.jvmTarget = "1.8" } + +dependencies { + implementation(Dependencies.KOTLIN_COROUTINES_CORE) + testImplementation(Dependencies.JUNIT) +} diff --git a/corellium/log/src/main/kotlin/flank/corellium/log/Internal.kt b/corellium/log/src/main/kotlin/flank/corellium/log/Internal.kt new file mode 100644 index 0000000000..c45fae7de8 --- /dev/null +++ b/corellium/log/src/main/kotlin/flank/corellium/log/Internal.kt @@ -0,0 +1,144 @@ +package flank.corellium.log + +import kotlinx.coroutines.flow.Flow +import kotlinx.coroutines.flow.map +import kotlinx.coroutines.flow.transform + +// Stage 1 ============================================ +/** + * Group instrumentation output logs + * @receiver Flow of lines + * @return Flow of groups where the last line always contains status code + */ +internal fun Flow.groupLines(): Flow> { + val accumulator = mutableListOf() + return transform { line -> + val (prefix, text) = line.parsePrefix() + accumulator += Line(prefix, text) + when (prefix) { + Type.StatusCode.text, + Type.Code.text -> { + emit(accumulator.toList()) + accumulator.clear() + } + } + } +} + +/** + * Parsed line of instrumentation output. For example: + * ``` + * INSTRUMENTATION_STATUS: test=ignoredTestWithIgnore + * ``` + * @property prefix `"INSTRUMENTATION_STATUS: "` + * @property text `"test=ignoredTestWithIgnore"` + */ +internal data class Line( + val prefix: String?, + val text: String, +) + +private fun String.parsePrefix(): Pair { + val prefix = Type.values().firstOrNull { startsWith(it.text) }?.text + return prefix to (prefix?.let { removePrefix(it) } ?: this) +} + +private enum class Type(val text: String) { + Status("INSTRUMENTATION_STATUS: "), + StatusCode("INSTRUMENTATION_STATUS_CODE: "), + Result("INSTRUMENTATION_RESULT: "), + Code("INSTRUMENTATION_CODE: "), +} + +// Stage 2 ============================================ +/** + * Parse previously grouped lines into chunks + * @receiver [Flow] of [Line] groups + * @return [Flow] of [Chunk] + */ +internal fun Flow>.parseChunks(): Flow = map { group -> + val reversed = group.reversed().toMutableList() + val code = reversed.removeFirst() + val linesAccumulator = mutableListOf() + val map = mutableMapOf>() + reversed.forEach { line -> + if (line.prefix == null) + linesAccumulator += line.text + else + linesAccumulator.apply { + val (key, text) = line.text.split("=", limit = 2) + add(text) + map[key] = reversed() + clear() + } + } + Chunk(code.prefix!!, code.text.toInt(), map) +} + +/** + * The structured representation of instrumentation output lines followed by result code. + * @property type The prefix of status code line: [INSTRUMENTATION_STATUS_CODE | INSTRUMENTATION_CODE] + * @property code The result code. + * @property map The properties for the specific group of lines. + */ +internal data class Chunk( + val type: String, + val code: Int, + val map: Map>, + val timestamp: Long = System.currentTimeMillis(), +) + +// Stage 3 ============================================ + +internal fun Flow.parseStatusResult(): Flow { + var prev = Chunk( + type = "", + code = 0, + map = mapOf("current" to listOf("0")) + ) + + return transform { next -> + when (next.type) { + + // Handling the regular chunk which is representing the half of Status. + Type.StatusCode.text -> when { + prev.id == next.id -> emit(createStatus(prev, next)) + prev.id < next.id -> prev = next + else -> throw IllegalArgumentException("Inconsistent stream of chunks.\nexpected pair for: $prev\nbut was $next") + } + + // Handling the final chunk which is representing the Result. + Type.Code.text -> emit(createResult(next)) + + else -> throw IllegalArgumentException("Unknown type of Chunk: ${next.type}") + } + } +} + +private val Chunk.id: Int get() = map.getValue("current").first().toInt() + +private fun createStatus(first: Chunk, second: Chunk) = Instrument.Status( + code = second.code, + startTime = first.timestamp, + endTime = second.timestamp, + details = (first.map + second.map).mapValues { (key, value) -> + when (key) { + "id", + "test", + "class", + -> value.first() + + "current", + "numTests", + -> value.first().toInt() + + else -> value + } + } +) + +private fun createResult(chunk: Chunk) = Instrument.Result( + code = chunk.code, + details = chunk.map, + time = chunk.timestamp +) diff --git a/corellium/log/src/main/kotlin/flank/corellium/log/Parser.kt b/corellium/log/src/main/kotlin/flank/corellium/log/Parser.kt new file mode 100644 index 0000000000..a34b997662 --- /dev/null +++ b/corellium/log/src/main/kotlin/flank/corellium/log/Parser.kt @@ -0,0 +1,73 @@ +package flank.corellium.log + +import kotlinx.coroutines.flow.Flow + +/** + * Parse instrument test logs into structures. + * This parser requires a clean logs only from the single command execution. + * + * @receiver The [Flow] of [String] lines from console output produced by "am instrument -r -w" command. + * @return The [Flow] of [Instrument] structures. Only the last element of flow is [Instrument.Result] + */ +fun Flow.parseAdbInstrumentLog(): Flow = this + .groupLines() + .parseChunks() + .parseStatusResult() + +sealed class Instrument { + /** + * Representation of the following pair of two status chunks: + * ``` + * INSTRUMENTATION_STATUS: class=com.example.test_app.InstrumentedTest + * INSTRUMENTATION_STATUS: current=1 + * INSTRUMENTATION_STATUS: id=AndroidJUnitRunner + * INSTRUMENTATION_STATUS: numtests=3 + * INSTRUMENTATION_STATUS: stream= + * com.example.test_app.InstrumentedTest: + * INSTRUMENTATION_STATUS: test=ignoredTestWithIgnore + * INSTRUMENTATION_STATUS_CODE: 1 + * INSTRUMENTATION_STATUS: class=com.example.test_app.InstrumentedTest + * INSTRUMENTATION_STATUS: current=1 + * INSTRUMENTATION_STATUS: id=AndroidJUnitRunner + * INSTRUMENTATION_STATUS: numtests=3 + * INSTRUMENTATION_STATUS: stream= + * com.example.test_app.InstrumentedTest: + * INSTRUMENTATION_STATUS: test=ignoredTestWithIgnore + * INSTRUMENTATION_STATUS_CODE: -3 + * ``` + * + * @property code The value of INSTRUMENTATION_STATUS_CODE of the second chunk + * @property startTime The time of creation the first chunk of status. + * @property endTime The time of creation the second chunk of status. + * @property details The summary details of both chunks. + */ + class Status( + val code: Int, + val startTime: Long, + val endTime: Long, + val details: Map + ) : Instrument() + + /** + * Representation of the final structure of instrument test logs: + * ``` + * INSTRUMENTATION_RESULT: stream= + * + * Time: 2.076 + * + * OK (2 test) + * + * + * INSTRUMENTATION_CODE: -1 + * ``` + * + * @property code The value of INSTRUMENTATION_CODE + * @property time The time of creation the result chunk. + * @property details The details recorded for the result (Perhaps only a "stream" value). + */ + class Result( + val code: Int, + val time: Long, + val details: Map + ) : Instrument() +} diff --git a/corellium/log/src/test/kotlin/flank/corellium/log/InternalTest.kt b/corellium/log/src/test/kotlin/flank/corellium/log/InternalTest.kt new file mode 100644 index 0000000000..1475f5ea73 --- /dev/null +++ b/corellium/log/src/test/kotlin/flank/corellium/log/InternalTest.kt @@ -0,0 +1,67 @@ +package flank.corellium.log + +import kotlinx.coroutines.flow.Flow +import kotlinx.coroutines.flow.asFlow +import kotlinx.coroutines.flow.toList +import kotlinx.coroutines.runBlocking +import org.junit.Assert +import org.junit.Test + +class InternalTest { + + @Test + fun groupLinesTest() { + val lines = runBlocking { + flowLogs() + .groupLines() + .toList() + } + + // 2 * 29 statuses + 1 result + Assert.assertEquals(59, lines.size) + } + + @Test + fun parseChunksTest() { + val chunks = runBlocking { + flowLogs() + .groupLines() + .parseChunks() + .toList() + } + + // 2 * 29 statuses + 1 result + Assert.assertEquals(59, chunks.size) + } + + @Test + fun parseInstrumentStatus() { + val statusResults = runBlocking { + flowLogs() + .groupLines() + .parseChunks() + .parseStatusResult() + .toList() + } + + // 29 statuses + 1 result + Assert.assertEquals(30, statusResults.size) + + Assert.assertTrue( + "All items except the last one must be Instrument.Status", + statusResults.dropLast(1).all { it is Instrument.Status } + ) + + Assert.assertTrue( + "Last item must be Instrument.Result", + statusResults.last() is Instrument.Result + ) + } +} + +private fun flowLogs(): Flow = + Unit.javaClass.classLoader + .getResourceAsStream("example_android_logs.txt")!! + .bufferedReader() + .lineSequence() + .asFlow() diff --git a/corellium/log/src/test/resources/example_android_logs.txt b/corellium/log/src/test/resources/example_android_logs.txt new file mode 100644 index 0000000000..7d90c1de19 --- /dev/null +++ b/corellium/log/src/test/resources/example_android_logs.txt @@ -0,0 +1,1725 @@ +$ adb shell am instrument -r -w com.example.test_app.test/androidx.test.runner.AndroidJUnitRunner +INSTRUMENTATION_STATUS: class=com.example.test_app.InstrumentedTest +INSTRUMENTATION_STATUS: current=1 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +com.example.test_app.InstrumentedTest: +INSTRUMENTATION_STATUS: test=ignoredTestWithIgnore +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.InstrumentedTest +INSTRUMENTATION_STATUS: current=1 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +com.example.test_app.InstrumentedTest: +INSTRUMENTATION_STATUS: test=ignoredTestWithIgnore +INSTRUMENTATION_STATUS_CODE: -3 +INSTRUMENTATION_STATUS: class=com.example.test_app.InstrumentedTest +INSTRUMENTATION_STATUS: current=2 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=test0 +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.InstrumentedTest +INSTRUMENTATION_STATUS: current=2 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.InstrumentedTest.test0(InstrumentedTest.kt:16) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in test0(com.example.test_app.InstrumentedTest): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.InstrumentedTest.test0(InstrumentedTest.kt:16) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=test0 +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_STATUS: class=com.example.test_app.InstrumentedTest +INSTRUMENTATION_STATUS: current=3 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=test1 +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.InstrumentedTest +INSTRUMENTATION_STATUS: current=3 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.InstrumentedTest.test1(InstrumentedTest.kt:19) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in test1(com.example.test_app.InstrumentedTest): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.InstrumentedTest.test1(InstrumentedTest.kt:19) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=test1 +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_STATUS: class=com.example.test_app.InstrumentedTest +INSTRUMENTATION_STATUS: current=4 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=test2 +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.InstrumentedTest +INSTRUMENTATION_STATUS: current=4 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.InstrumentedTest.test2(InstrumentedTest.kt:22) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in test2(com.example.test_app.InstrumentedTest): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.InstrumentedTest.test2(InstrumentedTest.kt:22) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=test2 +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_STATUS: class=com.example.test_app.ParameterizedTest +INSTRUMENTATION_STATUS: current=5 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +com.example.test_app.ParameterizedTest: +INSTRUMENTATION_STATUS: test=shouldHopefullyPass[0] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.ParameterizedTest +INSTRUMENTATION_STATUS: current=5 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=shouldHopefullyPass[0] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.ParameterizedTest +INSTRUMENTATION_STATUS: current=6 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=shouldHopefullyPass[1] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.ParameterizedTest +INSTRUMENTATION_STATUS: current=6 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=shouldHopefullyPass[1] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.ParameterizedTest +INSTRUMENTATION_STATUS: current=7 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=shouldHopefullyPass[2] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.ParameterizedTest +INSTRUMENTATION_STATUS: current=7 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=shouldHopefullyPass[2] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.bar.BarInstrumentedTest +INSTRUMENTATION_STATUS: current=8 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +com.example.test_app.bar.BarInstrumentedTest: +INSTRUMENTATION_STATUS: test=testBar +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.bar.BarInstrumentedTest +INSTRUMENTATION_STATUS: current=8 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.bar.BarInstrumentedTest.testBar(BarInstrumentedTest.kt:13) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in testBar(com.example.test_app.bar.BarInstrumentedTest): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.bar.BarInstrumentedTest.testBar(BarInstrumentedTest.kt:13) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=testBar +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_STATUS: class=com.example.test_app.bar.BarInstrumentedTest +INSTRUMENTATION_STATUS: current=9 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=ignoredTestBar +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.bar.BarInstrumentedTest +INSTRUMENTATION_STATUS: current=9 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=ignoredTestBar +INSTRUMENTATION_STATUS_CODE: -3 +INSTRUMENTATION_STATUS: class=com.example.test_app.foo.FooInstrumentedTest +INSTRUMENTATION_STATUS: current=10 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +com.example.test_app.foo.FooInstrumentedTest: +INSTRUMENTATION_STATUS: test=testFoo +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.foo.FooInstrumentedTest +INSTRUMENTATION_STATUS: current=10 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.foo.FooInstrumentedTest.testFoo(FooInstrumentedTest.kt:13) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in testFoo(com.example.test_app.foo.FooInstrumentedTest): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.foo.FooInstrumentedTest.testFoo(FooInstrumentedTest.kt:13) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=testFoo +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_STATUS: class=com.example.test_app.foo.FooInstrumentedTest +INSTRUMENTATION_STATUS: current=11 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=ignoredTestFoo +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.foo.FooInstrumentedTest +INSTRUMENTATION_STATUS: current=11 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=ignoredTestFoo +INSTRUMENTATION_STATUS_CODE: -3 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassParameterizedNamed +INSTRUMENTATION_STATUS: current=12 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +com.example.test_app.parametrized.EspressoParametrizedClassParameterizedNamed: +INSTRUMENTATION_STATUS: test=clickRightButton[0: toast toast] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassParameterizedNamed +INSTRUMENTATION_STATUS: current=12 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButton[0: toast toast] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassParameterizedNamed +INSTRUMENTATION_STATUS: current=13 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=clickRightButton[1: alert alert] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassParameterizedNamed +INSTRUMENTATION_STATUS: current=13 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButton[1: alert alert] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassParameterizedNamed +INSTRUMENTATION_STATUS: current=14 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=clickRightButton[2: exception exception] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassParameterizedNamed +INSTRUMENTATION_STATUS: current=14 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButton[2: exception exception] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassTestParameterized +INSTRUMENTATION_STATUS: current=15 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +com.example.test_app.parametrized.EspressoParametrizedClassTestParameterized: +INSTRUMENTATION_STATUS: test=clickRightButton[0] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassTestParameterized +INSTRUMENTATION_STATUS: current=15 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButton[0] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassTestParameterized +INSTRUMENTATION_STATUS: current=16 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=clickRightButton[1] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassTestParameterized +INSTRUMENTATION_STATUS: current=16 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButton[1] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassTestParameterized +INSTRUMENTATION_STATUS: current=17 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=clickRightButton[2] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedClassTestParameterized +INSTRUMENTATION_STATUS: current=17 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButton[2] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=18 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner: +INSTRUMENTATION_STATUS: test=clickRightButtonFromMethod(toast, toast) [0] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=18 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButtonFromMethod(toast, toast) [0] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=19 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=clickRightButtonFromMethod(alert, alert) [1] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=19 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButtonFromMethod(alert, alert) [1] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=20 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=clickRightButtonFromMethod(exception, exception) [2] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=20 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButtonFromMethod(exception, exception) [2] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=21 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=clickRightButtonFromAnnotation(toast, toast) [0] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=21 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButtonFromAnnotation(toast, toast) [0] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=22 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=clickRightButtonFromAnnotation(alert, alert) [1] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=22 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButtonFromAnnotation(alert, alert) [1] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=23 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=clickRightButtonFromAnnotation(exception, exception) [2] +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.parametrized.EspressoParametrizedMethodTestJUnitParamsRunner +INSTRUMENTATION_STATUS: current=23 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream=. +INSTRUMENTATION_STATUS: test=clickRightButtonFromAnnotation(exception, exception) [2] +INSTRUMENTATION_STATUS_CODE: 0 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest10 +INSTRUMENTATION_STATUS: current=24 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +com.example.test_app.similar.SimilarNameTest10: +INSTRUMENTATION_STATUS: test=test19 +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest10 +INSTRUMENTATION_STATUS: current=24 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest10.test19(SimilarNameTest10.kt:18) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in test19(com.example.test_app.similar.SimilarNameTest10): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest10.test19(SimilarNameTest10.kt:18) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=test19 +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest10 +INSTRUMENTATION_STATUS: current=25 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=test1 +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest10 +INSTRUMENTATION_STATUS: current=25 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest10.test1(SimilarNameTest10.kt:12) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in test1(com.example.test_app.similar.SimilarNameTest10): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest10.test1(SimilarNameTest10.kt:12) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=test1 +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest10 +INSTRUMENTATION_STATUS: current=26 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=test2 +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest10 +INSTRUMENTATION_STATUS: current=26 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest10.test2(SimilarNameTest10.kt:15) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in test2(com.example.test_app.similar.SimilarNameTest10): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest10.test2(SimilarNameTest10.kt:15) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=test2 +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest1 +INSTRUMENTATION_STATUS: current=27 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +com.example.test_app.similar.SimilarNameTest1: +INSTRUMENTATION_STATUS: test=test19 +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest1 +INSTRUMENTATION_STATUS: current=27 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest1.test19(SimilarNameTest1.kt:18) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in test19(com.example.test_app.similar.SimilarNameTest1): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest1.test19(SimilarNameTest1.kt:18) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=test19 +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest1 +INSTRUMENTATION_STATUS: current=28 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=test1 +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest1 +INSTRUMENTATION_STATUS: current=28 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest1.test1(SimilarNameTest1.kt:12) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in test1(com.example.test_app.similar.SimilarNameTest1): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest1.test1(SimilarNameTest1.kt:12) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=test1 +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest1 +INSTRUMENTATION_STATUS: current=29 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stream= +INSTRUMENTATION_STATUS: test=test2 +INSTRUMENTATION_STATUS_CODE: 1 +INSTRUMENTATION_STATUS: class=com.example.test_app.similar.SimilarNameTest1 +INSTRUMENTATION_STATUS: current=29 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=29 +INSTRUMENTATION_STATUS: stack=java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest1.test2(SimilarNameTest1.kt:15) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: stream= +Error in test2(com.example.test_app.similar.SimilarNameTest1): +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest1.test2(SimilarNameTest1.kt:15) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +INSTRUMENTATION_STATUS: test=test2 +INSTRUMENTATION_STATUS_CODE: -2 +INSTRUMENTATION_RESULT: stream= + +Time: 40.647 +There were 11 failures: +1) test0(com.example.test_app.InstrumentedTest) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.InstrumentedTest.test0(InstrumentedTest.kt:16) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) +2) test1(com.example.test_app.InstrumentedTest) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.InstrumentedTest.test1(InstrumentedTest.kt:19) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) +3) test2(com.example.test_app.InstrumentedTest) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.InstrumentedTest.test2(InstrumentedTest.kt:22) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) +4) testBar(com.example.test_app.bar.BarInstrumentedTest) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.bar.BarInstrumentedTest.testBar(BarInstrumentedTest.kt:13) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) +5) testFoo(com.example.test_app.foo.FooInstrumentedTest) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.foo.FooInstrumentedTest.testFoo(FooInstrumentedTest.kt:13) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) +6) test19(com.example.test_app.similar.SimilarNameTest10) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest10.test19(SimilarNameTest10.kt:18) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) +7) test1(com.example.test_app.similar.SimilarNameTest10) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest10.test1(SimilarNameTest10.kt:12) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) +8) test2(com.example.test_app.similar.SimilarNameTest10) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest10.test2(SimilarNameTest10.kt:15) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) +9) test19(com.example.test_app.similar.SimilarNameTest1) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest1.test19(SimilarNameTest1.kt:18) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) +10) test1(com.example.test_app.similar.SimilarNameTest1) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest1.test1(SimilarNameTest1.kt:12) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) +11) test2(com.example.test_app.similar.SimilarNameTest1) +java.lang.AssertionError + at org.junit.Assert.fail(Assert.java:86) + at org.junit.Assert.assertTrue(Assert.java:41) + at org.junit.Assert.assertTrue(Assert.java:52) + at com.example.test_app.BaseInstrumentedTest.testMethod(BaseInstrumentedTest.kt:36) + at com.example.test_app.similar.SimilarNameTest1.test2(SimilarNameTest1.kt:15) + at java.lang.reflect.Method.invoke(Native Method) + at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) + at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) + at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) + at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) + at com.example.test_app.screenshot.ScreenshotTestRule$apply$1.evaluate(ScreenshotTestRule.kt:58) + at org.junit.rules.RunRules.evaluate(RunRules.java:20) + at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) + at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:154) + at org.junit.runners.Suite.runChild(Suite.java:128) + at org.junit.runners.Suite.runChild(Suite.java:27) + at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) + at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) + at org.junit.runners.ParentRunner.run(ParentRunner.java:363) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) + at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) + at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) + at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205) + +FAILURES!!! +Tests run: 26, Failures: 11 + + +INSTRUMENTATION_CODE: -1 diff --git a/settings.gradle.kts b/settings.gradle.kts index 66d83d5a28..e37a558d73 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -13,7 +13,8 @@ include( ":common", ":corellium", ":corellium:sandbox", - ":corellium:client" + ":corellium:client", + ":corellium:log" ) plugins {