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

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

Issue 6410134: Use named automation interface to control primary chrome on ChromeOS (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: nit Created 9 years, 10 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/PYAUTO_TESTS ('k') | chrome/test/pyautolib/chromeos/chromeos_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/chromeos_basic.py
diff --git a/chrome/test/functional/chromeos_basic.py b/chrome/test/functional/chromeos_basic.py
new file mode 100644
index 0000000000000000000000000000000000000000..857019b7d5b91352fe6091a75d60c34ce0d97a95
--- /dev/null
+++ b/chrome/test/functional/chromeos_basic.py
@@ -0,0 +1,23 @@
+#!/usr/bin/python
+# 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.
+
+import pyauto_functional
+import pyauto
+
+
+class ChromeosBasic(pyauto.PyUITest):
+ """Basic tests for ChromeOS.
+
+ Requires ChromeOS to be logged in.
+ """
+
+ def testAppendTabs(self):
+ """Basic test for primary chrome on ChromeOS (named testing interface)."""
+ self.AppendTab(pyauto.GURL('about:version'))
+ self.assertEqual(self.GetTabCount(), 2, msg='Expected 2 tabs')
+
+
+if __name__ == '__main__':
+ pyauto_functional.Main()
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | chrome/test/pyautolib/chromeos/chromeos_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698