Path:
tests/integration/features/source_code_traceability/_file_types/80_auto_finding_of_lexers/test.itest
Lines:
32
Non-empty lines:
22
Non-empty lines covered with requirements:
22 / 22 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-142, scope=file)
3
#
4
5
RUN: %strictdoc export %S --output-dir %T | filecheck %s
6
CHECK: Export completed.
7
8
RUN: %check_exists --file "%T/html/_source_files/file.ml.html"
9
10
RUN: %cat %T/html/80_auto_finding_of_lexers/input.html | filecheck %s --check-prefix CHECK-HTML
11
CHECK-HTML: <link rel="stylesheet" href="../_static/base.css"/>
12
13
CHECK-HTML: href="../_source_files/file.ml.html#REQ-001#3#5"
14
15
RUN: %cat %T/html/_source_files/file.ml.html | filecheck %s --check-prefix CHECK-SOURCE-FILE
16
17
# Ensure that the lexer is recognized correctly.
18
CHECK-SOURCE-FILE: OCaml
19
20
CHECK-SOURCE-FILE: href="../80_auto_finding_of_lexers/input.html#REQ-001"
21
22
CHECK-SOURCE-FILE: href="../_source_files/file.ml.html#REQ-001#1#5"
23
CHECK-SOURCE-FILE: <b>[ 1-5 ]</b>
24
CHECK-SOURCE-FILE: file.ml, entire file
25
26
CHECK-SOURCE-FILE: href="../_source_files/file.ml.html#REQ-001#3#5"
27
CHECK-SOURCE-FILE: <b>[ 3-5 ]</b>
28
CHECK-SOURCE-FILE: file.ml, range
29
30
RUN: %cat %T/html/source_coverage.html | filecheck %s --check-prefix CHECK-SOURCE-COVERAGE
31
CHECK-SOURCE-COVERAGE: file.ml
32
CHECK-SOURCE-COVERAGE: strictdoc_config.py