telemetry.internal.testing.page_sets.example_domain
index
telemetry/internal/testing/page_sets/example_domain.py

# 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.

 
Modules
       
telemetry.page.page
telemetry.story

 
Classes
       
telemetry.story.story_set.StorySet(__builtin__.object)
ExampleDomainPageSet

 
class ExampleDomainPageSet(telemetry.story.story_set.StorySet)
    
Method resolution order:
ExampleDomainPageSet
telemetry.story.story_set.StorySet
__builtin__.object

Methods defined here:
__init__(self)

Methods inherited from telemetry.story.story_set.StorySet:
AddStory(self, story)
RemoveStory(self, story)
Removes a Story.
 
Allows the stories to be filtered.
WprFilePathForStory(self, story)
Convenient function to retrieve WPR archive file path.
 
Args:
  story: The Story to look up.
 
Returns:
  The WPR archive file path for the given Story, if found.
  Otherwise, None.
__getitem__(self, key)
__iter__(self)
__len__(self)
__setitem__(self, key, value)

Class methods inherited from telemetry.story.story_set.StorySet:
Description(cls) from __builtin__.type
Return a string explaining in human-understandable terms what this
story represents.
Note that this should be a classmethod so the benchmark_runner script can
display stories' names along with their descriptions in the list command.
Name(cls) from __builtin__.type
Returns the string name of this StorySet.
Note that this should be a classmethod so the benchmark_runner script can
match the story class with its name specified in the run command:
'Run <User story test name> <User story class name>'

Data descriptors inherited from telemetry.story.story_set.StorySet:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
allow_mixed_story_states
True iff Stories are allowed to have different StoryState classes.
 
There are no checks in place for determining if SharedStates are
being assigned correctly to all Stories in a given StorySet. The
majority of test cases should not need the ability to have multiple
SharedStates, which usually implies you should be writing multiple
benchmarks instead. We provide errors to avoid accidentally assigning
or defaulting to the wrong SharedState.
Override at your own risk. Here be dragons.
archive_data_file
base_dir
The base directory to resolve archive_data_file.
 
This defaults to the directory containing the StorySet instance's class.
bucket
file_path
serving_dirs
wpr_archive_info
Lazily constructs wpr_archive_info if it's not set and returns it.