Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

[WIP] "Orchestrator like" execution mode #138

Merged
merged 12 commits into from
Apr 25, 2018
4 changes: 2 additions & 2 deletions composer/src/main/kotlin/com/gojuno/composer/Apk.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import com.gojuno.commander.os.Notification
import com.gojuno.commander.os.process
import com.linkedin.dex.parser.DexParser
import com.linkedin.dex.parser.TestMethod
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks unused :)

import java.io.File

sealed class TestPackage {
data class Valid(val value: String) : TestPackage()
Expand Down Expand Up @@ -66,4 +65,5 @@ fun parseTestRunner(testApkPath: String): TestRunner =
.toBlocking()
.value()

fun parseTests(testApkPath: String) = DexParser.findTestMethods(testApkPath)
fun parseTests(testApkPath: String) : List<TestMethod> =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add an integration test (we already have some that parse runner from test apk, you can add couple tests there)

Not that I don't trust this library, but it can help catch future regressions!

DexParser.findTestMethods(testApkPath)