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

Unified Diff: tools/telemetry/unittest_data/page_sets/example_domain.py

Issue 902013002: Add end-to-end page run tests that exercise Web Page Replay. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add example_domain_001.wpr.sha1 Created 5 years, 10 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 | « tools/telemetry/unittest_data/page_sets/data/example_domain_001.wpr.sha1 ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/unittest_data/page_sets/example_domain.py
diff --git a/tools/telemetry/unittest_data/page_sets/example_domain.py b/tools/telemetry/unittest_data/page_sets/example_domain.py
new file mode 100644
index 0000000000000000000000000000000000000000..10cf1e9c982dd9280b4f1cee9d2fd290a2c5b4de
--- /dev/null
+++ b/tools/telemetry/unittest_data/page_sets/example_domain.py
@@ -0,0 +1,17 @@
+# 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 telemetry.page import page
+from telemetry.page import page_set
+
+
+class ExampleDomainPageSet(page_set.PageSet):
+ def __init__(self):
+ super(ExampleDomainPageSet, self).__init__(
+ archive_data_file='data/example_domain.json',
+ user_agent_type='desktop',
+ bucket=page_set.PUBLIC_BUCKET)
+
+ self.AddUserStory(page.Page('http://www.example.com', self))
+ self.AddUserStory(page.Page('https://www.example.com', self))
« no previous file with comments | « tools/telemetry/unittest_data/page_sets/data/example_domain_001.wpr.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698