Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: adblockplussbrowser/src/test/java/org/adblockplus/sbrowser/contentblocker/engine/UtilsTest.kt

Issue 29757571: Issue 6591 - Bundle ABP for Samsung Internet China with Easylist for China (Closed)
Patch Set: Created April 20, 2018, 1:27 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: adblockplussbrowser/src/test/java/org/adblockplus/sbrowser/contentblocker/engine/UtilsTest.kt
===================================================================
--- a/adblockplussbrowser/src/test/java/org/adblockplus/sbrowser/contentblocker/engine/UtilsTest.kt
+++ b/adblockplussbrowser/src/test/java/org/adblockplus/sbrowser/contentblocker/engine/UtilsTest.kt
@@ -54,7 +54,7 @@
fun subscriptionUtilsChooseDefaultSubscriptionForEmptyList()
{
assertEquals(SubscriptionUtils.chooseDefaultSubscriptionUrl(
- emptyList<DefaultSubscriptionInfo>()), Engine.EASYLIST_URL)
+ emptyList<DefaultSubscriptionInfo>()), SubscriptionUtils.EASYLIST_URL)
}
@Test
@@ -62,7 +62,7 @@
{
Resources.getSystem().configuration.setLocale(Locale.CHINA)
assertNotEquals(SubscriptionUtils.chooseDefaultSubscriptionUrl(
- mockedDefaultSubs?.adsSubscriptions), Engine.EASYLIST_URL)
+ mockedDefaultSubs?.adsSubscriptions), SubscriptionUtils.EASYLIST_URL)
}
@Test
@@ -78,7 +78,7 @@
{
Resources.getSystem().configuration.setLocale(Locale.forLanguageTag("ab-xy"))
assertEquals(SubscriptionUtils.chooseDefaultSubscriptionUrl(
- mockedDefaultSubs?.adsSubscriptions), Engine.EASYLIST_URL)
+ mockedDefaultSubs?.adsSubscriptions), SubscriptionUtils.EASYLIST_URL)
}
@Test

Powered by Google App Engine
This is Rietveld