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

Unified Diff: tools/telemetry/telemetry/core/platform/power_monitor/ippet_power_monitor_unittest.py

Issue 1090703002: Remove IPPET support from Telemetry since we don't use it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « tools/telemetry/telemetry/core/platform/power_monitor/ippet_power_monitor.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/platform/power_monitor/ippet_power_monitor_unittest.py
diff --git a/tools/telemetry/telemetry/core/platform/power_monitor/ippet_power_monitor_unittest.py b/tools/telemetry/telemetry/core/platform/power_monitor/ippet_power_monitor_unittest.py
deleted file mode 100644
index 180f176764a883fb479be1653f5efe0c8ac65c57..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/core/platform/power_monitor/ippet_power_monitor_unittest.py
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2014 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 logging
-import unittest
-
-from telemetry.core.platform.power_monitor import ippet_power_monitor
-from telemetry.core.platform import win_platform_backend
-from telemetry import decorators
-
-
-class IppetPowerMonitorTest(unittest.TestCase):
- @decorators.Disabled
- def testFindOrInstallIppet(self):
- self.assertTrue(ippet_power_monitor.IppetPath())
-
- @decorators.Enabled('win')
- def testIppetRunsWithoutErrors(self):
- # Very basic test, doesn't validate any output data.
- platform_backend = win_platform_backend.WinPlatformBackend()
- power_monitor = ippet_power_monitor.IppetPowerMonitor(platform_backend)
- if not power_monitor.CanMonitorPower():
- logging.warning('Test not supported on this platform.')
- return
-
- power_monitor.StartMonitoringPower(None)
- statistics = power_monitor.StopMonitoringPower()
-
- self.assertEqual(statistics['identifier'], 'ippet')
« no previous file with comments | « tools/telemetry/telemetry/core/platform/power_monitor/ippet_power_monitor.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698