Rename android test rule factory function.
This is done to be consistent with createComposeRule. Also removed
extra argument that was obsolete and not used anymored.
Fix: 161757793
Test: N/A
Relnote: Renamed AndroidComposeTestRule to createAndroidComposeRule.
Change-Id: I70aaf550e1bff2871b9732cc5abf58e9af1479fe
diff --git a/ui/ui-test/src/androidTest/java/androidx/ui/test/LateSetContentTest.kt b/ui/ui-test/src/androidTest/java/androidx/ui/test/LateSetContentTest.kt
index 52f0e3f..2fd82e1 100644
--- a/ui/ui-test/src/androidTest/java/androidx/ui/test/LateSetContentTest.kt
+++ b/ui/ui-test/src/androidTest/java/androidx/ui/test/LateSetContentTest.kt
@@ -22,7 +22,7 @@
import androidx.activity.ComponentActivity
import androidx.test.filters.LargeTest
import androidx.ui.core.setContent
-import androidx.ui.test.android.AndroidComposeTestRule
+import androidx.ui.test.android.createAndroidComposeRule
import androidx.ui.test.util.BoundaryNode
import org.junit.Rule
import org.junit.Test
@@ -30,7 +30,7 @@
@LargeTest
class LateSetContentTest {
@get:Rule
- val composeTestRule = AndroidComposeTestRule<Activity>()
+ val composeTestRule = createAndroidComposeRule<Activity>()
@Test
fun test() {