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

Unified Diff: chrome/test/functional/chromeos_prefs.py

Issue 222873002: Remove pyauto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 9 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 | « chrome/test/functional/chromeos_power.py ('k') | chrome/test/functional/chromeos_security.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/chromeos_prefs.py
===================================================================
--- chrome/test/functional/chromeos_prefs.py (revision 261231)
+++ chrome/test/functional/chromeos_prefs.py (working copy)
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import os
-import sys
-import time
-
-import pyauto_functional # Must be imported before pyauto
-import pyauto
-
-sys.path.append('/usr/local') # Required to import autotest libs
-from autotest.cros import constants
-
-
-class ChromeosPrefsTest(pyauto.PyUITest):
- """TestCase for ChromeOS Preferences."""
-
- # Defined in src/chrome/browser/chromeos/login/user_manager.cc
- k_logged_in_users = 'LoggedInUsers'
- k_user_images = 'UserImages'
- k_image_path_node_name = 'path'
-
- def testAllUserImage(self):
- """Verify changing all available default user images in Change picture."""
-
- logged_in_user = constants.CREDENTIALS['$default'][0]
- for i in range(19):
- image = {
- "index": i,
- "path": ""
- }
- user_images = {}
- user_images[logged_in_user] = image
- self.SetLocalStatePrefs(ChromeosPrefsTest.k_user_images, user_images)
- self.RestartBrowser(clear_profile=False)
- current_user_images = self.GetLocalStatePrefsInfo().Prefs(
- ChromeosPrefsTest.k_user_images)
- current_image = current_user_images.get(logged_in_user)
- self.assertEqual(image, current_image,
- msg='Default user image was not set in preferences.')
-
-
-if __name__ == '__main__':
- pyauto_functional.Main()
« no previous file with comments | « chrome/test/functional/chromeos_power.py ('k') | chrome/test/functional/chromeos_security.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698