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

Unified Diff: build/android/pylib/perf_tests_helper.py

Issue 12847011: Remove unused PerfTestSetup class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/perf_tests_helper.py
diff --git a/build/android/pylib/perf_tests_helper.py b/build/android/pylib/perf_tests_helper.py
index d35aaca02dc703131388d20e82021db79050681d..7b296a855df8f58e3698f732731cd72c2eaf486f 100644
--- a/build/android/pylib/perf_tests_helper.py
+++ b/build/android/pylib/perf_tests_helper.py
@@ -179,20 +179,3 @@ class PerfControl(object):
scaling_governor_file = PerfControl._SCALING_GOVERNOR_FMT % cpu
if self._adb.FileExistsOnDevice(scaling_governor_file):
self._adb.SetProtectedFileContents(scaling_governor_file, value)
-
-
-class PerfTestSetup(PerfControl):
- """Provides methods for setting up a device for perf testing.
-
- TODO(aberent): remove once all tests have been moved to the new classes
- """
-
- def DropRamCaches(self):
- CacheControl(self._adb).DropRamCaches()
-
- def SetUp(self):
- self.SetHighPerfMode()
- self.DropRamCaches()
-
- def TearDown(self):
- self.ResetOriginalPerfMode()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698