Ignore failing test of EntityHeaderControllerTest

Bug: 313616350
Test: atest
Change-Id: If2cbae5d95f78da92f7532516534ba22c126771b
This commit is contained in:
Yanting Yang
2023-11-28 21:12:31 +08:00
parent 28bbbf783b
commit 6028b68840

View File

@@ -45,6 +45,7 @@ import com.android.settings.R;
import com.android.settingslib.widget.LayoutPreference; import com.android.settingslib.widget.LayoutPreference;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.mockito.Answers; import org.mockito.Answers;
@@ -207,6 +208,7 @@ public class EntityHeaderControllerTest {
verify(activity, never()).startActivity(any(Intent.class)); verify(activity, never()).startActivity(any(Intent.class));
} }
@Ignore("b/313616350")
@Test @Test
public void bindButton_hasAppInfo_shouldAttachClickListener() { public void bindButton_hasAppInfo_shouldAttachClickListener() {
final View appLinks = mLayoutInflater.inflate( final View appLinks = mLayoutInflater.inflate(