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

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

Issue 23359003: Eliminate unused PYAUTO tests and TestingAutomationProvider methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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_login.py ('k') | chrome/test/functional/chromeos_onc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/chromeos_offline.py
diff --git a/chrome/test/functional/chromeos_offline.py b/chrome/test/functional/chromeos_offline.py
deleted file mode 100755
index a4120800cbcb55ef408b0e6d8b3704e9deecc95b..0000000000000000000000000000000000000000
--- a/chrome/test/functional/chromeos_offline.py
+++ /dev/null
@@ -1,30 +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 pyauto_functional
-import pyauto
-
-
-class TestOffline(pyauto.PyUITest):
- """Tests the offline detection for ChromeOS."""
-
- assert pyauto.PyUITest.IsChromeOS(), 'Works on ChromeOS only.'
-
- def tearDown(self):
- self.RestoreOnline()
- pyauto.PyUITest.tearDown(self)
-
- def testGoOffline(self):
- """Tests the GoOffline pyauto method."""
-
- self.GoOffline()
- # Device takes a little bit of time to realize it's offline/online.
- self.assertTrue(self.WaitUntil(
- lambda: self.NetworkScan().get('offline_mode')),
- msg='We are not offline.')
-
-
-if __name__ == '__main__':
- pyauto_functional.Main()
« no previous file with comments | « chrome/test/functional/chromeos_login.py ('k') | chrome/test/functional/chromeos_onc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698