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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py

Issue 2206913003: Remove webkitpy/common/config/urls.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update source view URL Created 4 years, 4 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/performance_tests/perftestsrunner.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/performance_tests/perftestsrunner_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py
index 2047e2bcac2936428e450fc412e37622c4d5cdc9..68c2e24c407203537e9ffc64e2e8815f8db6b0e7 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py
@@ -272,8 +272,11 @@ Finished: 0.1 s
"""
- results = {'url': 'https://src.chromium.org/viewvc/blink/trunk/PerformanceTests/Bindings/event-target-wrapper.html',
- 'metrics': {'Time': {'current': [[1486.0, 1471.0, 1510.0, 1505.0, 1478.0, 1490.0]] * 4}}}
+ results = {
+ 'url': ('https://chromium.googlesource.com/chromium/src/+/master/third_party/WebKit'
+ '/PerformanceTests/Bindings/event-target-wrapper.html'),
+ 'metrics': {'Time': {'current': [[1486.0, 1471.0, 1510.0, 1505.0, 1478.0, 1490.0]] * 4}}
+ }
class SomeParserTestData:
@@ -526,9 +529,11 @@ class IntegrationTest(unittest.TestCase):
return logs
_event_target_wrapper_and_inspector_results = {
- "Bindings":
- {"url": "https://src.chromium.org/viewvc/blink/trunk/PerformanceTests/Bindings",
- "tests": {"event-target-wrapper": EventTargetWrapperTestData.results}}}
+ "Bindings": {
+ "url": "https://chromium.googlesource.com/chromium/src/+/master/third_party/WebKit/PerformanceTests/Bindings",
+ "tests": {"event-target-wrapper": EventTargetWrapperTestData.results}
+ }
+ }
def test_run_with_json_output(self):
runner, port = self.create_runner_and_setup_results_template(args=['--output-json-path=/mock-checkout/output.json',
@@ -735,11 +740,13 @@ class IntegrationTest(unittest.TestCase):
self.assertEqual(output['tests'].keys(), ['Bindings'])
self.assertEqual(sorted(output['tests']['Bindings'].keys()), ['tests', 'url'])
self.assertEqual(output['tests']['Bindings']['url'],
- 'https://src.chromium.org/viewvc/blink/trunk/PerformanceTests/Bindings')
+ 'https://chromium.googlesource.com/chromium/src/+/master/third_party/WebKit/PerformanceTests/Bindings')
self.assertEqual(output['tests']['Bindings']['tests'].keys(), ['event-target-wrapper'])
self.assertEqual(output['tests']['Bindings']['tests']['event-target-wrapper'], {
- 'url': 'https://src.chromium.org/viewvc/blink/trunk/PerformanceTests/Bindings/event-target-wrapper.html',
- 'metrics': {'Time': {'current': [[1486.0, 1471.0, 1510.0, 1505.0, 1478.0, 1490.0]] * 4}}})
+ 'url': ('https://chromium.googlesource.com/chromium/src/+/master/third_party/WebKit'
+ '/PerformanceTests/Bindings/event-target-wrapper.html'),
+ 'metrics': {'Time': {'current': [[1486.0, 1471.0, 1510.0, 1505.0, 1478.0, 1490.0]] * 4}}
+ })
def test_run_with_repeat(self):
self.maxDiff = None
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698