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

Unified Diff: chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py

Issue 7838033: Added login to UITests and added tests to filter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments + new blacklist files. Created 9 years, 3 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/chromeos/autotest/files/client/site_tests/desktopui_UITest/blacklists.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py
diff --git a/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py b/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py
index 95874c109507f8fa39768e36eef626c65ea5b2f8..896568bbd0d188fe1eb23b447c7c836d800f052a 100644
--- a/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py
+++ b/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py
@@ -1,18 +1,26 @@
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 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.
from autotest_lib.client.cros import chrome_test
+from autotest_lib.client.cros import cros_ui_test
+from blacklists import blacklist, blacklist_vm
-class desktopui_UITest(chrome_test.ChromeTestBase):
+class desktopui_UITest(chrome_test.ChromeTestBase, cros_ui_test.UITest):
version = 1
-
binary_to_run='ui_tests'
- blacklist = []
+
+ def initialize(self, creds='$default'):
+ chrome_test.ChromeTestBase.initialize(self, False)
+ cros_ui_test.UITest.initialize(self, creds)
+
+ def cleanup(self):
+ cros_ui_test.UITest.cleanup(self)
+ chrome_test.ChromeTestBase.cleanup(self)
def run_once(self, group=0, total_groups=4):
tests_to_run = self.filter_bad_tests(
- self.generate_test_list(self.binary_to_run, group, total_groups))
- tests_to_run.extend(map(lambda(x): '-'+x, self.blacklist))
+ self.generate_test_list(self.binary_to_run, group, total_groups),
+ blacklist + blacklist_vm)
self.run_chrome_test(self.binary_to_run,
'--gtest_filter=%s' % ':'.join(tests_to_run))
« no previous file with comments | « chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/blacklists.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698