| Index: build/android/pylib/gtest/test_package_apk.py
|
| diff --git a/build/android/pylib/gtest/test_package_apk.py b/build/android/pylib/gtest/test_package_apk.py
|
| index 3d9a926e422080bd43f3e72317f460fd924fce42..f18d87cd44d0fe6530a5c72c15e920c53615a95f 100644
|
| --- a/build/android/pylib/gtest/test_package_apk.py
|
| +++ b/build/android/pylib/gtest/test_package_apk.py
|
| @@ -73,6 +73,10 @@ class TestPackageApk(TestPackage):
|
| args += ['shell', 'cat', self._GetFifo()]
|
| return pexpect.spawn('adb', args, timeout=timeout, logfile=logfile)
|
|
|
| + def ClearApplicationState(self):
|
| + """Clear the application state."""
|
| + self.adb.ClearApplicationState(self._apk_package_name)
|
| +
|
| def GetAllTests(self):
|
| """Returns a list of all tests available in the test suite."""
|
| self._CreateTestRunnerScript('--gtest_list_tests')
|
|
|