diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2023-12-30 21:00:22 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2023-12-30 22:04:56 +0100 |
commit | 95627efadf55c39901928ee730d22de55cdcc209 (patch) | |
tree | cdbba90f9eed51ad189d0ddab90ec02d2c985cc1 /test/html/manual/KHM1b.html | |
parent | 1711ba895376fef9eb9b5face92118b674db8015 (diff) |
Add automatic rendering tests
These tests render a HTML page in Dillo and save a screenshot which is
compared with another one rendered by a reference HTML file which
doesn't make use of the feature under test.
Running these tests require some additional dependencies to run a Xorg
server and capture screenshots of the browser, so they are only enabled
when configured with the --enable-html-tests option.
Additionally, running Dillo and opening local files requires a working
file dpi plugin. So, when running the HTML tests it is required that a
working dpid server can be launched by Dillo. To do so, Dillo can be
first installed to a prefix directory, the dpidrc file copied to
~/.dillo/ and then the DILLOBIN variable set to the path of the dillo
binary under test.
Diffstat (limited to 'test/html/manual/KHM1b.html')
-rw-r--r-- | test/html/manual/KHM1b.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/html/manual/KHM1b.html b/test/html/manual/KHM1b.html new file mode 100644 index 00000000..adefc1ef --- /dev/null +++ b/test/html/manual/KHM1b.html @@ -0,0 +1,14 @@ +<p style="text-align: justify">In den al­ten Zei­ten, wo das +Wün­schen noch ge­hol­fen hat, leb­te ein Kö­nig, +des­sen Töch­ter wa­ren al­le schön, aber die +jüng­ste war so schön, daß die Son­ne sel­ber, die doch so +vie­les ge­se­hen hat, sich ver­wun­der­te so +oft sie ihr ins Ge­sicht schien. Na­he bei dem Schlos­se +des Kö­nigs lag ein gro­ßer dunk­ler Wald, und in dem +Wal­de un­ter ei­ner al­ten Lin­de war ein +Brun­nen: wenn nun der Tag recht heiß war, so ging das +Kö­nigs­kind hin­aus in den Wald und setz­te sich an +den Rand des küh­len Brun­nens: und wenn sie +Lan­ge­wei­le hat­te, so nahm sie eine +gol­de­ne Ku­gel, warf sie in die Hö­he und fieng sie +wie­der; und das war ihr liebs­tes Spiel­werk.</p> |