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

Commit 347bdd9b authored by Brad Ebinger's avatar Brad Ebinger Committed by Automerger Merge Worker
Browse files

Merge "Call tearDown in tests that extend TelephonyTest" am: cd035e1c am: bec343e3

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1646896

Change-Id: I11010a2fa04489c6dd3d96bd0038ed7ea8ef5517
parents ac2b9cf6 bec343e3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ import android.telephony.TelephonyManager;
import android.testing.AndroidTestingRunner;
import android.testing.TestableLooper;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -52,6 +53,11 @@ public class RadioInterfaceCapabilityControllerTest extends TelephonyTest {
        super.setUp(getClass().getSimpleName());
    }

    @After
    public void tearDown() throws Exception {
        super.tearDown();
    }

    @Test
    public void testRadioInterfaceCapabilities() {
        final RadioInterfaceCapabilityController capabilities =
+5 −2
Original line number Diff line number Diff line
@@ -21,15 +21,18 @@ import static org.junit.Assert.assertTrue;

import android.os.SystemClock;

import androidx.test.runner.AndroidJUnit4;

import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

public class SlidingWindowEventCounterTest extends TelephonyTest {
@RunWith(AndroidJUnit4.class)
public class SlidingWindowEventCounterTest {
    long mInitialTime;

    @Before
    public void setUp() throws Exception {
        super.setUp(getClass().getSimpleName());
        mInitialTime = SystemClock.elapsedRealtime();
    }