Path:
tests/integration/features/diff/53__sections__modify_text_node_unmatched/test.itest
Lines:
24
Non-empty lines:
17
Non-empty lines covered with requirements:
17 / 17 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# The LHS and RHS Sections do not have a UID, so StrictDoc cannot match that
3
# it is just one node that is being changed. The expectation is that there
4
# will be two nodes modified: one removed and one added.
5
# @relation(SDOC-SRS-111, scope=file)
6
#
7
8
RUN: cp %S/strictdoc_config.py %T/
9
RUN: cd %T && %strictdoc export . --generate-diff-dirs %S/lhs %S/rhs --output-dir %T
10
11
RUN: cat %T/html/changelog.html | filecheck %s --check-prefix=CHECK-CHANGELOG
12
13
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">Nodes modified</div>
14
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>2</div>15
16
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">Documents modified</div>
17
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>No documents were modified.</div>18
19
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">TEXT nodes</div>
20
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>2 (1 removed, 1 added)</div>21
22
CHECK-CHANGELOG:<div class="sdoc-table_key_value-key">REQUIREMENT nodes</div>
23
CHECK-CHANGELOG:<div class="sdoc-table_key_value-value"{{.*}}>No nodes were modified.</div>24