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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py

Issue 2735443002: Refactor ServiceWorker tests for inclusion in WPT (Closed)
Patch Set: Upstream service worker nav. preload tests to WPT Created 3 years, 9 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 | « third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
index 44b772a621ab7a9c88b77dc340f3a97fa28190e8..73616d9f98d9fd018b8effd5e6da73b6a49e7b7b 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
@@ -490,7 +490,10 @@ class PortTest(unittest.TestCase):
def test_is_wptserve_test(self):
port = self.make_port()
self.assertTrue(port.is_wptserve_test('external/wpt/foo/bar.html'))
+ self.assertTrue(port.is_wptserve_test('virtual/a-name/external/wpt/baz/qux.htm'))
self.assertFalse(port.is_wptserve_test('http/wpt/foo.html'))
+ self.assertFalse(port.is_wptserve_test('virtual/external/wpt/baz/qux.htm'))
+ self.assertFalse(port.is_wptserve_test('not-virtual/a-name/external/wpt/baz/qux.htm'))
def test_default_results_directory(self):
port = self.make_port(options=optparse.Values({'target': 'Default', 'configuration': 'Release'}))
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698