From a505c77fe4893d9204b2e7423159eddae5397bb9 Mon Sep 17 00:00:00 2001 From: rachmadaniHaryono Date: Wed, 18 Apr 2018 05:28:02 +0800 Subject: [PATCH] new: test: local test file --- tests/test_bukuDb/25491522_res.yaml | 45 ++++++++++++++++++++++ tests/test_bukuDb/25491522_res_nopt.yaml | 39 +++++++++++++++++++ tests/test_bukuDb/firefox_res.yaml | 49 ++++++++++++++++++++++++ tests/test_bukuDb/firefox_res_nopt.yaml | 45 ++++++++++++++++++++++ 4 files changed, 178 insertions(+) create mode 100644 tests/test_bukuDb/25491522_res.yaml create mode 100644 tests/test_bukuDb/25491522_res_nopt.yaml create mode 100644 tests/test_bukuDb/firefox_res.yaml create mode 100644 tests/test_bukuDb/firefox_res_nopt.yaml diff --git a/tests/test_bukuDb/25491522_res.yaml b/tests/test_bukuDb/25491522_res.yaml new file mode 100644 index 0000000..c29cce7 --- /dev/null +++ b/tests/test_bukuDb/25491522_res.yaml @@ -0,0 +1,45 @@ +? !!python/tuple ['http://voyagerlive.org/', Voyager, ',bookmarks bar,', null, 0, + true] +: {} +? !!python/tuple ['http://wiki.ubuntu.com/', Ubuntu Wiki (community-edited website), + ',bookmarks bar,imported from firefox,ubuntu and free software links,', null, 0, + true] +: {} +? !!python/tuple ['http://www.debian.org/', Debian (Ubuntu is based on Debian), ',bookmarks + bar,imported from firefox,ubuntu and free software links,', null, 0, true] +: {} +? !!python/tuple ['http://www.ubuntu.com/', Ubuntu, ',bookmarks bar,imported from + firefox,ubuntu and free software links,', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', Adblock + Plus, ',bookmarks bar,f+,', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/searchpreview/', SearchPreview, + ',bookmarks bar,f+,', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', Language + Tools, ',bookmarks bar,f+,', null, 0, true] +: {} +? !!python/tuple ['https://answers.launchpad.net/ubuntu/+addquestion', Make a Support + Request to the Ubuntu Community, ',bookmarks bar,imported from firefox,ubuntu + and free software links,', null, 0, true] +: {} +? !!python/tuple ['https://one.ubuntu.com/', Ubuntu One - The personal cloud that + brings your digital life together, ',bookmarks bar,imported from firefox,ubuntu + and free software links,', null, 0, true] +: {} +? !!python/tuple ['https://www.google.com/', Google, ',other bookmarks,', null, 0, + true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/about/', About Us, ',bookmarks bar,imported + from firefox,mozilla firefox,', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/contribute/', Get Involved, ',bookmarks + bar,imported from firefox,mozilla firefox,', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/firefox/customize/', Customize Firefox, + ',bookmarks bar,imported from firefox,mozilla firefox,', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/firefox/help/', Help and Tutorials, + ',bookmarks bar,imported from firefox,mozilla firefox,', null, 0, true] +: {} diff --git a/tests/test_bukuDb/25491522_res_nopt.yaml b/tests/test_bukuDb/25491522_res_nopt.yaml new file mode 100644 index 0000000..b8b86bc --- /dev/null +++ b/tests/test_bukuDb/25491522_res_nopt.yaml @@ -0,0 +1,39 @@ +? !!python/tuple ['http://voyagerlive.org/', Voyager, ',', null, 0, true] +: {} +? !!python/tuple ['http://wiki.ubuntu.com/', Ubuntu Wiki (community-edited website), + ',', null, 0, true] +: {} +? !!python/tuple ['http://www.debian.org/', Debian (Ubuntu is based on Debian), ',', + null, 0, true] +: {} +? !!python/tuple ['http://www.ubuntu.com/', Ubuntu, ',', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', Adblock + Plus, ',', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/searchpreview/', SearchPreview, + ',', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', Language + Tools, ',', null, 0, true] +: {} +? !!python/tuple ['https://answers.launchpad.net/ubuntu/+addquestion', Make a Support + Request to the Ubuntu Community, ',', null, 0, true] +: {} +? !!python/tuple ['https://one.ubuntu.com/', Ubuntu One - The personal cloud that + brings your digital life together, ',', null, 0, true] +: {} +? !!python/tuple ['https://www.google.com/', Google, ',', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/about/', About Us, ',', null, 0, + true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/contribute/', Get Involved, ',', + null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/firefox/customize/', Customize Firefox, + ',', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/firefox/help/', Help and Tutorials, + ',', null, 0, true] +: {} diff --git a/tests/test_bukuDb/firefox_res.yaml b/tests/test_bukuDb/firefox_res.yaml new file mode 100644 index 0000000..2b10704 --- /dev/null +++ b/tests/test_bukuDb/firefox_res.yaml @@ -0,0 +1,49 @@ +? !!python/tuple ['http://voyagerlive.org/', Voyager, ',bookmarks toolbar,', null, + 0, true] +: {} +? !!python/tuple ['http://wiki.ubuntu.com/', Ubuntu Wiki (community-edited website), + ',bookmarks menu,ubuntu and free software links,', null, 0, true] +: {} +? !!python/tuple ['http://www.debian.org/', Debian (Ubuntu is based on Debian), ',bookmarks + menu,ubuntu and free software links,', null, 0, true] +: {} +? !!python/tuple ['http://www.ubuntu.com/', Ubuntu, ',bookmarks menu,ubuntu and free + software links,', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', '', + ',language,tags,', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', Adblock + Plus, ',bookmarks toolbar,f+,language,', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/searchpreview/', SearchPreview, + ',bookmarks toolbar,f+,', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', '', ',hello,language,tags,', + null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', Language + Tools, ',bookmarks toolbar,f+,hello,language,', null, 0, true] +: {} +? !!python/tuple ['https://answers.launchpad.net/ubuntu/+addquestion', Make a Support + Request to the Ubuntu Community, ',bookmarks menu,ubuntu and free software links,', + null, 0, true] +: {} +? !!python/tuple ['https://one.ubuntu.com/', Ubuntu One - The personal cloud that + brings your digital life together, ',bookmarks menu,ubuntu and free software links,', + null, 0, true] +: {} +? !!python/tuple ['https://www.google.co.in/', '', ',bookmarks menu,', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/about/', About Us, ',bookmarks menu,mozilla + firefox,', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/contribute/', Get Involved, ',bookmarks + menu,mozilla firefox,', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/firefox/customize/', Customize Firefox, + ',bookmarks menu,mozilla firefox,', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/firefox/help/', Help and Tutorials, + ',bookmarks menu,mozilla firefox,', null, 0, true] +: {} diff --git a/tests/test_bukuDb/firefox_res_nopt.yaml b/tests/test_bukuDb/firefox_res_nopt.yaml new file mode 100644 index 0000000..e716da6 --- /dev/null +++ b/tests/test_bukuDb/firefox_res_nopt.yaml @@ -0,0 +1,45 @@ +? !!python/tuple ['http://voyagerlive.org/', Voyager, ',', null, 0, true] +: {} +? !!python/tuple ['http://wiki.ubuntu.com/', Ubuntu Wiki (community-edited website), + ',', null, 0, true] +: {} +? !!python/tuple ['http://www.debian.org/', Debian (Ubuntu is based on Debian), ',', + null, 0, true] +: {} +? !!python/tuple ['http://www.ubuntu.com/', Ubuntu, ',', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', '', + ',language,', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', Adblock + Plus, ',language,', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/searchpreview/', SearchPreview, + ',', null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', '', ',hello,language,', + null, 0, true] +: {} +? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', Language + Tools, ',hello,language,', null, 0, true] +: {} +? !!python/tuple ['https://answers.launchpad.net/ubuntu/+addquestion', Make a Support + Request to the Ubuntu Community, ',', null, 0, true] +: {} +? !!python/tuple ['https://one.ubuntu.com/', Ubuntu One - The personal cloud that + brings your digital life together, ',', null, 0, true] +: {} +? !!python/tuple ['https://www.google.co.in/', '', ',', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/about/', About Us, ',', null, 0, + true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/contribute/', Get Involved, ',', + null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/firefox/customize/', Customize Firefox, + ',', null, 0, true] +: {} +? !!python/tuple ['https://www.mozilla.org/en-US/firefox/help/', Help and Tutorials, + ',', null, 0, true] +: {}