Skip to content

Conversation

terrakok
Copy link
Member

It fixes Robolectric tests where a context is available through InstrumentationRegistry

Fixes https://youtrack.jetbrains.com/issue/CMP-6612

Release Notes

Fixes - Resources

  • Fix resource access in a Robolectric test environment.

…ceReader.

It fixes Robolectric tests where a context is available through InstrumentationRegistry
@terrakok terrakok requested a review from igordmn September 17, 2025 15:37
@MatkovIvan MatkovIvan changed the title Don't throw an error if a context is null in the DefaultAndroidResourceReader. Don't throw an error if a context is null in the DefaultAndroidResourceReader Sep 17, 2025
@terrakok terrakok requested a review from igordmn September 18, 2025 08:56
@terrakok terrakok merged commit b0eb091 into master Sep 18, 2025
2 checks passed
@terrakok terrakok deleted the CMP-6612 branch September 18, 2025 09:19
henryqwe pushed a commit to henryqwe/compose-multiplatform that referenced this pull request Oct 1, 2025
…ceReader (JetBrains#5433)

It fixes Robolectric tests where a context is available through
InstrumentationRegistry

Fixes https://youtrack.jetbrains.com/issue/CMP-6612

## Release Notes
### Fixes - Resources
- Fix resource access in a Robolectric test environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants