summaryrefslogtreecommitdiff
path: root/test/test-pages
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-03-18 13:06:53 +0000
committerAndres Rey <[email protected]>2018-03-18 13:06:53 +0000
commit765466aec50e17ce3c0a4c138f712b76b8124305 (patch)
tree577b2949c3b4e923ece5d7aef9939758baa2a296 /test/test-pages
parent7bc45546628833f74152dcc1737d1b48b1777c1d (diff)
Fix Hukumusume test cae
Diffstat (limited to 'test/test-pages')
-rw-r--r--test/test-pages/hukumusume/expected-images.json2
-rw-r--r--test/test-pages/hukumusume/expected-metadata.json7
-rw-r--r--test/test-pages/hukumusume/expected.html82
3 files changed, 29 insertions, 62 deletions
diff --git a/test/test-pages/hukumusume/expected-images.json b/test/test-pages/hukumusume/expected-images.json
index fc17645..b70e87e 100644
--- a/test/test-pages/hukumusume/expected-images.json
+++ b/test/test-pages/hukumusume/expected-images.json
@@ -1 +1 @@
-["http:\/\/fakehost\/test\/..\/..\/..\/gazou\/pc_gazou\/aesop\/aesop052.jpg"] \ No newline at end of file
+["http:\/\/fakehost\/test\/..\/..\/..\/gazou\/pc_gazou\/aesop\/aesop052.jpg","http:\/\/fakehost\/test\/..\/..\/..\/..\/366\/logo_bana\/corner_1.gif","http:\/\/fakehost\/test\/..\/..\/..\/..\/366\/logo_bana\/corner_2.gif","http:\/\/fakehost\/test\/..\/..\/..\/gazou\/origami_gazou\/kantan\/dogface.gif","http:\/\/fakehost\/test\/..\/..\/..\/gazou\/origami_gazou\/kantan\/dog.gif"] \ No newline at end of file
diff --git a/test/test-pages/hukumusume/expected-metadata.json b/test/test-pages/hukumusume/expected-metadata.json
index cbbee48..97317fc 100644
--- a/test/test-pages/hukumusume/expected-metadata.json
+++ b/test/test-pages/hukumusume/expected-metadata.json
@@ -1,7 +1,4 @@
{
- "title": "欲張りなイヌ <福娘童話集 きょうのイソップ童話>",
- "byline": null,
- "dir": null,
- "excerpt": "福娘童話集 > きょうのイソップ童話 > 1月のイソップ童話 > 欲張りなイヌ",
- "readerable": true
+ "Title": "欲張りなイヌ <福娘童話集 きょうのイソップ童話>",
+ "Excerpt": "福娘童話集 > きょうのイソップ童話 > 1月のイソップ童話 > 欲張りなイヌ"
}
diff --git a/test/test-pages/hukumusume/expected.html b/test/test-pages/hukumusume/expected.html
index 09eb76a..4814443 100644
--- a/test/test-pages/hukumusume/expected.html
+++ b/test/test-pages/hukumusume/expected.html
@@ -1,57 +1,27 @@
-<div id="readability-page-1" class="page"><div width="619">
- <p> <a href="http://fakehost/index.html">福娘童話集</a> > <a href="http://fakehost/index.html">きょうのイソップ童話</a> &gt; <a href="http://fakehost/itiran/01gatu.htm">1月のイソップ童話</a> &gt; 欲張りなイヌ</p>
- <p>
- <span color="#FF0000" size="+2">元旦のイソップ童話</span></p><p> <img src="http://fakehost/gazou/pc_gazou/aesop/aesop052.jpg" alt="よくばりなイヌ" width="480" height="360"></img></p><p> 欲張りなイヌ</p><p> <a href="http://hukumusume.com/douwa/English/aesop/01/01_j.html">ひらがな</a> ←→ <a href="http://hukumusume.com/douwa/English/aesop/01/01_j&amp;E.html">日本語・英語</a> ←→ <a href="http://hukumusume.com/douwa/English/aesop/01/01_E.html">English</a></p>
- <table>
- <tbody>
- <tr>
- <td>
- <table>
- <tbody>
- <tr>
- <td><img src="http://fakehost/366/logo_bana/corner_1.gif" width="7" height="7"></img></td>
- <td>
- <span color="#FF0000"><b>おりがみをつくろう</b></span>
+<div>
+ <p><a href="http://fakehost/test/../../../index.html">福娘童話集</a> &gt; <a href="http://fakehost/test/../index.html">きょうのイソップ童話</a> &gt; <a href="http://fakehost/test/../itiran/01gatu.htm">1月のイソップ童話</a> &gt; 欲張りなイヌ</p>
+ <p>
+ <span color="#FF0000" size="+2">元旦のイソップ童話</span><p><img alt="よくばりなイヌ" height="360" src="http://fakehost/test/../../../gazou/pc_gazou/aesop/aesop052.jpg" width="480"></img></p><p> 欲張りなイヌ</p><p><a href="http://hukumusume.com/douwa/English/aesop/01/01_j.html">ひらがな</a> ←→ <a href="http://hukumusume.com/douwa/English/aesop/01/01_j&amp;E.html">日本語・英語</a> ←→ <a href="http://hukumusume.com/douwa/English/aesop/01/01_E.html">English</a></p></p>
+ <table><tbody><tr><td>
+ <table><tbody><tr><td><img height="7" src="http://fakehost/test/../../../../366/logo_bana/corner_1.gif" width="7"></img></td>
+ <td>
+ <span color="#FF0000"><b>おりがみをつくろう</b></span>
+ </td>
+ <td>
+ <span size="-1">(<a href="http://www.origami-club.com/index.html"> おりがみくらぶ</a> より)</span>
+ </td>
+ <td><img height="7" src="http://fakehost/test/../../../../366/logo_bana/corner_2.gif" width="7"></img></td>
+ </tr><tr><td colspan="4">
+ <table><tbody><tr><td>
+ <span size="+2"><a href="http://www.origami-club.com/easy/dogfase/index.html"><img alt="犬の顔の折り紙" height="51" src="http://fakehost/test/../../../gazou/origami_gazou/kantan/dogface.gif" width="73"></img>いぬのかお</a></span>   <a href="http://www.origami-club.com/easy/dog/index.html"><img alt="犬の顔の紙" height="43" src="http://fakehost/test/../../../gazou/origami_gazou/kantan/dog.gif" width="62"></img><span size="+2">いぬ</span></a></td>
+ </tr></tbody></table></td>
+ </tr></tbody></table></td>
+ </tr></tbody></table><table><tbody><tr><td>♪音声配信(html5)</td>
+ </tr><tr><td><audio controls="" src="http://ohanashi2.up.seesaa.net/mp3/ae_0101.mp3"></audio></td>
+ </tr><tr><td>
+ <span size="-1"><a href="http://www.voiceblog.jp/onokuboaki/">亜姫の朗読☆ イソップ童話より</a></span>
</td>
- <td>
- <span size="-1">(<a href="http://www.origami-club.com/index.html"> おりがみくらぶ</a> より)</span>
- </td>
- <td><img src="http://fakehost/366/logo_bana/corner_2.gif" width="7" height="7"></img></td>
- </tr>
- <tr>
- <td colspan="4">
- <table>
- <tbody>
- <tr>
- <td>
- <span size="+2"><a href="http://www.origami-club.com/easy/dogfase/index.html"><img src="http://fakehost/gazou/origami_gazou/kantan/dogface.gif" alt="犬の顔の折り紙" width="73" height="51"></img>いぬのかお</a></span>   <a href="http://www.origami-club.com/easy/dog/index.html"><img src="http://fakehost/gazou/origami_gazou/kantan/dog.gif" alt="犬の顔の紙" width="62" height="43"></img><span size="+2">いぬ</span></a></td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- <table>
- <tbody>
- <tr>
- <td>♪音声配信(html5)</td>
- </tr>
- <tr>
- <td><audio src="http://ohanashi2.up.seesaa.net/mp3/ae_0101.mp3" controls=""></audio></td>
- </tr>
- <tr>
- <td>
- <span size="-1"><a href="http://www.voiceblog.jp/onokuboaki/">亜姫の朗読☆ イソップ童話より</a></span>
- </td>
- </tr>
- </tbody>
- </table>
- <p>  肉をくわえたイヌが、橋を渡っていました。 ふと下を見ると、川の中にも肉をくわえたイヌがいます。 イヌはそれを見て、思いました。(あいつの肉の方が、大きそうだ)  イヌは、くやしくてたまりません。 (そうだ、あいつをおどかして、あの肉を取ってやろう)  そこでイヌは、川の中のイヌに向かって思いっきり吠えました。 「ウゥー、ワン!!」  そのとたん、くわえていた肉はポチャンと川の中に落ちてしまいました。 「ああー、ぁぁー」  川の中には、がっかりしたイヌの顔がうつっています。  さっきの川の中のイヌは、水にうつった自分の顔だったのです。  同じ物を持っていても、人が持っている物の方が良く見え、また、欲張るとけっきょく損をするというお話しです。</p>
- <p>おしまい</p>
- <p> </p>
- </div></div> \ No newline at end of file
+ </tr></tbody></table><p>  肉をくわえたイヌが、橋を渡っていました。  ふと下を見ると、川の中にも肉をくわえたイヌがいます。 イヌはそれを見て、思いました。(あいつの肉の方が、大きそうだ)  イヌは、くやしくてたまりません。 (そうだ、あいつをおどかして、あの肉を取ってやろう)  そこでイヌは、川の中のイヌに向かって思いっきり吠えました。 「ウゥー、ワン!!」  そのとたん、くわえていた肉はポチャンと川の中に落ちてしまいました。 「ああー、ぁぁー」  川の中には、がっかりしたイヌの顔がうつっています。  さっきの川の中のイヌは、水にうつった自分の顔だったのです。  同じ物を持っていても、人が持っている物の方が良く見え、また、欲張るとけっきょく損をするというお話しです。</p>
+ <p>おしまい</p>
+ <p> </p>
+ </div> \ No newline at end of file