| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Provides stubs for os, sys and subprocess for testing | 5 """Provides stubs for os, sys and subprocess for testing |
| 6 | 6 |
| 7 This test allows one to test code that itself uses os, sys, and subprocess. | 7 This test allows one to test code that itself uses os, sys, and subprocess. |
| 8 """ | 8 """ |
| 9 | 9 |
| 10 import os | 10 import os |
| 11 import re | 11 import re |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 self.platform = '' | 262 self.platform = '' |
| 263 | 263 |
| 264 | 264 |
| 265 class ThermalThrottleModuleStub(object): | 265 class ThermalThrottleModuleStub(object): |
| 266 class ThermalThrottleStub(object): | 266 class ThermalThrottleStub(object): |
| 267 def __init__(self, adb): | 267 def __init__(self, adb): |
| 268 pass | 268 pass |
| 269 | 269 |
| 270 def __init__(self): | 270 def __init__(self): |
| 271 self.ThermalThrottle = ThermalThrottleModuleStub.ThermalThrottleStub | 271 self.ThermalThrottle = ThermalThrottleModuleStub.ThermalThrottleStub |
| OLD | NEW |