Loading packages/SystemUI/tests/utils/src/com/android/systemui/kosmos/GeneralKosmos.kt +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ var Kosmos.brightnessWarningToast: BrightnessWarningToast by * that kosmos instance */ fun Kosmos.runTest(testBody: suspend Kosmos.() -> Unit) = testScope.runTest { this@runTest.testBody() } testScope.runTest testBody@{ this@runTest.testBody() } fun Kosmos.runCurrent() = testScope.runCurrent() Loading Loading
packages/SystemUI/tests/utils/src/com/android/systemui/kosmos/GeneralKosmos.kt +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ var Kosmos.brightnessWarningToast: BrightnessWarningToast by * that kosmos instance */ fun Kosmos.runTest(testBody: suspend Kosmos.() -> Unit) = testScope.runTest { this@runTest.testBody() } testScope.runTest testBody@{ this@runTest.testBody() } fun Kosmos.runCurrent() = testScope.runCurrent() Loading