Add test mapping for hdmi service code.

Turn off currently failing tests.

Bug: 120845532
Change-Id: I88ee832db299c6ced258c07c48b98f3d7affccd1
Test: atest --test-mapping services/core/java/com/android/server/hdmi:postsubmit
This commit is contained in:
Nick Chalko
2020-03-10 06:55:19 -07:00
parent f5b1460cfd
commit dc6fbe5dfb
3 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
{
"postsubmit": [
{
"name": "FrameworksServicesTests",
"options": [
{
"include-filter": "com.android.server.hdmi"
},
{
"include-annotation": "android.platform.test.annotations.Presubmit"
},
{
"exclude-annotation": "androidx.test.filters.FlakyTest"
},
{
"exclude-annotation": "org.junit.Ignore"
}
]
}
],
"postsubmit": [
{
"name": "FrameworksServicesTests",
"options": [
{
"include-filter": "com.android.server.hdmi"
},
{
"exclude-annotation": "org.junit.Ignore"
}
]
}
]
}

View File

@@ -538,6 +538,7 @@ public class HdmiCecLocalDeviceAudioSystemTest {
}
@Test
@Ignore("b/151150320")
public void handleSystemAudioModeRequest_fromNonTV_tVNotSupport() {
HdmiCecMessage message =
HdmiCecMessageBuilder.buildSystemAudioModeRequest(
@@ -587,6 +588,7 @@ public class HdmiCecLocalDeviceAudioSystemTest {
}
@Test
@Ignore("b/151150320")
public void handleRoutingChange_currentActivePortIsHome() {
HdmiCecMessage message =
HdmiCecMessageBuilder.buildRoutingChange(ADDR_TV, 0x3000, SELF_PHYSICAL_ADDRESS);

View File

@@ -139,6 +139,7 @@ public class HdmiCecLocalDevicePlaybackTest {
}
@Test
@Ignore("b/151147315")
public void doNotWakeUpOnHotPlug_PlugIn() {
mWokenUp = false;
mHdmiCecLocalDevicePlayback.onHotplug(0, true);
@@ -146,6 +147,7 @@ public class HdmiCecLocalDevicePlaybackTest {
}
@Test
@Ignore("b/151147315")
public void doNotWakeUpOnHotPlug_PlugOut() {
mWokenUp = false;
mHdmiCecLocalDevicePlayback.onHotplug(0, false);