Skip to content

Commit 91de249

Browse files
linawolfjaapio
authored andcommitted
Move class directive tests to integration tests
Some of the node transitions do not work properly (yet?) in the functional tests. However the class directive works ok in the integration tests and RL examples
1 parent d55133f commit 91de249

File tree

3 files changed

+63
-36
lines changed

3 files changed

+63
-36
lines changed

tests/Functional/tests/class-directive-non-block/class-directive-non-block.html

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>Class directives</title>
5+
6+
</head>
7+
<body>
8+
<div class="section" id="class-directives">
9+
<h1>Class directives</h1>
10+
11+
<p>Class directives are applied to the next node if they have not content.</p>
12+
<p class="special-paragraph1">Test special-paragraph1 1.</p>
13+
<p>Test special-paragraph1 2.</p>
14+
<p class="special-paragraph2">Test special-paragraph2 1.</p><p class="special-paragraph2">Test special-paragraph2 2.</p>
15+
16+
<div class="admonition note">
17+
<p class="special-paragraph3">Test</p>
18+
</div>
19+
20+
21+
22+
<ul class="special-list">
23+
<li class="dash">Test list item 1.</li>
24+
25+
<li class="dash">Test list item 2.</li>
26+
27+
</ul>
28+
29+
<p class="rot-gelb-blau gr-n-2008">Weird class names.</p>
30+
<p class="level1">Level 1</p><blockquote class="level1"><p class="level2">Level2 1</p><p class="level2">Level2 2</p>
31+
</blockquote>
32+
33+
34+
<dl class="special-definition-list">
35+
<dt>term 1</dt>
36+
37+
<dd>Definition 1</dd> </dl>
38+
39+
<table class="special-table">
40+
<thead>
41+
<tr>
42+
<th>First col</th>
43+
<th>Second col</th>
44+
</tr>
45+
</thead>
46+
47+
<tbody>
48+
<tr>
49+
<td>Second row</td>
50+
<td>Other col</td>
51+
</tr>
52+
</tbody>
53+
</table>
54+
55+
</div>
56+
57+
</body>
58+
</html>

tests/Functional/tests/class-directive-non-block/class-directive-non-block.rst renamed to tests/Integration/tests/class-directive-non-block/input/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Class directives
2+
================
3+
4+
Class directives are applied to the next node if they have not content.
5+
16
.. class:: special-paragraph1
27

38
Test special-paragraph1 1.

0 commit comments

Comments
 (0)