libkiwix/test
maneeshpm 700d4becb9 Replace buggy example.zim with a correct one
The existing example.zim has an improper main page entry hence an
unusable index as reported in openzim/libzim#521
To replace the buggy zim, a new zim has been generated using the latest
zimwriterfs with latest libzim.

-------------------------------------------------------------------------
The directory used to create zim is given below and are two pages from
wikibooks site:

htmlContent
├── favicon.png
├── FreedomBox for Communities_Offline Wikipedia - Wikibooks, open books for an open world_files
│   ├── index.php
│   ├── load.php
│   ├── poweredby_mediawiki_88x31.png
│   └── wikimedia-button.png
├── FreedomBox for Communities_Offline Wikipedia - Wikibooks, open books for an open world.html
├── Wikibooks_files
│   ├── 234px-Megakaryocyte1.svg.png
│   ├── 287px-ChewyGingerCookies.jpg
│   ├── 36px-Commons-logo.svg.png
│   ├── 40px-Wikiquote-logo.svg.png
│   ├── 41px-Wikispecies-logo.svg.png
│   ├── 46px-Wikisource-logo.svg.png
│   ├── 48px-MediaWiki-2020-icon.svg.png
│   ├── 48px-Phacility_phabricator_logo.png
│   ├── 48px-Wikimedia_Cloud_Services_logo.svg.png
│   ├── 48px-Wikimedia_Community_Logo.svg.png
│   ├── 48px-Wikivoyage-Logo-v3-icon.svg.png
│   ├── 51px-Wiktionary-logo.svg.png
│   ├── 53px-Wikipedia-logo-v2.svg.png
│   ├── 59px-Wikiversity_logo_2017.svg.png
│   ├── 86px-Wikidata-logo.svg.png
│   ├── 88px-Wikinews-logo.svg.png
│   ├── Haskell-logo.png
│   ├── index.php
│   ├── load.php
│   ├── poweredby_mediawiki_88x31.png
│   └── wikimedia-button.png
└── Wikibooks.html

The command for writing the zim:
$ zimwriterfs --welcome=Wikibooks.html --favicon=favicon.png --language=en --title=Wikibooks --description=testZim --creator=test --publisher=test --verbose ./htmlContent  ./out/example.zim
2021-04-28 15:24:50 +02:00
..
data Replace buggy example.zim with a correct one 2021-04-28 15:24:50 +02:00
book.cpp Both Book::update() methods update the category 2021-03-17 14:10:57 +04:00
counterParsing.cpp Adapt kiwix-lib to the new libzim api. 2020-12-02 12:16:48 +01:00
httplib.h Introducing 1st real unit test of the server 2020-04-29 15:39:18 +04:00
kiwixserve.cpp Fix tests. 2020-01-20 17:00:18 +01:00
library.cpp Merged XmlLibraryTest with LibraryTest 2021-04-27 16:59:21 +04:00
manager.cpp Testing of Manager.readXml() 2021-04-12 15:14:12 +02:00
meson.build New unit-test LibraryServerTest.catalog_root_xml 2021-03-17 14:02:27 +04:00
pathTools.cpp Add support for samba path on windows. 2020-07-15 11:40:02 +02:00
regex.cpp Fix tests. 2020-01-20 17:00:18 +01:00
server.cpp removed redirect to articles in search 2021-04-20 20:23:42 +05:30
stringTools.cpp Better parsing of `M/Counter` 2020-10-28 16:03:18 +01:00
tagParsing.cpp Fix tests. 2020-01-20 17:00:18 +01:00