Loading android/app/tests/unit/src/com/android/bluetooth/pbapclient/PbapClientServiceTest.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -50,6 +50,7 @@ import org.junit.After; import org.junit.Assert; import org.junit.Assert; import org.junit.Assume; import org.junit.Assume; import org.junit.Before; import org.junit.Before; import org.junit.Ignore; import org.junit.Rule; import org.junit.Rule; import org.junit.Test; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runner.RunWith; Loading Loading @@ -164,6 +165,7 @@ public class PbapClientServiceTest { assertThat(mService.connect(mRemoteDevice)).isFalse(); assertThat(mService.connect(mRemoteDevice)).isFalse(); } } @Ignore("b/273396169") @Test @Test public void testConnect_whenPolicyIsAllowed_returnsTrue() { public void testConnect_whenPolicyIsAllowed_returnsTrue() { int connectionPolicy = BluetoothProfile.CONNECTION_POLICY_ALLOWED; int connectionPolicy = BluetoothProfile.CONNECTION_POLICY_ALLOWED; Loading Loading
android/app/tests/unit/src/com/android/bluetooth/pbapclient/PbapClientServiceTest.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -50,6 +50,7 @@ import org.junit.After; import org.junit.Assert; import org.junit.Assert; import org.junit.Assume; import org.junit.Assume; import org.junit.Before; import org.junit.Before; import org.junit.Ignore; import org.junit.Rule; import org.junit.Rule; import org.junit.Test; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runner.RunWith; Loading Loading @@ -164,6 +165,7 @@ public class PbapClientServiceTest { assertThat(mService.connect(mRemoteDevice)).isFalse(); assertThat(mService.connect(mRemoteDevice)).isFalse(); } } @Ignore("b/273396169") @Test @Test public void testConnect_whenPolicyIsAllowed_returnsTrue() { public void testConnect_whenPolicyIsAllowed_returnsTrue() { int connectionPolicy = BluetoothProfile.CONNECTION_POLICY_ALLOWED; int connectionPolicy = BluetoothProfile.CONNECTION_POLICY_ALLOWED; Loading