diff options
author | Andres Rey <[email protected]> | 2016-12-07 09:59:02 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2016-12-07 09:59:02 +0000 |
commit | 3ec5546359239f66714ae6eb5257810877202a52 (patch) | |
tree | f800888686b7fb0232a1c323600cfa11ba885c13 /test/test-pages/missing-paragraphs/source.html | |
parent | 0a8077f9e2a3f531a087b3ec5c07cf16ba5497ae (diff) |
Added some basic Unit Testing. HTML samples taken from readability.js
Diffstat (limited to 'test/test-pages/missing-paragraphs/source.html')
-rw-r--r-- | test/test-pages/missing-paragraphs/source.html | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/test/test-pages/missing-paragraphs/source.html b/test/test-pages/missing-paragraphs/source.html new file mode 100644 index 0000000..f5f8ca6 --- /dev/null +++ b/test/test-pages/missing-paragraphs/source.html @@ -0,0 +1,64 @@ +<!DOCTYPE html> +<html lang="en"> + + <head> + <meta charset="utf-8"/> + <title>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy + eirmod tempor invidunt</title> + <meta content="width=device-width, initial-scale=1" + name="viewport"/> + <meta content="Henri Sivonen" name="author"/> + </head> + + <body> + +<h1>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt</h1> + + <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy + eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam + voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet + clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit + amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam + nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, + sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. + Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor + sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed + diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, + sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. + Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor + sit amet.</p> + +<h2>Secondary header</h2> + + <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy + eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam + voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet + clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit + amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam + nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, + sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. + Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor + sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed + diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, + sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. + Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor + sit amet.</p> + +<h2>Secondary header</h2> + + <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy + eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam + voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet + clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit + amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam + nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, + sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. + Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor + sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed + diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, + sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. + Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor + sit amet.</p> + </body> + +</html> |