-
Notifications
You must be signed in to change notification settings - Fork 8
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
Port tests to common Kotlin #269
Comments
krzema12
added a commit
that referenced
this issue
Nov 12, 2024
Part of #269. The first commit is the output from Java-to-Kotlin converter, along with necessary fixes to make the tests pass. The second commit cleans the file up a bit and brings Kotlin-specific style. These can be squashed upon merging.
This task is becoming more important as we need to add platform-specific logic, and ensure things still work. See e. g. #272. |
krzema12
pushed a commit
that referenced
this issue
Dec 16, 2024
krzema12
added a commit
that referenced
this issue
Jan 3, 2025
krzema12
added a commit
that referenced
this issue
Jan 3, 2025
krzema12
added a commit
that referenced
this issue
Jan 4, 2025
This was referenced Jan 4, 2025
krzema12
added a commit
that referenced
this issue
Jan 8, 2025
krzema12
added a commit
that referenced
this issue
Jan 8, 2025
krzema12
added a commit
that referenced
this issue
Jan 8, 2025
krzema12
added a commit
that referenced
this issue
Jan 9, 2025
This was referenced Jan 9, 2025
krzema12
added a commit
that referenced
this issue
Jan 9, 2025
krzema12
added a commit
that referenced
this issue
Jan 9, 2025
krzema12
added a commit
that referenced
this issue
Jan 10, 2025
Part of #269 --------- Co-authored-by: Oleg Smirnov <[email protected]>
This was referenced Jan 10, 2025
I'll happily support here when I find the time to do so :) |
krzema12
added a commit
that referenced
this issue
Jan 15, 2025
Part of #269. Focuses just on porting a group of related tests (with a common parent class) to Kotlin, for now JVM-specific. Commonization will be done in a separate change.
krzema12
added a commit
that referenced
this issue
Jan 16, 2025
Part of #269. I'm planning to implement Okio's file system to reflect the common test resources, so this refactoring brings us closer to this idea.
krzema12
added a commit
that referenced
this issue
Jan 16, 2025
Part of #269. This change focuses solely on moving the resource files, and any adjustments that have to happen for it to work. It's a step towards commonization of the inherited tests.
This was referenced Jan 17, 2025
krzema12
added a commit
that referenced
this issue
Jan 17, 2025
Part of #269. It was necessary to adjust the code a bit since some functions were still JVM-specific.
krzema12
added a commit
that referenced
this issue
Jan 17, 2025
Part of #269. It's not used anywhere, after migrating tests that use resources to common Kotlin.
krzema12
added a commit
that referenced
this issue
Jan 19, 2025
krzema12
added a commit
that referenced
this issue
Jan 20, 2025
krzema12
added a commit
that referenced
this issue
Jan 20, 2025
krzema12
added a commit
that referenced
this issue
Jan 23, 2025
krzema12
added a commit
that referenced
this issue
Jan 24, 2025
krzema12
added a commit
that referenced
this issue
Jan 27, 2025
krzema12
added a commit
that referenced
this issue
Jan 28, 2025
This was referenced Feb 4, 2025
krzema12
added a commit
that referenced
this issue
Feb 5, 2025
krzema12
added a commit
that referenced
this issue
Feb 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To be able to run the tests for all supported platforms, let's first convert them from Java to Kotlin.
Focusing on tests that use some files from the resources, starting from the tests that have most LoC:
TestUtils.getResource
- Remove JVM-specific way of reading test resources #366Harder ones:
File
class and inheritanceTests not relying on test resources:
The text was updated successfully, but these errors were encountered: