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

Side by Side Diff: mojo/spy/ui/ui_unittest.py

Issue 278703002: Initial mojo spy skeleton based on tvcm (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready to land Created 6 years, 7 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 | Annotate | Revision Log
« mojo/spy/ui/spy_shell_to_html.py ('K') | « mojo/spy/ui/tvcm_stub.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 (c) 2014 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2014 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 from telemetry.web_components import web_components_project 5 from ui import spy_project
6 from tvcm import module_test_case 6 from tvcm import module_test_case
7 7
8 8
9 def load_tests(_, _2, _3): 9 def load_tests(_, _2, _3):
10 project = web_components_project.WebComponentsProject() 10 project = spy_project.SpyProject()
11 suite = module_test_case.DiscoverTestsInModule( 11 suite = module_test_case.DiscoverTestsInModule(
12 project, 12 project,
13 project.telemetry_path) 13 project.spy_path)
14 assert suite.countTestCases() > 0, 'Expected to find at least one test.' 14 assert suite.countTestCases() > 0, 'Expected to find at least one test.'
15 return suite 15 return suite
OLDNEW
« mojo/spy/ui/spy_shell_to_html.py ('K') | « mojo/spy/ui/tvcm_stub.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698