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

Unified Diff: tools/telemetry/telemetry/user_story/android/shared_app_state.py

Issue 850833002: The TBM WillRunUserStory must run after the android app has launched. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: tools/telemetry/telemetry/user_story/android/shared_app_state.py
diff --git a/tools/telemetry/telemetry/user_story/android/shared_app_state.py b/tools/telemetry/telemetry/user_story/android/shared_app_state.py
index 79777e41c8b622a75a6a83a4135625e43b35068e..8c16425bb1373a015cae5104b3d6d8d1681d8d80 100644
--- a/tools/telemetry/telemetry/user_story/android/shared_app_state.py
+++ b/tools/telemetry/telemetry/user_story/android/shared_app_state.py
@@ -52,10 +52,10 @@ class SharedAppState(shared_user_story_state.SharedUserStoryState):
def WillRunUserStory(self, user_story):
assert not self._android_app
- self._test.WillRunUserStory(self._android_platform.tracing_controller)
self._current_user_story = user_story
self._android_app = self._android_platform.LaunchAndroidApplication(
user_story.start_intent, user_story.is_app_ready_predicate)
+ self._test.WillRunUserStory(self._android_platform.tracing_controller)
def RunUserStory(self, results):
self._current_user_story.Run(self)
« 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