| Index: tools/telemetry/telemetry/story/story_set.py
|
| diff --git a/tools/telemetry/telemetry/user_story/user_story_set.py b/tools/telemetry/telemetry/story/story_set.py
|
| similarity index 93%
|
| rename from tools/telemetry/telemetry/user_story/user_story_set.py
|
| rename to tools/telemetry/telemetry/story/story_set.py
|
| index a0473d7d2447f946e259b737e8b83c9431765994..bbd50df9f7d15ca7394a238d49512e8b9d6d64a7 100644
|
| --- a/tools/telemetry/telemetry/user_story/user_story_set.py
|
| +++ b/tools/telemetry/telemetry/story/story_set.py
|
| @@ -14,16 +14,16 @@ PARTNER_BUCKET = cloud_storage.PARTNER_BUCKET
|
| INTERNAL_BUCKET = cloud_storage.INTERNAL_BUCKET
|
|
|
|
|
| -class UserStorySet(object):
|
| +class StorySet(object):
|
| """A collection of user story.
|
|
|
| - A typical usage of UserStorySet would be to subclass it and then calling
|
| + A typical usage of StorySet would be to subclass it and then calling
|
| AddUserStory for each UserStory.
|
| """
|
|
|
| def __init__(self, archive_data_file='', cloud_storage_bucket=None,
|
| base_dir=None, serving_dirs=None):
|
| - """Creates a new UserStorySet.
|
| + """Creates a new StorySet.
|
|
|
| Args:
|
| archive_data_file: The path to Web Page Replay's archive data, relative
|
| @@ -56,7 +56,7 @@ class UserStorySet(object):
|
| """True iff UserStories are allowed to have different StoryState classes.
|
|
|
| There are no checks in place for determining if SharedStates are
|
| - being assigned correctly to all UserStorys in a given UserStorySet. The
|
| + being assigned correctly to all UserStorys in a given StorySet. The
|
| majority of test cases should not need the ability to have multiple
|
| ShareduserStoryStates, and usually implies you should be writing multiple
|
| benchmarks instead. We provide errors to avoid accidentally assigning
|
| @@ -73,7 +73,7 @@ class UserStorySet(object):
|
| def base_dir(self):
|
| """The base directory to resolve archive_data_file.
|
|
|
| - This defaults to the directory containing the UserStorySet instance's class.
|
| + This defaults to the directory containing the StorySet instance's class.
|
| """
|
| return self._base_dir
|
|
|
| @@ -114,7 +114,7 @@ class UserStorySet(object):
|
|
|
| @classmethod
|
| def Name(cls):
|
| - """Returns the string name of this UserStorySet.
|
| + """Returns the string name of this StorySet.
|
| Note that this should be a classmethod so benchmark_runner script can match
|
| user story class with its name specified in the run command:
|
| 'Run <User story test name> <User story class name>'
|
|
|