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/base-url/expected.html | |
parent | 0a8077f9e2a3f531a087b3ec5c07cf16ba5497ae (diff) |
Added some basic Unit Testing. HTML samples taken from readability.js
Diffstat (limited to 'test/test-pages/base-url/expected.html')
-rw-r--r-- | test/test-pages/base-url/expected.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/test-pages/base-url/expected.html b/test/test-pages/base-url/expected.html new file mode 100644 index 0000000..c06f1fd --- /dev/null +++ b/test/test-pages/base-url/expected.html @@ -0,0 +1,21 @@ +<div id="readability-page-1" class="page"> + <article> + <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p> + <p>Links</p> + <p><a href="http://fakehost/test/foo/bar/baz.html">link</a></p> + <p><a href="http://fakehost/test/foo/bar/baz.html">link</a></p> + <p><a href="http://fakehost/foo/bar/baz.html">link</a></p> + <p><a href="#foo">link</a></p> + <p><a href="http://fakehost/test/baz.html#foo">link</a></p> + <p><a href="http://fakehost/foo/bar/baz.html#foo">link</a></p> + <p><a href="http://test/foo/bar/baz.html">link</a></p> + <p><a href="https://test/foo/bar/baz.html">link</a></p> + <p>Images</p> + <p><img src="http://fakehost/test/foo/bar/baz.png"/></p> + <p><img src="http://fakehost/test/foo/bar/baz.png"/></p> + <p><img src="http://fakehost/foo/bar/baz.png"/></p> + <p><img src="http://test/foo/bar/baz.png"/></p> + <p><img src="https://test/foo/bar/baz.png"/></p> + <p> Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p> + </article> +</div> |