summaryrefslogtreecommitdiffstats
path: root/chrome/test/data
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 00:54:55 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 00:54:55 +0000
commit855a74d04d3edd9817660f1889ff4066ed804053 (patch)
tree89629b4d7d774cec4c8f6e3561b176f3f4b50531 /chrome/test/data
parent03e7d58d70ce8ceb784ab7ff13d0d1244e01c533 (diff)
downloadchromium_src-855a74d04d3edd9817660f1889ff4066ed804053.zip
chromium_src-855a74d04d3edd9817660f1889ff4066ed804053.tar.gz
chromium_src-855a74d04d3edd9817660f1889ff4066ed804053.tar.bz2
Add a few PyAuto tests for bookmarks.
The first two tests are from rohitbm and the rest from krisrs. testUnicodeStrings -- test bookmarks with unicode strings testSizes -- test bookmarks with different sized strings testAddingBookmarksToBarAndOther - add bookmarks to diff locations testAddingFoldersToBarAndOther -- add bookmark groups to diff locations testAddingFoldersWithChildrenToBarAndOther -- add bookmarks and groups to different locations Review URL: http://codereview.chromium.org/1191002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42417 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data')
-rw-r--r--chrome/test/data/bookmarks/long-and-short-names12
-rw-r--r--chrome/test/data/bookmarks/urls_and_titles28
2 files changed, 40 insertions, 0 deletions
diff --git a/chrome/test/data/bookmarks/long-and-short-names b/chrome/test/data/bookmarks/long-and-short-names
new file mode 100644
index 0000000..dd98ecd
--- /dev/null
+++ b/chrome/test/data/bookmarks/long-and-short-names
@@ -0,0 +1,12 @@
+# A list of URLs and titles for bookmarks with short and long strings and
+# some uncommon characters.
+# Used by: chrome/test/functional/bookmarks.py
+
+{
+ "http://www.bing.com/" : u"",
+ "https://www.blogger.com/start" : u"Blogger+:-&*** Create your free blog",
+ "http://www.llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogochuchaf.org.uk/" : u"\u042f\u043d\u0434\u0435\u043a\u0441\u767e\u5ea6\u4e00\u4e0b\uff0c\u4f60\u5c31\u77e5\u9053 \u65b0\u6d6a\u9996\u9875 \u65b0\u6d6a\u9996\u9875 \u65b0\u6d6a\u9996\u9875 \u767e\u5ea6\u4e00\u4e0b\uff0c\u4f60\u5c31\u77e5\u9053",
+ "http://www.microsoft.com/en/us/default.aspx" : u"Microsoft Corporation",
+ "http://www.msn.com/" : u"The big question is size reduction, and to that our game console laptop guru suggests that, given the constraints due to a DVD drive, the best we can expect is a one-inch drop in height (standing console)",
+ "http://www.myspace.com/" : u"MySpace",
+}
diff --git a/chrome/test/data/bookmarks/urls_and_titles b/chrome/test/data/bookmarks/urls_and_titles
new file mode 100644
index 0000000..7b185b8
--- /dev/null
+++ b/chrome/test/data/bookmarks/urls_and_titles
@@ -0,0 +1,28 @@
+# A list of URLs and titles for bookmarks. Also contains unicode strings
+# Used by: chrome/test/functional/bookmarks.py
+
+{
+ "http://www.bing.com/" : u"Bing",
+ "https://www.blogger.com/start" : u"Blogger: Create your free blog",
+ "http://www.google.com/" : u"Google",
+ "http://www.microsoft.com/en/us/default.aspx" : u"Microsoft Corporation",
+ "http://www.msn.com/" : u"MSN.com",
+ "http://www.myspace.com/" : u"MySpace",
+ "http://www.rapidshare.com/" : u"RapidShare: 1-CLICK Web hosting - Easy Filehosting",
+ "http://twitter.com/" : u"Twitter",
+ "http://www.baidu.com/" : u"\u767e\u5ea6\u4e00\u4e0b\uff0c\u4f60\u5c31\u77e5\u9053",
+ "http://www.facebook.com/" : u"Welcome to Facebook",
+ "http://www.wikipedia.org/" : u"Wikipedia",
+ "http://vkontakte.ru/" : u"\u0412 \u041a\u043e\u043d\u0442\u0430\u043a\u0442\u0435 | \u0414\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c",
+ "http://wordpress.com/" : u"WordPress.com \u2014 Get a Free Blog Here",
+ "http://www.yahoo.com/" : u"Yahoo!",
+ "http://www.yandex.ru/" : u"\u042f\u043d\u0434\u0435\u043a\u0441",
+ "http://www.yahoo.co.jp/" : u"Yahoo! JAPAN",
+ "http://www.qq.com/" : u"\u817e\u8baf\u9996\u9875",
+ "http://www.youtube.com/" : u"YouTube - Broadcast Yourself.",
+ "http://www.ebay.com/" : u"eBay - New & used electronics, cars, apparel, collectibles, sporting goods & more at low prices",
+ "http://www.fc2.com/" : u"FC2 - Free Website Access Analysis Blog Rental Server SEO Countermeasures etc. -",
+ "http://www.amazon.com/" : u"Amazon.com: Online Shopping for Electronics, Apparel, Computers, Books, DVDs & more",
+ "http://www.sina.com.cn/" : u"\u65b0\u6d6a\u9996\u9875",
+ "http://www.flickr.com/" : u"Welcome to Flickr - Photo Sharing",
+}