-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Corellium adapters #1880
feat: Corellium adapters #1880
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Timestamp: 2021-05-03 07:42:49 |
Should be reviewed and merged after #1878 |
2869c94
to
9f7c894
Compare
4e50f68
to
20c2300
Compare
@bootstraponline commit: 372ac24 The ADB log lines from the two consoles are mixed, this behavior will be fixed in further changes. In the next step probably I will integrate multimodule sharding. |
@jan-gogo sounds good! |
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.
Minor comments 👍
import kotlinx.coroutines.launch | ||
|
||
object ExecuteAndroidTestPlan : AndroidTestPlan.Execute { | ||
override suspend fun AndroidTestPlan.Config.invoke(): Flow<String> = |
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.
nice :)
private suspend fun startNotRunningInstances( | ||
instances: List<Instance> | ||
): Unit = instances | ||
.filter { it.state != "on" } |
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.
It might be worth making "on" a constant as its used in multiple places.
Up to you :)
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.
I see its been defined already, can it be used here?
corellium/adapter/src/test/kotlin/flank/corellium/adapter/Example.kt
Outdated
Show resolved
Hide resolved
dac305b
to
e68c19a
Compare
Fix InstallAndroidApps Update Example.kt
…ple.kt Co-authored-by: Michael Wright <[email protected]>
e68c19a
to
a8aeb32
Compare
Fixes #1837
Test Plan
The example code should execute tests on Corellium devices and stream output from
am instrument
commandIs not needed to testing this PR carefully because the adapter implementation could change during further integration and the final MVP testing.