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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater_unittest.py

Issue 2626183004: W3C test importer: Fix path to manifest command. (Closed)
Patch Set: Update unit test Created 3 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import unittest 5 import unittest
6 6
7 from webkitpy.common.host_mock import MockHost 7 from webkitpy.common.host_mock import MockHost
8 from webkitpy.common.system.executive_mock import MockExecutive 8 from webkitpy.common.system.executive_mock import MockExecutive
9 from webkitpy.w3c.deps_updater import DepsUpdater 9 from webkitpy.w3c.deps_updater import DepsUpdater
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 # asserts that DepsUpdater._generate_manifest would invoke the script. 105 # asserts that DepsUpdater._generate_manifest would invoke the script.
106 host = MockHost() 106 host = MockHost()
107 updater = DepsUpdater(host) 107 updater = DepsUpdater(host)
108 updater._generate_manifest( 108 updater._generate_manifest(
109 '/mock-checkout/third_party/WebKit/wpt', 109 '/mock-checkout/third_party/WebKit/wpt',
110 '/mock-checkout/third_party/WebKit/LayoutTests/imported/wpt') 110 '/mock-checkout/third_party/WebKit/LayoutTests/imported/wpt')
111 self.assertEqual( 111 self.assertEqual(
112 host.executive.calls, 112 host.executive.calls,
113 [ 113 [
114 [ 114 [
115 '/mock-checkout/third_party/WebKit/Tools/Scripts/webkitpy/th irdparty/wpt/manifest', 115 '/mock-checkout/third_party/WebKit/Tools/Scripts/webkitpy/th irdparty/wpt/wpt/manifest',
116 '--work', 116 '--work',
117 '--tests-root', 117 '--tests-root',
118 '/mock-checkout/third_party/WebKit/LayoutTests/imported/wpt' 118 '/mock-checkout/third_party/WebKit/LayoutTests/imported/wpt'
119 ], 119 ],
120 [ 120 [
121 'git', 121 'git',
122 'add', 122 'add',
123 '/mock-checkout/third_party/WebKit/LayoutTests/imported/wpt/ MANIFEST.json' 123 '/mock-checkout/third_party/WebKit/LayoutTests/imported/wpt/ MANIFEST.json'
124 ] 124 ]
125 ]) 125 ])
OLDNEW
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698