[go: nahoru, domu]

Add missing tests for ui-foundation

This CL adds tests that were missing since basic stuff moved to
ui-foundation. Some of this tests require sizes testing infrastructure,
though it's moved to androidTest/ui-foundation as well.

Bug: 136805286
Bug: 136805263
Bug: 136804057
Bug: 136804594
Test: this is tests
Change-Id: Icde24d5d48c20566575a8c8836652b0af808fa16
diff --git a/ui/ui-material/src/androidTest/java/androidx/ui/material/DrawerTest.kt b/ui/ui-material/src/androidTest/java/androidx/ui/material/DrawerTest.kt
index fa3267c..32e5cca 100644
--- a/ui/ui-material/src/androidTest/java/androidx/ui/material/DrawerTest.kt
+++ b/ui/ui-material/src/androidTest/java/androidx/ui/material/DrawerTest.kt
@@ -129,7 +129,7 @@
     @Test
     fun staticDrawer_testWidth_whenOpened() {
         composeTestRule
-            .setMaterialContentAndTestSizes {
+            .setMaterialContentAndCollectSizes {
                 StaticDrawer {
                     Container(expanded = true) {}
                 }