aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader/scraper/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'reader/scraper/testdata')
-rw-r--r--reader/scraper/testdata/iframe.html12
-rw-r--r--reader/scraper/testdata/iframe.html-result1
-rw-r--r--reader/scraper/testdata/img.html12
-rw-r--r--reader/scraper/testdata/img.html-result1
-rw-r--r--reader/scraper/testdata/p.html10
-rw-r--r--reader/scraper/testdata/p.html-result1
6 files changed, 37 insertions, 0 deletions
diff --git a/reader/scraper/testdata/iframe.html b/reader/scraper/testdata/iframe.html
new file mode 100644
index 0000000..5095b7d
--- /dev/null
+++ b/reader/scraper/testdata/iframe.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="en-US">
+ <body>
+ <article>
+ <iframe id="1" src="about:blank"></iframe>
+ <iframe id="2" src="about:blank"></iframe>
+ <iframe id="3" src="about:blank"></iframe>
+ <iframe id="4" src="about:blank"></iframe>
+ <iframe id="5" src="about:blank"></iframe>
+ </article>
+ </body>
+</html>
diff --git a/reader/scraper/testdata/iframe.html-result b/reader/scraper/testdata/iframe.html-result
new file mode 100644
index 0000000..2d2a5ed
--- /dev/null
+++ b/reader/scraper/testdata/iframe.html-result
@@ -0,0 +1 @@
+<iframe id="1" src="about:blank"></iframe><iframe id="2" src="about:blank"></iframe><iframe id="3" src="about:blank"></iframe><iframe id="4" src="about:blank"></iframe><iframe id="5" src="about:blank"></iframe>
diff --git a/reader/scraper/testdata/img.html b/reader/scraper/testdata/img.html
new file mode 100644
index 0000000..33ec780
--- /dev/null
+++ b/reader/scraper/testdata/img.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="en-US">
+ <body>
+ <article>
+ <img id="1" src="#" alt="" />
+ <img id="2" src="#" alt="" />
+ <img id="3" src="#" alt="" />
+ <img id="4" src="#" alt="" />
+ <img id="5" src="#" alt="" />
+ </article>
+ </body>
+</html>
diff --git a/reader/scraper/testdata/img.html-result b/reader/scraper/testdata/img.html-result
new file mode 100644
index 0000000..54e1019
--- /dev/null
+++ b/reader/scraper/testdata/img.html-result
@@ -0,0 +1 @@
+<img id="1" src="#" alt=""/><img id="2" src="#" alt=""/><img id="3" src="#" alt=""/><img id="4" src="#" alt=""/><img id="5" src="#" alt=""/>
diff --git a/reader/scraper/testdata/p.html b/reader/scraper/testdata/p.html
new file mode 100644
index 0000000..45a24c0
--- /dev/null
+++ b/reader/scraper/testdata/p.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html lang="en-US">
+ <body>
+ <article>
+ <p>Lorem ipsum dolor sit amet, consectetuer adipiscing ept.</p>
+ <p>Apquam tincidunt mauris eu risus.</p>
+ <p>Vestibulum auctor dapibus neque.</p>
+ </article>
+ </body>
+</html>
diff --git a/reader/scraper/testdata/p.html-result b/reader/scraper/testdata/p.html-result
new file mode 100644
index 0000000..430f015
--- /dev/null
+++ b/reader/scraper/testdata/p.html-result
@@ -0,0 +1 @@
+<p>Lorem ipsum dolor sit amet, consectetuer adipiscing ept.</p><p>Apquam tincidunt mauris eu risus.</p><p>Vestibulum auctor dapibus neque.</p>