Path:
tests/integration/features/html2pdf/05_generate_bundle_document/test.itest
Lines:
21
Non-empty lines:
15
Non-empty lines covered with requirements:
15 / 15 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
# @relation(SDOC-SRS-51, scope=file)
2
3
REQUIRES: TEST_HTML2PDF
4
5
RUN: %strictdoc export %S --formats=html2pdf --generate-bundle-document --output-dir %T | filecheck %s --dump-input=fail
6
CHECK: html2pdf4doc: JS logs from the print session
7
8
RUN: %check_exists --file %T/html2pdf/html/bundle-PDF.html
9
RUN: %check_exists --file %T/html2pdf/html/%THIS_TEST_FOLDER/input-PDF.html
10
RUN: %check_exists --file %T/html2pdf/html/%THIS_TEST_FOLDER/nested/input2-PDF.html
11
RUN: %check_exists --file %T/html2pdf/html/%THIS_TEST_FOLDER/nested/subnested/input3-PDF.html
12
13
RUN: %cat %T/html2pdf/html/bundle-PDF.html | filecheck %s --check-prefix CHECK-DOC-HTML
14
# This ensures that the link is resolved correctly.
15
CHECK-DOC-HTML:<a href="#SEC-1">🔗 1.1. Section #1</a>
16
17
# Git meta information.
18
CHECK-DOC-HTML: {{.* \(Git branch: .*\)}}19
CHECK-DOC-HTML: {{\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}}}20
21
RUN: python %S/test_pdf.py