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

Side by Side Diff: client/bin/site_ui_test.py

Issue 5519008: Create a cros directory under client, and start moving things into it. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 10 years 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
« no previous file with comments | « client/bin/site_sysinfo.py ('k') | client/common_lib/cros/autoupdater.py » ('j') | 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) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS 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 dbus, logging, os, re, shutil, socket, sys, time 5 import dbus, logging, os, re, shutil, socket, sys, time
6 from autotest_lib.client.bin import chromeos_constants, site_cryptohome 6 from autotest_lib.client.bin import site_cryptohome
7 from autotest_lib.client.bin import site_login, site_utils, test as bin_test 7 from autotest_lib.client.bin import site_login, site_utils, test as bin_test
8 from autotest_lib.client.bin import site_log_reader 8 from autotest_lib.client.bin import site_log_reader
9 from autotest_lib.client.common_lib import error, site_ui 9 from autotest_lib.client.common_lib import error, site_ui
10 from autotest_lib.client.common_lib import site_auth_server, site_dns_server 10 from autotest_lib.client.common_lib import site_auth_server, site_dns_server
11 from autotest_lib.client.cros import constants as chromeos_constants
11 from dbus.mainloop.glib import DBusGMainLoop 12 from dbus.mainloop.glib import DBusGMainLoop
12 13
13 sys.path.append(os.environ.get("SYSROOT", "/usr/local") + 14 sys.path.append(os.environ.get("SYSROOT", "/usr/local") +
14 "/usr/lib/flimflam/test") 15 "/usr/lib/flimflam/test")
15 import flimflam 16 import flimflam
16 17
17 18
18 class UITest(bin_test.test): 19 class UITest(bin_test.test):
19 """Base class for tests that drive some portion of the user interface. 20 """Base class for tests that drive some portion of the user interface.
20 21
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 324
324 self.stop_authserver() 325 self.stop_authserver()
325 self.__log_crashed_processes(self.crash_blacklist) 326 self.__log_crashed_processes(self.crash_blacklist)
326 327
327 328
328 def get_auth_endpoint_misses(self): 329 def get_auth_endpoint_misses(self):
329 if hasattr(self, '_authServer'): 330 if hasattr(self, '_authServer'):
330 return self._authServer.get_endpoint_misses() 331 return self._authServer.get_endpoint_misses()
331 else: 332 else:
332 return {} 333 return {}
OLDNEW
« no previous file with comments | « client/bin/site_sysinfo.py ('k') | client/common_lib/cros/autoupdater.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698