Commit 646bf565 by tonihei Committed by Marc Baechinger

Update initial bitrate estimates

#minor-release

PiperOrigin-RevId: 455140203
parent 691b392b
...@@ -38,6 +38,7 @@ import androidx.test.core.app.ApplicationProvider; ...@@ -38,6 +38,7 @@ import androidx.test.core.app.ApplicationProvider;
import androidx.test.ext.junit.runners.AndroidJUnit4; import androidx.test.ext.junit.runners.AndroidJUnit4;
import java.util.Random; import java.util.Random;
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.robolectric.Shadows; import org.robolectric.Shadows;
...@@ -125,6 +126,7 @@ public final class DefaultBandwidthMeterTest { ...@@ -125,6 +126,7 @@ public final class DefaultBandwidthMeterTest {
/* subType= */ 0, /* subType= */ 0,
/* isAvailable= */ true, /* isAvailable= */ true,
CONNECTED); CONNECTED);
setNetworkCountryIso("non-existent-country-to-force-default-values");
} }
@Test @Test
...@@ -378,6 +380,7 @@ public final class DefaultBandwidthMeterTest { ...@@ -378,6 +380,7 @@ public final class DefaultBandwidthMeterTest {
assertThat(initialEstimateFast).isGreaterThan(initialEstimateSlow); assertThat(initialEstimateFast).isGreaterThan(initialEstimateSlow);
} }
@Ignore // 5G-SA isn't widespread enough yet to define a slow and fast country for testing.
@Test @Test
@Config(minSdk = 29) // 5G-SA detection support was added in API 29. @Config(minSdk = 29) // 5G-SA detection support was added in API 29.
public void public void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment