| Index: chrome/test/functional/chromoting/me2me_enable.py
|
| ===================================================================
|
| --- chrome/test/functional/chromoting/me2me_enable.py (revision 0)
|
| +++ chrome/test/functional/chromoting/me2me_enable.py (revision 0)
|
| @@ -0,0 +1,39 @@
|
| +#!/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
|
| +
|
| +os.sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
| +
|
| +import pyauto_functional # Must come before chromoting and pyauto.
|
| +import chromoting
|
| +import pyauto
|
| +
|
| +import chromoting_base
|
| +
|
| +class Me2MeEnable(chromoting_base.ChromotingBase):
|
| + """Chromoting me2me enable/disable related test cases."""
|
| +
|
| + def setUp(self):
|
| + """Set up for me2me enable test."""
|
| + super(Me2MeEnable, self).setUp()
|
| +
|
| + self.InstallHostDaemon()
|
| + self._app = self.InstallExtension(self.GetWebappPath())
|
| + self.host.LaunchApp(self._app)
|
| + self.host.Authenticate()
|
| + self.host.GetMe2MeStarted()
|
| +
|
| + def tearDown(self):
|
| + """Mainly uninstalls the host daemon."""
|
| + self.UninstallHostDaemon()
|
| +
|
| + def testMe2MeEnableDisable(self):
|
| + """Enables remote connections, exercising different pin conditions and then disable it."""
|
| + self.host.EnableConnectionsInstalled(True)
|
| + self.host.DisableConnections()
|
| +
|
| +if __name__ == '__main__':
|
| + pyauto_functional.Main()
|
|
|
| Property changes on: chrome/test/functional/chromoting/me2me_enable.py
|
| ___________________________________________________________________
|
| Added: svn:executable
|
| + *
|
|
|
|
|