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

Unified Diff: chrome/browser/extensions/extension_record_api_test.cc

Issue 10386134: Record API fix adding FirstRun, and allowing repeat-count in capture (plus some browsertests along … (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Retrying due to patch failure Created 8 years, 6 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: chrome/browser/extensions/extension_record_api_test.cc
diff --git a/chrome/browser/extensions/extension_record_api_test.cc b/chrome/browser/extensions/extension_record_api_test.cc
index c2fe1dea3241bdfc67c787109e5f764db14035f2..fa871d124ad450c7ebcc1afce2bc45e4e49130f3 100644
--- a/chrome/browser/extensions/extension_record_api_test.cc
+++ b/chrome/browser/extensions/extension_record_api_test.cc
@@ -37,7 +37,8 @@ const std::string kTestStatistics = "Sample Stat 1\nSample Stat 2\n";
// Standard capture parameters, with a mix of good and bad URLs, and
// a hole for filling in the user data dir.
const char kCaptureArgs1[] =
- "[[\"URL 1\", \"URL 2(bad)\", \"URL 3\", \"URL 4(bad)\"], \"%s\"]";
+ "[[\"URL 1\", \"URL 2(bad)\", \"URL 3\", \"URL 4(bad)\"]"
+ ", \"%s\", 2]";
// Standard playback parameters, with the same mix of good and bad URLs
// as the capture parameters, a hole for filling in the user data dir, and
@@ -46,7 +47,7 @@ const char kCaptureArgs1[] =
// and repeat-counting are hard to emulate in the test ProcessStrategy.
const char kPlaybackArgs1[] =
"[[\"URL 1\", \"URL 2(bad)\", \"URL 3\", \"URL 4(bad)\"], \"%s\""
- ", {\"extensionPath\": \"MockExtension\", \"repeatCount\": 2}]";
+ ", 2, {\"extensionPath\": \"MockExtension\"}]";
// Use this as the value of FilePath switches (e.g. user-data-dir) that
// should be replaced by the record methods.
« no previous file with comments | « chrome/browser/extensions/extension_record_api.cc ('k') | chrome/browser/page_cycler/page_cycler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698