summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authoryutak@chromium.org <yutak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-28 06:48:59 +0000
committeryutak@chromium.org <yutak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-28 06:48:59 +0000
commit0540212a7c4b78f36905a74271e41cc63304e684 (patch)
treedb8e1b9ff808fc4d8ea4d15589475851a2812edc /chrome/test
parentf5f980ee5418ff27ba44892521b9ef2447d336d4 (diff)
downloadchromium_src-0540212a7c4b78f36905a74271e41cc63304e684.zip
chromium_src-0540212a7c4b78f36905a74271e41cc63304e684.tar.gz
chromium_src-0540212a7c4b78f36905a74271e41cc63304e684.tar.bz2
Current firefox2_importer and firefox3_importer could not import empty folder.
This changelist makes it possible to import initially empty folders. This patch is contributed by Takashi Toyoshima <toyoshim@google.com>. Original code review: http://codereview.chromium.org/6373009/ BUG=25863 TEST=add and fix some tests to unit_tests for firefox2_importer and pass it. Review URL: http://codereview.chromium.org/6402003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72933 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/data/firefox2_importer/empty_folder.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/chrome/test/data/firefox2_importer/empty_folder.html b/chrome/test/data/firefox2_importer/empty_folder.html
new file mode 100644
index 0000000..a5c377a
--- /dev/null
+++ b/chrome/test/data/firefox2_importer/empty_folder.html
@@ -0,0 +1,24 @@
+<!DOCTYPE NETSCAPE-Bookmark-file-1>
+<!-- This is an automatically generated file.
+ It will be read and overwritten.
+ DO NOT EDIT! -->
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
+<TITLE>Bookmarks</TITLE>
+<H1>Bookmarks Menu</H1>
+
+<DL><p>
+ <DT><H3 ADD_DATE="1295938143" LAST_MODIFIED="1295938145">Empty's Parent</H3>
+ <DL><p>
+ <DT><H3 ADD_DATE="1295938143" LAST_MODIFIED="1295938145">Empty</H3>
+ <DL><p>
+ </DL><p>
+ </DL><p>
+ <DT><H3 ADD_DATE="1295938000" LAST_MODIFIED="1295939000">Not Empty</H3>
+ <DL><p>
+ <DT><A HREF="http://www.tamurayukari.com/" ADD_DATE="1234567890" LAST_MODIFIED="1234567891">[Tamura Yukari.com]</A>
+ </DL><p>
+ <DT><H3 ADD_DATE="1295938000" LAST_MODIFIED="1295939000">Not Empty But Default</H3>
+ <DL><p>
+ <DT><A HREF="http://www.google.com/" ADD_DATE="0000000000" LAST_MODIFIED="0000000000">Google</A>
+ </DL><p>
+</DL><p>