Path:
tests/integration/features/source_code_traceability/_language_parsers/cpp/02_cpp_class_function_declaration_and_definition/test.itest
Lines:
16
Non-empty lines:
11
Non-empty lines covered with requirements:
11 / 11 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
# @relation(SDOC-SRS-146, scope=file)
2
3
RUN: %strictdoc export %S --output-dir %T | filecheck %s --dump-input=fail
4
CHECK: Export completed.
5
6
RUN: %check_exists --file "%T/html/_source_files/file.hpp.html"
7
8
RUN: %cat %T/html/%THIS_TEST_FOLDER/input.html | filecheck %s --dump-input=fail --check-prefix CHECK-HTML
9
CHECK-HTML: <a{{.*}}href="../_source_files/file.cpp.html#REQ-1#1#3">10
CHECK-HTML: <a{{.*}}href="../_source_files/file.hpp.html#REQ-1#4#5">11
12
RUN: %cat %T/html/_source_files/file.hpp.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-FILE
13
CHECK-SOURCE-FILE: href="../{{.*}}/input.html#REQ-1"14
15
RUN: %cat %T/html/source_coverage.html | filecheck %s --dump-input=fail --check-prefix CHECK-SOURCE-COVERAGE
16
CHECK-SOURCE-COVERAGE: 33.3