Chromium Code Reviews| Index: tools/telemetry/telemetry/core/platform/platform_backend_unittest.py |
| diff --git a/tools/telemetry/telemetry/core/platform/platform_backend_unittest.py b/tools/telemetry/telemetry/core/platform/platform_backend_unittest.py |
| deleted file mode 100644 |
| index 4909349d7fd4b5101910981155e141815063aa9a..0000000000000000000000000000000000000000 |
| --- a/tools/telemetry/telemetry/core/platform/platform_backend_unittest.py |
| +++ /dev/null |
| @@ -1,21 +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 import factory |
| - |
| - |
| -class PlatformBackendTest(unittest.TestCase): |
| - def testPowerMonitoringSync(self): |
|
jeremy
2014/04/03 11:16:30
Please don't delete this unit test - this is the o
qsr
2014/04/03 12:02:43
Done.
|
| - # Tests that the act of monitoring power doesn't blow up. |
| - backend = factory.GetPlatformBackendForCurrentOS() |
| - if not backend.CanMonitorPowerSync(): |
| - logging.warning('Test not supported on this platform.') |
| - return |
| - |
| - output = backend.MonitorPowerSync(1) |
| - self.assertTrue(output.has_key('power_samples_mw')) |
| - self.assertTrue(output.has_key('identifier')) |