Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: tools/android/loading/loading_model_unittest.py

Issue 1645953002: Conditional import of adblocker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use new filters for ad filtering Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/android/loading/loading_model.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/loading/loading_model_unittest.py
diff --git a/tools/android/loading/loading_model_unittest.py b/tools/android/loading/loading_model_unittest.py
index 7033cef85a7e81179b75e302dca7c8225e61b783..264412a67d806b4983789697a144ce484dc9ca40 100644
--- a/tools/android/loading/loading_model_unittest.py
+++ b/tools/android/loading/loading_model_unittest.py
@@ -190,18 +190,6 @@ class LoadingModelTestCase(unittest.TestCase):
self.assertEqual(self.SuccessorIndicies(graph._nodes[5]), [])
self.assertEqual(self.SortedIndicies(graph), [0, 1, 2, 3, 4, 5])
- def test_AdUrl(self):
- self.assertTrue(loading_model.ResourceGraph._IsAdUrl(
- 'http://afae61024b33032ef.profile.sfo20.cloudfront.net/test.png'))
- self.assertFalse(loading_model.ResourceGraph._IsAdUrl(
- 'http://afae61024b33032ef.profile.sfo20.cloudfront.net/tst.png'))
-
- self.assertTrue(loading_model.ResourceGraph._IsAdUrl(
- 'http://ums.adtechus.com/mapuser?providerid=1003;'
- 'userid=RUmecco4z3o===='))
- self.assertTrue(loading_model.ResourceGraph._IsAdUrl(
- 'http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'))
-
if __name__ == '__main__':
unittest.main()
« no previous file with comments | « tools/android/loading/loading_model.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698