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

Commit d6b66a77 authored by Virkumar Karavate's avatar Virkumar Karavate Committed by Android (Google) Code Review
Browse files

Merge "(ImsService API changes for Better IMS Threading) Fix Unit Test cases for opt/telephony"

parents 20e17bf4 930ed9af
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -48,6 +48,10 @@ public class ImsConfigImplTest {
        // for testing caching
        private boolean mIsGetConfigCalled = false;

        ImsConfigImpl() {
            super(Runnable::run);
        }

        @Override
        public int setConfig(int item, int value) {
            latestIntConfig = new Pair<>(item, value);
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ public class ImsRegistrationTests {
    @Before
    public void setup() throws RemoteException {
        MockitoAnnotations.initMocks(this);
        mRegistration = new ImsRegistrationImplBase();
        mRegistration = new ImsRegistrationImplBase(Runnable::run);
        mRegBinder = mRegistration.getBinder();
        mRegBinder.addRegistrationCallback(mCallback);
    }
+4 −0
Original line number Diff line number Diff line
@@ -40,6 +40,10 @@ public class TestMmTelFeature extends MmTelFeature {
    public CountDownLatch configuredRtpHeaderExtensions = new CountDownLatch(1);
    Set<RtpHeaderExtensionType> receivedExtensions = null;

    public TestMmTelFeature() {
        super(Runnable::run);
    }

    private final TestImsCallSession mCallSession = new TestImsCallSession();
    private class TestImsCallSession extends ImsCallSessionImplBase {