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

Unified Diff: chrome/test/functional/gtalk/pyauto_gtalk.py

Issue 8528012: Introduce Pyauto tests for Quasar (Google Talk Extension). (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
Index: chrome/test/functional/gtalk/pyauto_gtalk.py
===================================================================
--- chrome/test/functional/gtalk/pyauto_gtalk.py (revision 0)
+++ chrome/test/functional/gtalk/pyauto_gtalk.py (revision 0)
@@ -0,0 +1,32 @@
+#!/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.
+
+"""Setup for GTalk Pyauto tests."""
+
+import os
+import sys
+
+
+def _SetupPaths():
+ """Setting path to find pyauto_functional.py."""
+ gtalk_dir = os.path.abspath(os.path.dirname(__file__))
+ sys.path.append(gtalk_dir)
+ sys.path.append(os.path.normpath(os.path.join(gtalk_dir, os.pardir)))
+
+_SetupPaths()
+
+
+import pyauto_functional
+
+
+class Main(pyauto_functional.Main):
Nirnimesh 2011/11/30 23:57:36 This class is a no-op. You could directly use pyau
wud 2011/12/13 19:36:24 Ah, good point. Done.
+ """Main program for running PyAuto quasar tests."""
+
+ def __init__(self):
+ pyauto_functional.Main.__init__(self)
+
+
+if __name__ == '__main__':
+ Main()

Powered by Google App Engine
This is Rietveld 408576698