Skip to content

Commit 9017343

Browse files
committed
Fixing up tests
1 parent 0b614f8 commit 9017343

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
timeout-minutes: 60
9494
strategy:
9595
matrix:
96-
api-level: [26]
96+
api-level: [35]
9797

9898
steps:
9999
- name: Delete unnecessary tools 🔧

feature/camera/src/androidTest/java/com/android/developers/androidify/camera/CameraScreenTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import androidx.compose.ui.test.assertIsDisplayed
2626
import androidx.compose.ui.test.assertIsEnabled
2727
import androidx.compose.ui.test.assertIsNotDisplayed
2828
import androidx.compose.ui.test.assertIsNotEnabled
29-
import androidx.compose.ui.test.junit4.createAndroidComposeRule
29+
import androidx.compose.ui.test.junit4.v2.createAndroidComposeRule
3030
import androidx.compose.ui.test.onNodeWithContentDescription
3131
import androidx.compose.ui.test.onNodeWithText
3232
import androidx.compose.ui.test.performClick

feature/creation/src/androidTest/java/com/android/developers/androidify/creation/CreationScreenTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import androidx.compose.material3.SnackbarHostState
2121
import androidx.compose.ui.test.assertIsDisplayed
2222
import androidx.compose.ui.test.assertIsOff
2323
import androidx.compose.ui.test.assertIsOn
24-
import androidx.compose.ui.test.junit4.createAndroidComposeRule
24+
import androidx.compose.ui.test.junit4.v2.createAndroidComposeRule
2525
import androidx.compose.ui.test.onNodeWithContentDescription
2626
import androidx.compose.ui.test.onNodeWithText
2727
import androidx.test.ext.junit.runners.AndroidJUnit4

feature/home/src/androidTest/java/com/android/developers/androidify/home/HomeScreenTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package com.android.developers.androidify.home
1818
import androidx.activity.ComponentActivity
1919
import androidx.compose.ui.test.assertIsDisplayed
2020
import androidx.compose.ui.test.assertIsNotDisplayed
21-
import androidx.compose.ui.test.junit4.createAndroidComposeRule
21+
import androidx.compose.ui.test.junit4.v2.createAndroidComposeRule
2222
import androidx.compose.ui.test.onNodeWithContentDescription
2323
import androidx.compose.ui.test.onNodeWithText
2424
import androidx.compose.ui.test.performClick

feature/results/src/androidTest/java/com/android/developers/androidify/results/ResultsScreenTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import androidx.compose.ui.platform.LocalInspectionMode
2222
import androidx.compose.ui.test.assertIsDisplayed
2323
import androidx.compose.ui.test.assertIsOff
2424
import androidx.compose.ui.test.assertIsOn
25-
import androidx.compose.ui.test.junit4.createAndroidComposeRule
25+
import androidx.compose.ui.test.junit4.v2.createAndroidComposeRule
2626
import androidx.compose.ui.test.onNodeWithContentDescription
2727
import androidx.compose.ui.test.onNodeWithText
2828
import androidx.compose.ui.test.performClick

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# The setting is particularly useful for tweaking memory settings.
99
org.gradle.caching=true
1010
org.gradle.parallel=true
11-
org.gradle.jvmargs=-Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=1 -XX:ReservedCodeCacheSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xmx4g -Xms4g
11+
org.gradle.jvmargs=-Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=1 -XX:ReservedCodeCacheSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xmx6g -Xms6g
1212
# When configured, Gradle will run in incubating parallel mode.
1313
# This option should only be used with decoupled projects. For more details, visit
1414
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects

0 commit comments

Comments
 (0)