Repository navigation
Commit cec8ebf
authored
[file_selector] Convert unit tests to Kotlin (flutter#13102)
Converts `file_selector_android` native unit tests from Java to Kotlin.
Similar to my other conversions, the process was:
- Use the Android Studio deterministic auto-conversion.
- Do manual cleanup and improvement as several separate commits.
- This included adopting `mockito-kotlin` to make the mocking less verbose and complex
- Do a local Gemini review for where the code could be improved as Kotlin code, and address most of that feedback.
Does not include any changes to production code.
Part of flutter#188630
## Pre-Review Checklist
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.1 parent 718b7cf commit cec8ebf
6 files changed
Lines changed: 774 additions & 932 deletions
File tree
- packages/file_selector/file_selector_android/android
- src/test
- java/dev/flutter/packages/file_selector_android
- kotlin/dev/flutter/packages/file_selector_android
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments