This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
[WIP] "Orchestrator like" execution mode #138
Merged
yunikkk
merged 12 commits into
gojuno:master
from
tagantroy:feature/execute_tests_independently
Apr 25, 2018
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
c432d98
add dex parser dependency
tagantroy e5982da
implement parseTests function
tagantroy c5aae4a
specify return type and removed unused import
tagantroy b6f07b2
return List<String> instead of List<TestMethod> as a result of parseT…
tagantroy 8a3b577
add parseTests test
tagantroy 802dae4
Merge branch 'master' into feature/execute_tests_independently
tagantroy 373684d
fix code style
tagantroy 2906a3e
add TestMethod data class
tagantroy 01c9f5e
change parseTests return try to List<TestMethod>
tagantroy 1724c97
format TestMethod
tagantroy 7ab8a92
remove extra lines
tagantroy 8fb44a0
Merge branch 'master' into feature/execute_tests_independently
yunikkk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
import java.io.File | ||
|
||
sealed class TestPackage { | ||
data class Valid(val value: String) : TestPackage() | ||
|
@@ -66,4 +65,5 @@ fun parseTestRunner(testApkPath: String): TestRunner = | |
.toBlocking() | ||
.value() | ||
|
||
fun parseTests(testApkPath: String) = DexParser.findTestMethods(testApkPath) | ||
fun parseTests(testApkPath: String) : List<TestMethod> = | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks unused :)