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

Commit e2e8012f authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Make aosp-main _mostly_ in sync with goog/main

Flag: EXEMPT host test change only
Bug: 292141694
Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh -s
Merged-in: Ie9c5deb25ec5f8594feac15b2a3f41b40a65e4f0
Change-Id: Ib037e5a6ae9880c7cbc7d21033ac3124f1a95075
parent eb541f11
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -112,10 +112,6 @@
      "name": "FrameworksInputMethodSystemServerTestsRavenwood",
      "host": true
    },
    {
      "name": "FrameworksMockingServicesTestsRavenwood",
      "host": true
    },
    {
      "name": "FrameworksServicesTestsRavenwood_Compat",
      "host": true
+1 −2
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ import static com.google.common.truth.Truth.assertThat;

import android.app.Instrumentation;
import android.content.Context;
import android.platform.test.annotations.DisabledOnRavenwood;
import android.platform.test.ravenwood.RavenwoodConfig;
import android.platform.test.ravenwood.RavenwoodConfig.Config;

@@ -34,7 +33,7 @@ import org.junit.runner.RunWith;
 * Tests for the case where the instrumentation target is _not_ the test APK itself.
 */
@RunWith(AndroidJUnit4.class)
@DisabledOnRavenwood(reason="AOSP is missing resources support")
@android.platform.test.annotations.DisabledOnRavenwood(reason = "AOSP is missing resources support")
public class RavenwoodInstrumentationTest_nonself {
    private static final String TARGET_PACKAGE_NAME =
            "com.android.ravenwood.bivalentinst_target_app";
+1 −2
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ import static com.google.common.truth.Truth.assertThat;

import android.app.Instrumentation;
import android.content.Context;
import android.platform.test.annotations.DisabledOnRavenwood;
import android.platform.test.ravenwood.RavenwoodConfig;
import android.platform.test.ravenwood.RavenwoodConfig.Config;

@@ -34,7 +33,7 @@ import org.junit.runner.RunWith;
 * Tests for the case where the instrumentation target is the test APK itself.
 */
@RunWith(AndroidJUnit4.class)
@DisabledOnRavenwood(reason="AOSP is missing resources support")
@android.platform.test.annotations.DisabledOnRavenwood(reason = "AOSP is missing resources support")
public class RavenwoodInstrumentationTest_self {

    private static final String TARGET_PACKAGE_NAME =
+2 −2
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@ import static org.junit.Assert.fail;
import android.content.Context;
import android.hardware.SerialManager;
import android.hardware.SerialManagerInternal;
import android.platform.test.annotations.DisabledOnRavenwood;
import android.platform.test.ravenwood.RavenwoodConfig;
import android.platform.test.ravenwood.RavenwoodConfig.Config;

@@ -70,7 +69,8 @@ public class RavenwoodServicesTest {
    }

    @Test
    @DisabledOnRavenwood(reason="AOSP is missing resources support")
    @android.platform.test.annotations.DisabledOnRavenwood(
            reason = "AOSP is missing resources support")
    public void testSimple() {
        // Verify that we can obtain a manager, and talk to the backend service, and that no
        // serial ports are configured by default