Index: tools/telemetry/telemetry/core/chrome/inspector_memory_unittest.py |
diff --git a/tools/telemetry/telemetry/core/chrome/inspector_memory_unittest.py b/tools/telemetry/telemetry/core/chrome/inspector_memory_unittest.py |
deleted file mode 100644 |
index bb4761b586be09855676d16216c76391fbb08c79..0000000000000000000000000000000000000000 |
--- a/tools/telemetry/telemetry/core/chrome/inspector_memory_unittest.py |
+++ /dev/null |
@@ -1,23 +0,0 @@ |
-# Copyright (c) 2013 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. |
- |
-from telemetry.core import util |
-from telemetry.unittest import tab_test_case |
- |
-class InspectorMemoryTest(tab_test_case.TabTestCase): |
- def testGetDOMStats(self): |
- self._browser.SetHTTPServerDirectories(util.GetUnittestDataDir()) |
- |
- # Due to an issue with CrOS, we create a new tab here rather than |
- # using self._tab to get a consistent starting page on all platforms |
- tab = self._browser.tabs.New() |
- |
- tab.Navigate( |
- self._browser.http_server.UrlOf('dom_counter_sample.html')) |
- tab.WaitForDocumentReadyStateToBeComplete() |
- |
- counts = tab.dom_stats |
- self.assertEqual(counts['document_count'], 2) |
- self.assertEqual(counts['node_count'], 18) |
- self.assertEqual(counts['event_listener_count'], 2) |