aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorStefan Kangas2020-10-24 02:28:45 +0200
committerStefan Kangas2020-10-24 02:29:04 +0200
commite402887d5d2f7cfc5e3f1cb2a9e629bce782e0a8 (patch)
tree2a487b25181e43d8674701c2e3123dbdc7b61d7f /test/data
parentab7dddea907ebb226fd657cc2fad441a374dfd7f (diff)
downloademacs-e402887d5d2f7cfc5e3f1cb2a9e629bce782e0a8.tar.gz
emacs-e402887d5d2f7cfc5e3f1cb2a9e629bce782e0a8.zip
Move shr.el test data to follow our conventions
* test/lisp/net/shr-tests.el (ert, ert-x): Require. (shr-tests--datadir): Remove variable. (shr-test, rendering): Use ert-resource-directory. * test/lisp/net/shr-resources/*: Move from test/data/shr/.
Diffstat (limited to 'test/data')
-rw-r--r--test/data/shr/div-div.html1
-rw-r--r--test/data/shr/div-div.txt2
-rw-r--r--test/data/shr/div-p.html1
-rw-r--r--test/data/shr/div-p.txt3
-rw-r--r--test/data/shr/li-div.html10
-rw-r--r--test/data/shr/li-div.txt6
-rw-r--r--test/data/shr/li-empty.html1
-rw-r--r--test/data/shr/li-empty.txt3
-rw-r--r--test/data/shr/nonbr.html1
-rw-r--r--test/data/shr/nonbr.txt12
-rw-r--r--test/data/shr/ol.html29
-rw-r--r--test/data/shr/ol.txt19
-rw-r--r--test/data/shr/ul-empty.html4
-rw-r--r--test/data/shr/ul-empty.txt3
14 files changed, 0 insertions, 95 deletions
diff --git a/test/data/shr/div-div.html b/test/data/shr/div-div.html
deleted file mode 100644
index 1c191ae44d8..00000000000
--- a/test/data/shr/div-div.html
+++ /dev/null
@@ -1 +0,0 @@
1<div>foo</div><div>Bar</div>
diff --git a/test/data/shr/div-div.txt b/test/data/shr/div-div.txt
deleted file mode 100644
index 62715e12513..00000000000
--- a/test/data/shr/div-div.txt
+++ /dev/null
@@ -1,2 +0,0 @@
1foo
2Bar
diff --git a/test/data/shr/div-p.html b/test/data/shr/div-p.html
deleted file mode 100644
index fcbdfc43293..00000000000
--- a/test/data/shr/div-p.html
+++ /dev/null
@@ -1 +0,0 @@
1<div>foo</div><p>Bar</p>
diff --git a/test/data/shr/div-p.txt b/test/data/shr/div-p.txt
deleted file mode 100644
index 859d731da89..00000000000
--- a/test/data/shr/div-p.txt
+++ /dev/null
@@ -1,3 +0,0 @@
1foo
2
3Bar
diff --git a/test/data/shr/li-div.html b/test/data/shr/li-div.html
deleted file mode 100644
index eca3c511bd9..00000000000
--- a/test/data/shr/li-div.html
+++ /dev/null
@@ -1,10 +0,0 @@
1<ul>
2 <li>
3 <div>
4 <p >This is the first paragraph of a list item.</div>
5 <p >This is the second paragraph of a list item.</li>
6 <li>
7 <div>This is the first paragraph of a list item.</div>
8 <div>This is the second paragraph of a list item.</div>
9 </li>
10</ul>
diff --git a/test/data/shr/li-div.txt b/test/data/shr/li-div.txt
deleted file mode 100644
index 9fc54f2bdc6..00000000000
--- a/test/data/shr/li-div.txt
+++ /dev/null
@@ -1,6 +0,0 @@
1* This is the first paragraph of a list item.
2
3 This is the second paragraph of a list item.
4
5* This is the first paragraph of a list item.
6 This is the second paragraph of a list item.
diff --git a/test/data/shr/li-empty.html b/test/data/shr/li-empty.html
deleted file mode 100644
index 05cfee7bdd4..00000000000
--- a/test/data/shr/li-empty.html
+++ /dev/null
@@ -1 +0,0 @@
1<ol><li></li><li></li><li></li></ol>
diff --git a/test/data/shr/li-empty.txt b/test/data/shr/li-empty.txt
deleted file mode 100644
index 906fd8df8b3..00000000000
--- a/test/data/shr/li-empty.txt
+++ /dev/null
@@ -1,3 +0,0 @@
11%20
22%20
33%20
diff --git a/test/data/shr/nonbr.html b/test/data/shr/nonbr.html
deleted file mode 100644
index 56282cf4ca5..00000000000
--- a/test/data/shr/nonbr.html
+++ /dev/null
@@ -1 +0,0 @@
1<div class="gmail_extra">(progn</div><div class="gmail_extra">  (setq minibuffer-prompt-properties &#39;(read-only t cursor-intangible t face minibuffer-prompt))</div><div class="gmail_extra"><br></div><div class="gmail_extra">  (defun turn-on-cursor-intangible-mode ()</div><div class="gmail_extra">    &quot;Turns on cursor-intangible-mode.&quot;</div><div class="gmail_extra">    (interactive)</div><div class="gmail_extra">    (cursor-intangible-mode 1))</div><div class="gmail_extra">  (define-globalized-minor-mode global-cursor-intangible-mode cursor-intangible-mode turn-on-cursor-intangible-mode)</div><div class="gmail_extra"><br></div><div class="gmail_extra">  (global-cursor-intangible-mode 1))</div><div class="gmail_extra"><br></div>
diff --git a/test/data/shr/nonbr.txt b/test/data/shr/nonbr.txt
deleted file mode 100644
index 0c3cffa93f9..00000000000
--- a/test/data/shr/nonbr.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1(progn
2 (setq minibuffer-prompt-properties '(read-only t cursor-intangible t face
3minibuffer-prompt))
4
5 (defun turn-on-cursor-intangible-mode ()
6 "Turns on cursor-intangible-mode."
7 (interactive)
8 (cursor-intangible-mode 1))
9 (define-globalized-minor-mode global-cursor-intangible-mode
10cursor-intangible-mode turn-on-cursor-intangible-mode)
11
12 (global-cursor-intangible-mode 1))
diff --git a/test/data/shr/ol.html b/test/data/shr/ol.html
deleted file mode 100644
index f9a15f26409..00000000000
--- a/test/data/shr/ol.html
+++ /dev/null
@@ -1,29 +0,0 @@
1<ol>
2 <li>one</li>
3 <li>two</li>
4 <li>three</li>
5</ol>
6
7<ol start="10">
8 <li>ten</li>
9 <li>eleven</li>
10 <li>twelve</li>
11</ol>
12
13<ol start="0">
14 <li>zero</li>
15 <li>one</li>
16 <li>two</li>
17</ol>
18
19<ol start="-5">
20 <li>minus five</li>
21 <li>minus four</li>
22 <li>minus three</li>
23</ol>
24
25<ol start="notanumber">
26 <li>one</li>
27 <li>two</li>
28 <li>three</li>
29</ol>
diff --git a/test/data/shr/ol.txt b/test/data/shr/ol.txt
deleted file mode 100644
index 0d46e2a8ddb..00000000000
--- a/test/data/shr/ol.txt
+++ /dev/null
@@ -1,19 +0,0 @@
11 one
22 two
33 three
4
510 ten
611 eleven
712 twelve
8
90 zero
101 one
112 two
12
13-5 minus five
14-4 minus four
15-3 minus three
16
171 one
182 two
193 three
diff --git a/test/data/shr/ul-empty.html b/test/data/shr/ul-empty.html
deleted file mode 100644
index e5a75ab9216..00000000000
--- a/test/data/shr/ul-empty.html
+++ /dev/null
@@ -1,4 +0,0 @@
1<ul>
2<li></li>
3</ul>
4Lala
diff --git a/test/data/shr/ul-empty.txt b/test/data/shr/ul-empty.txt
deleted file mode 100644
index 8993555425b..00000000000
--- a/test/data/shr/ul-empty.txt
+++ /dev/null
@@ -1,3 +0,0 @@
1*
2
3Lala \ No newline at end of file