Loading tests/telephonytests/src/com/android/internal/telephony/RadioInterfaceCapabilityControllerTest.java +6 −0 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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 = Loading tests/telephonytests/src/com/android/internal/telephony/SlidingWindowEventCounterTest.java +5 −2 Original line number Diff line number Diff line Loading @@ -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(); } Loading Loading
tests/telephonytests/src/com/android/internal/telephony/RadioInterfaceCapabilityControllerTest.java +6 −0 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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 = Loading
tests/telephonytests/src/com/android/internal/telephony/SlidingWindowEventCounterTest.java +5 −2 Original line number Diff line number Diff line Loading @@ -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(); } Loading