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/FirstDrawTest.kt b/ui/ui-test/src/androidTest/java/androidx/ui/test/FirstDrawTest.kt
index 094dd70..1830d43 100644
--- a/ui/ui-test/src/androidTest/java/androidx/ui/test/FirstDrawTest.kt
+++ b/ui/ui-test/src/androidTest/java/androidx/ui/test/FirstDrawTest.kt
@@ -28,7 +28,7 @@
import androidx.compose.foundation.Canvas
import androidx.ui.graphics.Color
import androidx.compose.foundation.layout.fillMaxSize
-import androidx.ui.test.android.AndroidComposeTestRule
+import androidx.ui.test.android.createAndroidComposeRule
import com.google.common.truth.Truth.assertThat
import org.junit.Rule
import org.junit.Test
@@ -37,7 +37,7 @@
class FirstDrawTest {
@get:Rule
- val testRule = AndroidComposeTestRule<ComponentActivity>()
+ val testRule = createAndroidComposeRule<ComponentActivity>()
/**
* Tests that the compose tree has been drawn at least once when [onIdle] finishes.