Loading packages/SystemUI/Android.bp +31 −1 Original line number Diff line number Diff line Loading @@ -330,6 +330,7 @@ android_library { "androidx.core_core-animation-testing-nodeps", "androidx.compose.ui_ui", "flag-junit", "ravenwood-junit", "platform-test-annotations", "notification_flags_lib", ], Loading Loading @@ -386,7 +387,8 @@ android_library { android_app { name: "SystemUIRobo-stub", use_resource_processor: true, // SystemUiRavenTests references the .aapt.srcjar use_resource_processor: false, defaults: [ "platform_app_defaults", "SystemUI_optimized_defaults", Loading Loading @@ -458,6 +460,34 @@ android_robolectric_test { ], } android_ravenwood_test { name: "SystemUiRavenTests", srcs: [ ":SystemUI-tests-utils", ":SystemUI-tests-multivalent", // TODO(b/294256649): pivot to using {.aapt.jar} and re-enable // use_resource_processor: true when better supported by soong ":SystemUIRobo-stub{.aapt.srcjar}", ], static_libs: [ "SystemUI-core", "SystemUI-res", "SystemUI-tests-base", "androidx.test.uiautomator_uiautomator", "androidx.core_core-animation-testing", "androidx.test.ext.junit", ], libs: [ "android.test.runner", "android.test.base", "android.test.mock", ], auto_gen_config: true, plugins: [ "dagger2-compiler", ], } // Opt-out config for optimizing the SystemUI target using R8. // Disabled via `export SYSTEMUI_OPTIMIZE_JAVA=false`, or explicitly in Make via // `SYSTEMUI_OPTIMIZE_JAVA := false`. Loading packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/AutoAddSettingsRepositoryTest.kt +2 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.systemui.qs.pipeline.data.repository import android.platform.test.annotations.EnabledOnRavenwood import android.provider.Settings import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SmallTest Loading @@ -38,6 +39,7 @@ import org.mockito.MockitoAnnotations @OptIn(ExperimentalCoroutinesApi::class) @SmallTest @EnabledOnRavenwood @RunWith(AndroidJUnit4::class) class AutoAddSettingsRepositoryTest : SysuiTestCase() { private val secureSettings = FakeSettings() Loading packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/CustomTileAddedSharedPreferencesRepositoryTest.kt +2 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.systemui.qs.pipeline.data.repository import android.content.ComponentName import android.content.SharedPreferences import android.platform.test.annotations.EnabledOnRavenwood import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SmallTest import com.android.systemui.SysuiTestCase Loading @@ -29,6 +30,7 @@ import org.junit.Test import org.junit.runner.RunWith @SmallTest @EnabledOnRavenwood @RunWith(AndroidJUnit4::class) class CustomTileAddedSharedPreferencesRepositoryTest : SysuiTestCase() { Loading packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/TileSpecSettingsRepositoryTest.kt +2 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.systemui.qs.pipeline.data.repository import android.platform.test.annotations.EnabledOnRavenwood import android.provider.Settings import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SmallTest Loading @@ -39,6 +40,7 @@ import org.mockito.Mock import org.mockito.MockitoAnnotations @SmallTest @EnabledOnRavenwood @RunWith(AndroidJUnit4::class) @OptIn(ExperimentalCoroutinesApi::class) class TileSpecSettingsRepositoryTest : SysuiTestCase() { Loading packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/TilesSettingConverterTest.kt +2 −0 Original line number Diff line number Diff line package com.android.systemui.qs.pipeline.data.repository import android.platform.test.annotations.EnabledOnRavenwood import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SmallTest import com.android.systemui.SysuiTestCase Loading @@ -9,6 +10,7 @@ import org.junit.Test import org.junit.runner.RunWith @SmallTest @EnabledOnRavenwood @RunWith(AndroidJUnit4::class) class TilesSettingConverterTest : SysuiTestCase() { Loading Loading
packages/SystemUI/Android.bp +31 −1 Original line number Diff line number Diff line Loading @@ -330,6 +330,7 @@ android_library { "androidx.core_core-animation-testing-nodeps", "androidx.compose.ui_ui", "flag-junit", "ravenwood-junit", "platform-test-annotations", "notification_flags_lib", ], Loading Loading @@ -386,7 +387,8 @@ android_library { android_app { name: "SystemUIRobo-stub", use_resource_processor: true, // SystemUiRavenTests references the .aapt.srcjar use_resource_processor: false, defaults: [ "platform_app_defaults", "SystemUI_optimized_defaults", Loading Loading @@ -458,6 +460,34 @@ android_robolectric_test { ], } android_ravenwood_test { name: "SystemUiRavenTests", srcs: [ ":SystemUI-tests-utils", ":SystemUI-tests-multivalent", // TODO(b/294256649): pivot to using {.aapt.jar} and re-enable // use_resource_processor: true when better supported by soong ":SystemUIRobo-stub{.aapt.srcjar}", ], static_libs: [ "SystemUI-core", "SystemUI-res", "SystemUI-tests-base", "androidx.test.uiautomator_uiautomator", "androidx.core_core-animation-testing", "androidx.test.ext.junit", ], libs: [ "android.test.runner", "android.test.base", "android.test.mock", ], auto_gen_config: true, plugins: [ "dagger2-compiler", ], } // Opt-out config for optimizing the SystemUI target using R8. // Disabled via `export SYSTEMUI_OPTIMIZE_JAVA=false`, or explicitly in Make via // `SYSTEMUI_OPTIMIZE_JAVA := false`. Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/AutoAddSettingsRepositoryTest.kt +2 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.systemui.qs.pipeline.data.repository import android.platform.test.annotations.EnabledOnRavenwood import android.provider.Settings import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SmallTest Loading @@ -38,6 +39,7 @@ import org.mockito.MockitoAnnotations @OptIn(ExperimentalCoroutinesApi::class) @SmallTest @EnabledOnRavenwood @RunWith(AndroidJUnit4::class) class AutoAddSettingsRepositoryTest : SysuiTestCase() { private val secureSettings = FakeSettings() Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/CustomTileAddedSharedPreferencesRepositoryTest.kt +2 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.systemui.qs.pipeline.data.repository import android.content.ComponentName import android.content.SharedPreferences import android.platform.test.annotations.EnabledOnRavenwood import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SmallTest import com.android.systemui.SysuiTestCase Loading @@ -29,6 +30,7 @@ import org.junit.Test import org.junit.runner.RunWith @SmallTest @EnabledOnRavenwood @RunWith(AndroidJUnit4::class) class CustomTileAddedSharedPreferencesRepositoryTest : SysuiTestCase() { Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/TileSpecSettingsRepositoryTest.kt +2 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.systemui.qs.pipeline.data.repository import android.platform.test.annotations.EnabledOnRavenwood import android.provider.Settings import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SmallTest Loading @@ -39,6 +40,7 @@ import org.mockito.Mock import org.mockito.MockitoAnnotations @SmallTest @EnabledOnRavenwood @RunWith(AndroidJUnit4::class) @OptIn(ExperimentalCoroutinesApi::class) class TileSpecSettingsRepositoryTest : SysuiTestCase() { Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/TilesSettingConverterTest.kt +2 −0 Original line number Diff line number Diff line package com.android.systemui.qs.pipeline.data.repository import android.platform.test.annotations.EnabledOnRavenwood import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SmallTest import com.android.systemui.SysuiTestCase Loading @@ -9,6 +10,7 @@ import org.junit.Test import org.junit.runner.RunWith @SmallTest @EnabledOnRavenwood @RunWith(AndroidJUnit4::class) class TilesSettingConverterTest : SysuiTestCase() { Loading