diff options
Diffstat (limited to 'tests/Wallabag/ImportBundle/fixtures')
-rw-r--r-- | tests/Wallabag/ImportBundle/fixtures/chrome-bookmarks | 36 | ||||
-rw-r--r-- | tests/Wallabag/ImportBundle/fixtures/firefox-bookmarks.json | 63 |
2 files changed, 99 insertions, 0 deletions
diff --git a/tests/Wallabag/ImportBundle/fixtures/chrome-bookmarks b/tests/Wallabag/ImportBundle/fixtures/chrome-bookmarks new file mode 100644 index 00000000..0478eb41 --- /dev/null +++ b/tests/Wallabag/ImportBundle/fixtures/chrome-bookmarks | |||
@@ -0,0 +1,36 @@ | |||
1 | { | ||
2 | "checksum": "f3aa0e9c0edad632a246f7e98ec64918", | ||
3 | "roots": { | ||
4 | "bookmark_bar": { | ||
5 | "children": [ { | ||
6 | "date_added": "13118850929335823", | ||
7 | "id": "6", | ||
8 | "name": "\"La multiplication des chefs de projet est une catastrophe managériale majeure\", affirme le sociologue François Dupuy - Ressources humaines", | ||
9 | "type": "url", | ||
10 | "url": "http://www.usinenouvelle.com/article/la-multiplication-des-chefs-de-projet-est-une-catastrophe-manageriale-majeure-affirme-le-sociologue-francois-dupuy.N307730" | ||
11 | } ], | ||
12 | "date_added": "13118829474385693", | ||
13 | "date_modified": "13118850929335823", | ||
14 | "id": "1", | ||
15 | "name": "Barre de favoris", | ||
16 | "type": "folder" | ||
17 | }, | ||
18 | "other": { | ||
19 | "children": [ ], | ||
20 | "date_added": "13118829474385701", | ||
21 | "date_modified": "0", | ||
22 | "id": "2", | ||
23 | "name": "Autres favoris", | ||
24 | "type": "folder" | ||
25 | }, | ||
26 | "synced": { | ||
27 | "children": [ ], | ||
28 | "date_added": "13118829474385702", | ||
29 | "date_modified": "0", | ||
30 | "id": "3", | ||
31 | "name": "Favoris sur mobile", | ||
32 | "type": "folder" | ||
33 | } | ||
34 | }, | ||
35 | "version": 1 | ||
36 | } | ||
diff --git a/tests/Wallabag/ImportBundle/fixtures/firefox-bookmarks.json b/tests/Wallabag/ImportBundle/fixtures/firefox-bookmarks.json new file mode 100644 index 00000000..406b5697 --- /dev/null +++ b/tests/Wallabag/ImportBundle/fixtures/firefox-bookmarks.json | |||
@@ -0,0 +1,63 @@ | |||
1 | { | ||
2 | "guid": "root________", | ||
3 | "title": "", | ||
4 | "index": 0, | ||
5 | "dateAdded": 1388166091504000, | ||
6 | "lastModified": 1472897622350000, | ||
7 | "id": 1, | ||
8 | "type": "text/x-moz-place-container", | ||
9 | "root": "placesRoot", | ||
10 | "children": [ | ||
11 | { | ||
12 | "guid": "toolbar_____", | ||
13 | "title": "Barre personnelle", | ||
14 | "index": 1, | ||
15 | "dateAdded": 1388166091504000, | ||
16 | "lastModified": 1472897622263000, | ||
17 | "id": 3, | ||
18 | "annos": [ | ||
19 | { | ||
20 | "name": "bookmarkProperties/description", | ||
21 | "flags": 0, | ||
22 | "expires": 4, | ||
23 | "value": "Ajoutez des marque-pages dans ce dossier pour les voir apparaître sur votre barre personnelle" | ||
24 | } | ||
25 | ], | ||
26 | "type": "text/x-moz-place-container", | ||
27 | "root": "toolbarFolder", | ||
28 | "children": [ | ||
29 | { | ||
30 | "guid": "tard77lzbC5H", | ||
31 | "title": "Orange offre un meilleur réseau mobile que Bouygues et SFR, Free derrière - L'Express L'Expansion", | ||
32 | "index": 1, | ||
33 | "dateAdded": 1388166091644000, | ||
34 | "lastModified": 1388166091644000, | ||
35 | "tags":"test,tag", | ||
36 | "id": 4, | ||
37 | "type": "text/x-moz-place", | ||
38 | "uri": "http://lexpansion.lexpress.fr/high-tech/orange-offre-un-meilleur-reseau-mobile-que-bouygues-et-sfr-free-derriere_1811554.html" | ||
39 | }, | ||
40 | { | ||
41 | "guid": "E385l9vZ_LVn", | ||
42 | "title": "Parser for Exported Bookmarks HTML file of Google Chrome and Mozilla in Java", | ||
43 | "index": 1, | ||
44 | "dateAdded": 1388166091544000, | ||
45 | "lastModified": 1388166091545000, | ||
46 | "id": 5, | ||
47 | "type": "text/x-moz-place", | ||
48 | "uri": "http://stackoverflow.com/questions/15017163/parser-for-exported-bookmarks-html-file-of-google-chrome-and-mozilla-in-java" | ||
49 | } | ||
50 | ] | ||
51 | }, | ||
52 | { | ||
53 | "guid": "unfiled_____", | ||
54 | "title": "Autres marque-pages", | ||
55 | "index": 3, | ||
56 | "dateAdded": 1388166091504000, | ||
57 | "lastModified": 1388166091542000, | ||
58 | "id": 6, | ||
59 | "type": "text/x-moz-place-container", | ||
60 | "root": "unfiledBookmarksFolder" | ||
61 | } | ||
62 | ] | ||
63 | } | ||