StrictDoc Documentation
tests/integration/features/diff/120__escaping__basic/test.itest
Source file coverage
Path:
tests/integration/features/diff/120__escaping__basic/test.itest
Lines:
34
Non-empty lines:
30
Non-empty lines covered with requirements:
30 / 30 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-111, scope=file)
3
#
4
 
5
RUN: cp %S/strictdoc.toml %T/
6
RUN: cd %T && %strictdoc export . --generate-diff-dirs %S/lhs %S/rhs --output-dir %T
7
 
8
RUN: cat %T/html/diff.html | filecheck %s --check-prefix=CHECK-DIFF
9
 
10
CHECK-DIFF:<span class="document_title">Doc Title with special characters &lt;&gt;</span>
11
CHECK-DIFF:<span>Doc Title with</span><span> special characters &lt;&gt;</span></div>
12
CHECK-DIFF:To be removed section with special characters &lt;&gt;
13
CHECK-DIFF:To be removed section with special characters &lt;&gt;
14
CHECK-DIFF:To be removed title with special characters &lt;&gt;
15
CHECK-DIFF:To be removed title with special characters &lt;&gt;
16
CHECK-DIFF:To be removed statement with special characters &lt;&gt;
17
CHECK-DIFF:To be changed section with special characters &lt;&gt;
18
CHECK-DIFF:To be c</span><span>hanged section with</span><span> special characters &lt;&gt;
19
CHECK-DIFF:To be changed title with special characters &lt;&gt;
20
CHECK-DIFF:To be c</span><span>hanged title with</span><span> special characters &lt;&gt;
21
CHECK-DIFF:To be c</span><span>hanged statement with </span><span>special characters &lt;&gt;
22
 
23
CHECK-DIFF:<span class="document_title">Doc Title with more special characters &lt;&gt;&amp;&#34;&#39;</span>
24
CHECK-DIFF:<span>Doc Title with</span><span class="lambda_green"> more</span><span> special characters &lt;&gt;</span><span class="lambda_green">&amp;&#34;&#39;</span></div>
25
CHECK-DIFF:Added section with more special characters &lt;&gt;&amp;&#34;&#39;
26
CHECK-DIFF:Added section with more special characters &lt;&gt;&amp;&#34;&#39;
27
CHECK-DIFF:Added title with more special characters &lt;&gt;&amp;&#34;&#39;
28
CHECK-DIFF:Added title with more special characters &lt;&gt;&amp;&#34;&#39;
29
CHECK-DIFF:Added statement with more special characters &lt;&gt;&amp;&#34;&#39;
30
CHECK-DIFF:Changed section with more special characters &lt;&gt;&amp;&#34;&#39;
31
CHECK-DIFF:<span class="lambda_green">C</span><span>hanged section with</span><span class="lambda_green"> more</span><span> special characters &lt;&gt;</span><span class="lambda_green">&amp;&#34;&#39;</span>
32
CHECK-DIFF:Changed title with more special characters &lt;&gt;&amp;&#34;&#39;
33
CHECK-DIFF:<span class="lambda_green">C</span><span>hanged title with</span><span class="lambda_green"> more</span><span> special characters &lt;&gt;</span><span class="lambda_green">&amp;&#34;&#39;</span></span>
34
CHECK-DIFF:<span class="lambda_green">C</span><span>hanged statement with </span><span class="lambda_green">more </span><span>special characters &lt;&gt;</span><span class="lambda_green">&amp;&#34;&#39;</span></span>