-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'instrumented-tests-not-using-the-app-theme-droid-406'
- Loading branch information
Showing
12 changed files
with
155 additions
and
141 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/ComposeRuleExtensions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package net.mullvad.mullvadvpn.compose | ||
|
||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.test.junit4.ComposeContentTestRule | ||
import net.mullvad.mullvadvpn.lib.theme.AppTheme | ||
|
||
fun ComposeContentTestRule.setContentWithTheme(content: @Composable () -> Unit) { | ||
setContent { AppTheme { content() } } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.