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

Unified Diff: build/android/pylib/gtest/test_package.py

Issue 788753002: [Android] Implement gtest and local in platform mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix findbugs + move log parsing up to GtestTestInstance Created 6 years 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 | « build/android/pylib/gtest/local_device_gtest_run.py ('k') | build/android/pylib/gtest/test_package_apk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/test_package.py
diff --git a/build/android/pylib/gtest/test_package.py b/build/android/pylib/gtest/test_package.py
index a0a6b645c83fff72ec1b02dd9760659143354677..dbd47bfe19cca4068168bf363d13e5d1e82544aa 100644
--- a/build/android/pylib/gtest/test_package.py
+++ b/build/android/pylib/gtest/test_package.py
@@ -64,35 +64,3 @@ class TestPackage(object):
"""
raise NotImplementedError('Method must be overriden.')
- @staticmethod
- def _ParseGTestListTests(raw_list):
- """Parses a raw test list as provided by --gtest_list_tests.
-
- Args:
- raw_list: The raw test listing with the following format:
-
- IPCChannelTest.
- SendMessageInChannelConnected
- IPCSyncChannelTest.
- Simple
- DISABLED_SendWithTimeoutMixedOKAndTimeout
-
- Returns:
- A list of all tests. For the above raw listing:
-
- [IPCChannelTest.SendMessageInChannelConnected, IPCSyncChannelTest.Simple,
- IPCSyncChannelTest.DISABLED_SendWithTimeoutMixedOKAndTimeout]
- """
- ret = []
- current = ''
- for test in raw_list:
- if not test:
- continue
- if test[0] != ' ':
- test_case = test.split()[0]
- if test_case.endswith('.'):
- current = test_case
- elif not 'YOU HAVE' in test:
- test_name = test.split()[0]
- ret += [current + test_name]
- return ret
« no previous file with comments | « build/android/pylib/gtest/local_device_gtest_run.py ('k') | build/android/pylib/gtest/test_package_apk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698