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

Unified Diff: tools/chrome_remote_control/chrome_remote_control/temporary_http_server_unittest.py

Issue 11361165: [chrome_remote_control] Rename chrome_remote_control to telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: tools/chrome_remote_control/chrome_remote_control/temporary_http_server_unittest.py
diff --git a/tools/chrome_remote_control/chrome_remote_control/temporary_http_server_unittest.py b/tools/chrome_remote_control/chrome_remote_control/temporary_http_server_unittest.py
deleted file mode 100644
index 62cf65fb606852fd4e313c63d6955f4277813b63..0000000000000000000000000000000000000000
--- a/tools/chrome_remote_control/chrome_remote_control/temporary_http_server_unittest.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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
-import unittest
-
-from chrome_remote_control import browser_finder
-from chrome_remote_control import options_for_unittests
-
-class TemporaryHTTPServerTest(unittest.TestCase):
- def testBasicHosting(self):
- unittest_data_dir = os.path.join(os.path.dirname(__file__),
- '..', 'unittest_data')
- options = options_for_unittests.Get()
- browser_to_create = browser_finder.FindBrowser(options)
- with browser_to_create.Create() as b:
- b.SetHTTPServerDirectory(unittest_data_dir)
- with b.ConnectToNthTab(0) as t:
- t.page.Navigate(b.http_server.UrlOf('/blank.html'))
- t.WaitForDocumentReadyStateToBeComplete()
- x = t.runtime.Evaluate('document.body.innerHTML')
- x = x.strip()
-
- self.assertEquals(x, 'Hello world')
-

Powered by Google App Engine
This is Rietveld 408576698