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

Side by Side Diff: chrome/test/webdriver/test/chromedriver_paths.py

Issue 7331004: Move chromedriver tests to test subdirectory. Add script to run all chromedriver (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: ... Created 9 years, 5 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
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 import os 7 import os
8 8
9 9
10 def _SetupPaths(): 10 def _SetupPaths():
11 global SRC_THIRD_PARTY, PYTHON_BINDINGS, WEBDRIVER_TEST_DATA 11 global SRC_THIRD_PARTY, PYTHON_BINDINGS, WEBDRIVER_TEST_DATA
12 start_dir = os.path.abspath(os.path.dirname(__file__)) 12 start_dir = os.path.abspath(os.path.dirname(__file__))
13 J = os.path.join 13 J = os.path.join
14 SRC_THIRD_PARTY = J(start_dir, os.pardir, os.pardir, os.pardir, 'third_party') 14 SRC_THIRD_PARTY = J(start_dir, os.pardir, os.pardir, os.pardir, os.pardir,
15 'third_party')
15 webdriver = J(SRC_THIRD_PARTY, 'webdriver') 16 webdriver = J(SRC_THIRD_PARTY, 'webdriver')
16 PYTHON_BINDINGS = J(webdriver, 'python') 17 PYTHON_BINDINGS = J(webdriver, 'python')
17 WEBDRIVER_TEST_DATA = J(webdriver, 'test_data') 18 WEBDRIVER_TEST_DATA = J(webdriver, 'test_data')
18 19
19 _SetupPaths() 20 _SetupPaths()
OLDNEW
« no previous file with comments | « chrome/test/webdriver/test/chromedriver_launcher.py ('k') | chrome/test/webdriver/test/chromedriver_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698