| |
- __builtin__.object
-
- FakeHTTPServer
- FakeInspectorWebsocket
- FakePlatform
-
- FakeLinuxPlatform
- FakePossibleBrowser
- telemetry.internal.platform.system_info.SystemInfo(__builtin__.object)
-
- FakeSystemInfo
- telemetry.page.shared_page_state.SharedPageState(telemetry.story.shared_state.SharedState)
-
- FakeSharedPageState
class FakeHTTPServer(__builtin__.object) |
| |
Methods defined here:
- UrlOf(self, url)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class FakeInspectorWebsocket(__builtin__.object) |
| |
Methods defined here:
- AddAsyncResponse(self, method, result, time)
- AddEvent(self, method, params, time)
- AddResponseHandler(self, method, handler)
- AsyncRequest(self, request, callback)
- Connect(self, _)
- DispatchNotifications(self, timeout)
- RegisterDomain(self, _, handler)
- SendAndIgnoreResponse(self, request)
- SyncRequest(self, request, *_args, **_kwargs)
- __init__(self, mock_timer)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class FakePossibleBrowser(__builtin__.object) |
| |
Methods defined here:
- Create(self, finder_options)
- IsRemote(self)
- SetCredentialsPath(self, _)
- __init__(self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- platform
- The platform object from the returned browser.
To change this or set it up, change the returned browser's
platform.
- returned_browser
- The browser object that will be returned through later API calls.
|
class FakeSharedPageState(telemetry.page.shared_page_state.SharedPageState) |
| |
- Method resolution order:
- FakeSharedPageState
- telemetry.page.shared_page_state.SharedPageState
- telemetry.story.shared_state.SharedState
- __builtin__.object
Methods defined here:
- ConfigurePossibleBrowser(self, possible_browser)
- Override this to configure the PossibleBrowser.
Can make changes to the browser's configuration here via e.g.:
possible_browser.returned_browser.returned_system_info = ...
- DidRunStory(self, results)
- __init__(self, test, finder_options, story_set)
Methods inherited from telemetry.page.shared_page_state.SharedPageState:
- CanRunOnBrowser(self, browser_info, page)
- Override this to return whether the browser brought up by this state
instance is suitable for running the given page.
Args:
browser_info: an instance of telemetry.core.browser_info.BrowserInfo
page: an instance of telemetry.page.Page
- CanRunStory(self, page)
- GetPregeneratedProfileArchiveDir(self)
- RunStory(self, results)
- SetPregeneratedProfileArchiveDir(self, archive_path)
- Benchmarks can set a pre-generated profile archive to indicate that when
Chrome is launched, it should have a --user-data-dir set to the
pregenerated profile, rather than to an empty profile.
If the benchmark is invoked with the option --profile-dir=<dir>, that
option overrides this value.
- TearDownState(self)
- WillRunStory(self, page)
Data descriptors inherited from telemetry.page.shared_page_state.SharedPageState:
- browser
- current_page
- current_tab
- page_test
- platform
Data descriptors inherited from telemetry.story.shared_state.SharedState:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
|