Index: build/android/pylib/gtest/test_package_executable.py |
diff --git a/build/android/pylib/gtest/test_package_executable.py b/build/android/pylib/gtest/test_package_executable.py |
index cb15092a6ce2db96329620b829d842857728c2b8..690c1018d04b100e5387cb4cf10ffb87b0f568a3 100644 |
--- a/build/android/pylib/gtest/test_package_executable.py |
+++ b/build/android/pylib/gtest/test_package_executable.py |
@@ -76,6 +76,10 @@ class TestPackageExecutable(TestPackage): |
export_string += 'export GCOV_PREFIX_STRIP=%s\n' % depth |
return export_string |
+ def ClearApplicationState(self): |
+ """Clear the application state.""" |
+ self.adb.KillAllBlocking(self.test_suite_basename, 30) |
+ |
def GetAllTests(self): |
"""Returns a list of all tests available in the test suite.""" |
all_tests = self.adb.RunShellCommand( |