-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Improve Debugger Tests ART Integration #2766
base: master
Are you sure you want to change the base?
Conversation
} | ||
} | ||
|
||
private fun loadProvider(className: String, testCase: KotlinDescriptorTestCase): RemoteConnectionProvider { |
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.
Could you please elaborate a bit on why such flexibility is needed?
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.
We are working on a way to run these tests from our own repository.
As we fix bugs, we expect to have to change the way the ART VM is launched. For example, we may want to add a certain command line option to the VM in order to activate some experimental feature/fix.
Since we can't anticipate what changes we will need, we would like to be able to have our own version of the ArtAttacher
so we can iterate faster. When we stabilize it, we will merge it back upstream.
...vm-debugger/test/test/org/jetbrains/kotlin/idea/debugger/test/ArtRemoteConnectionProvider.kt
Outdated
Show resolved
Hide resolved
...n/jvm-debugger/test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinDescriptorTestCase.kt
Outdated
Show resolved
Hide resolved
...n/jvm-debugger/test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinDescriptorTestCase.kt
Outdated
Show resolved
Hide resolved
...n/jvm-debugger/test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinDescriptorTestCase.kt
Outdated
Show resolved
Hide resolved
...n/jvm-debugger/test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinDescriptorTestCase.kt
Outdated
Show resolved
Hide resolved
...n/jvm-debugger/test/test/org/jetbrains/kotlin/idea/debugger/test/RemoteConnectionProvider.kt
Outdated
Show resolved
Hide resolved
...n/jvm-debugger/test/test/org/jetbrains/kotlin/idea/debugger/test/RemoteConnectionProvider.kt
Outdated
Show resolved
Hide resolved
0ac9e95
to
27cd144
Compare
plugins/kotlin/jvm-debugger/test/test/org/jetbrains/kotlin/idea/debugger/test/VmAttacher.kt
Outdated
Show resolved
Hide resolved
plugins/kotlin/jvm-debugger/test/test/org/jetbrains/kotlin/idea/debugger/test/VmAttacher.kt
Show resolved
Hide resolved
Extract an interface that will allow Android Studio to inject a class that will handle ART VM debugger dependencies. The interface is agnostic to ART. It should work for any remote VM.
Extract an interface that will allow Android Studio to inject a class that will handle ART VM debugger dependencies.
The interface is agnostic to ART. It should work for any remote VM.