blob: 9949e795ec662484596622229dc651d0c0666006 [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from import shared_android_state
from telemetry import story
class AndroidStory(story.Story):
def __init__(self, start_intent, is_app_ready_predicate=None,
name='', tags=None, is_local=False):
"""Creates a new story for Android app.
start_intent: See AndroidPlatform.LaunchAndroidApplication.
is_app_ready_predicate: See AndroidPlatform.LaunchAndroidApplication.
name: See Story.__init__.
tags: See Story.__init__
is_app_ready_predicate: See Story.__init__.
super(AndroidStory, self).__init__(
shared_android_state.SharedAndroidState, name=name, tags=tags,
self.start_intent = start_intent
self.is_app_ready_predicate = is_app_ready_predicate
def Run(self, shared_state):
"""Execute the interactions with the applications."""
raise NotImplementedError