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

Unified Diff: chrome/test/functional/perf.py

Issue 10500010: Rename WebPageReplayPageCyclerTest to PageCyclerNetSimTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « chrome/test/functional/PYAUTO_TESTS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/perf.py
diff --git a/chrome/test/functional/perf.py b/chrome/test/functional/perf.py
index c94bf32552ae47d1193188fa3fea83ce71a43f4d..9ddd8225cfb62feda9db5d6a20386aa495f5bac0 100755
--- a/chrome/test/functional/perf.py
+++ b/chrome/test/functional/perf.py
@@ -2056,8 +2056,8 @@ class PageCyclerTest(BasePageCyclerTest):
self.RunPageCyclerTest('moz2', 'Moz2File')
-class WebPageReplayPageCyclerTest(BasePageCyclerTest):
- """Tests to run Web Page Replay backed page cycler tests.
+class PageCyclerNetSimTest(BasePageCyclerTest):
+ """Run page cycler tests with network simulation via Web Page Replay.
Web Page Replay is a proxy that can record and "replay" web pages with
simulated network characteristics -- without having to edit the pages
@@ -2086,7 +2086,7 @@ class WebPageReplayPageCyclerTest(BasePageCyclerTest):
def setUp(self):
"""Performs necessary setup work before running each test."""
- super(WebPageReplayPageCyclerTest, self).setUp()
+ super(PageCyclerNetSimTest, self).setUp()
self.replay_dir = os.environ.get('PC_REPLAY_DIR')
self.is_record_mode = 'PC_RECORD' in os.environ
if self.is_record_mode:
@@ -2110,7 +2110,7 @@ class WebPageReplayPageCyclerTest(BasePageCyclerTest):
Returns:
A list of extra flags to pass to Chrome when it is launched.
"""
- flags = super(WebPageReplayPageCyclerTest, self).ExtraChromeFlags()
+ flags = super(PageCyclerNetSimTest, self).ExtraChromeFlags()
flags.append('--load-extension=%s' % self._Path('extension'))
if not self._IS_DNS_FORWARDED:
flags.append('--host-resolver-rules=MAP * %s' % webpagereplay.REPLAY_HOST)
@@ -2162,7 +2162,7 @@ class WebPageReplayPageCyclerTest(BasePageCyclerTest):
self._ArchivePath(test_name),
self._Path('logs'),
replay_options):
- super_self = super(WebPageReplayPageCyclerTest, self)
+ super_self = super(PageCyclerNetSimTest, self)
super_self.RunPageCyclerTest(test_name, description)
def test2012Q2(self):
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698