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

Unified Diff: tools/chrome_remote_control/chrome_remote_control/page_set_unittest.py

Issue 10965027: Add web page replay to chrome_remote_control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace CreateForwarder with CreateReplayServer Created 8 years, 2 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
Index: tools/chrome_remote_control/chrome_remote_control/page_set_unittest.py
diff --git a/tools/chrome_remote_control/chrome_remote_control/page_set_unittest.py b/tools/chrome_remote_control/chrome_remote_control/page_set_unittest.py
index b86e2dfdf21426d12cc1424a747ab89204cba6e4..e982e32b6444f3dfc1edba8213fa45fe972dd1e4 100644
--- a/tools/chrome_remote_control/chrome_remote_control/page_set_unittest.py
+++ b/tools/chrome_remote_control/chrome_remote_control/page_set_unittest.py
@@ -8,6 +8,7 @@ from chrome_remote_control import page_set
simple_set = """
{"description": "hello",
+ "archive_path": "foo.wpr",
"pages": [
{"url": "http://www.foo.com/"}
]
@@ -22,5 +23,6 @@ class TestPageSet(unittest.TestCase):
ps = page_set.PageSet.FromFile(f.name)
self.assertEquals('hello', ps.description)
+ self.assertEquals('foo.wpr', ps.archive_path)
self.assertEquals(1, len(ps.pages))
self.assertEquals('http://www.foo.com/', ps.pages[0].url)

Powered by Google App Engine
This is Rietveld 408576698