Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42b59ed4 authored by John Wu's avatar John Wu Committed by Android (Google) Code Review
Browse files

Merge "Enable resources in SystemUiRavenTests" into main

parents d95de31a 10484610
Loading
Loading
Loading
Loading
+22 −4
Original line number Diff line number Diff line
@@ -425,6 +425,7 @@ android_library {
        "SystemUISharedLib",
        "SystemUICustomizationLib",
        "SettingsLib",
        "WindowManager-Shell",
        "androidx.leanback_leanback",
        "androidx.slice_slice-core",
        "androidx.slice_slice-view",
@@ -750,6 +751,24 @@ android_library {
    ],
}

android_app {
    name: "SystemUI-tests-res",
    // SystemUiRavenTests references the .aapt.srcjar
    use_resource_processor: false,
    manifest: "tests/AndroidManifest-base.xml",
    resource_dirs: [
        "tests/res",
    ],
    asset_dirs: [
        "tests/goldens",
        "schemas",
    ],
    static_libs: [
        "SystemUI-res",
    ],
    platform_apis: true,
}

android_library {
    name: "SystemUI-tests",
    use_resource_processor: true,
@@ -826,8 +845,7 @@ android_library {

android_app {
    name: "SystemUIRobo-stub",
    // SystemUiRavenTests references the .aapt.srcjar
    use_resource_processor: false,
    use_resource_processor: true,
    defaults: [
        "platform_app_defaults",
        "SystemUI_optimized_defaults",
@@ -962,11 +980,10 @@ android_ravenwood_test {
        ":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}",
        ":SystemUI-tests-res{.aapt.srcjar}",
    ],
    static_libs: [
        "SystemUI-core",
        "SystemUI-res",
        "SystemUI-tests-base",
        "androidx.test.uiautomator_uiautomator",
        "androidx.core_core-animation-testing",
@@ -981,6 +998,7 @@ android_ravenwood_test {
        "android.test.base.impl",
        "android.test.mock.impl",
    ],
    resource_apk: "SystemUI-tests-res",
    auto_gen_config: true,
    team: "trendy_team_ravenwood",
    plugins: [
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
/** Tests for {@link AnnotationLinkSpan}. */
@SmallTest
@RunWith(AndroidJUnit4.class)
@android.platform.test.annotations.EnabledOnRavenwood
public class AnnotationLinkSpanTest extends SysuiTestCase {

    private AnnotationLinkSpan.LinkInfo mLinkInfo;
+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ import org.junit.runner.RunWith

@RunWith(AndroidJUnit4::class)
@SmallTest
@android.platform.test.annotations.EnabledOnRavenwood
class EditTilesListInteractorTest : SysuiTestCase() {
    private val kosmos = testKosmos()

+1 −0
Original line number Diff line number Diff line
@@ -74,6 +74,7 @@ import platform.test.runner.parameterized.Parameters

@RunWith(ParameterizedAndroidJunit4::class)
@SmallTest
@android.platform.test.annotations.EnabledOnRavenwood
class EditModeViewModelTest(flags: FlagsParameterization) : SysuiTestCase() {

    init {
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ import org.junit.runner.RunWith

@SmallTest
@RunWith(AndroidJUnit4::class)
@android.platform.test.annotations.EnabledOnRavenwood
class TileUiStateTest : SysuiTestCase() {

    private val kosmos = testKosmos()
Loading