Path:
tests/integration/features/document_fragments/--included-documents/included_documents_option_not_provided/test.itest
Lines:
32
Non-empty lines:
26
Non-empty lines covered with requirements:
26 / 26 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-109, scope=file)
3
#
4
5
RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail
6
CHECK: Export completed.
7
8
RUN: %check_exists --file "%T/html/included_documents_option_not_provided/_assets/file.svg"
9
RUN: %check_exists --file "%T/html/included_documents_option_not_provided/nested/_assets/file.svg"
10
RUN: %check_exists --file "%T/html/included_documents_option_not_provided/nested/subnested/_assets/file.svg"
11
12
RUN: %check_exists --file "%T/html/included_documents_option_not_provided/input.html"
13
RUN: %check_exists --invert --file "%T/html/included_documents_option_not_provided/nested/nested.html"
14
RUN: %check_exists --invert --file "%T/html/included_documents_option_not_provided/nested/subnested/subnested.html"
15
16
RUN: %cat %T/html/index.html | filecheck %s --check-prefix CHECK-PROJECT-TREE
17
CHECK-PROJECT-TREE-NOT: nested
18
CHECK-PROJECT-TREE-NOT: subnested
19
20
RUN: %cat %T/html/included_documents_option_not_provided/input.html | filecheck %s --check-prefix CHECK-HTML
21
22
CHECK-HTML-NOT: nested
23
CHECK-HTML-NOT: subnested
24
CHECK-HTML:data-level="0"
25
CHECK-HTML:href="../included_documents_option_not_provided/input.html"
26
CHECK-HTML-NOT: nested
27
CHECK-HTML-NOT: subnested
28
CHECK-HTML:data-level="1"
29
CHECK-HTML:data-level="1.1"
30
CHECK-HTML:data-level="1.1.1"
31
CHECK-HTML:data-level="1.1.1.1"
32
CHECK-HTML:data-level="1.1.1.1.1"