Updated test cases documentation

This commit is contained in:
Bartek Kryza
2023-12-09 20:16:28 +01:00
parent 6055c5684e
commit 0a8292655a
316 changed files with 9068 additions and 10010 deletions

View File

@@ -1,8 +1,6 @@
# t20001 - Basic sequence diagram test case
## Config
```yaml
compilation_database_dir: ..
output_directory: diagrams
add_compile_flags:
- -fparse-all-comments
diagrams:
@@ -10,15 +8,14 @@ diagrams:
type: sequence
title: Basic sequence diagram example
glob:
- ../../tests/t20001/t20001.cc
- t20001.cc
include:
namespaces:
- clanguml::t20001
exclude:
namespaces:
- clanguml::t20001::detail
using_namespace:
- clanguml::t20001
using_namespace: clanguml::t20001
from:
- function: "clanguml::t20001::tmain()"
plantuml:
@@ -119,11 +116,6 @@ int tmain()
```json
{
"diagram_type": "sequence",
"metadata": {
"clang_uml_version": "0.4.1-11-g39d3e1f",
"llvm_version": "Ubuntu clang version 16.0.6 (++20230710042027+7cbf1a259152-1~exp1~20230710162048.105)",
"schema_version": 1
},
"name": "t20001_sequence",
"participants": [
{
@@ -131,9 +123,9 @@ int tmain()
"name": "clanguml::t20001::tmain()",
"source_location": {
"column": 5,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 61,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"type": "function"
},
@@ -142,9 +134,9 @@ int tmain()
"name": "clanguml::t20001::A",
"source_location": {
"column": 7,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 13,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"type": "class"
},
@@ -153,9 +145,9 @@ int tmain()
"name": "clanguml::t20001::B",
"source_location": {
"column": 7,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 36,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"type": "class"
}
@@ -175,9 +167,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 7,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 63,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"to": {
"activity_id": "275353461034438145",
@@ -198,9 +190,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 7,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 64,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"to": {
"activity_id": "2235477658795500000",
@@ -222,9 +214,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 16,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 67,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"to": {
"activity_id": "1131549932713395402",
@@ -246,9 +238,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 12,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 70,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"to": {
"activity_id": "642550151323208936",
@@ -268,9 +260,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 20,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 52,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"to": {
"activity_id": "2090436635449419593",
@@ -290,9 +282,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 20,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 25,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"to": {
"activity_id": "1131549932713395402",
@@ -312,9 +304,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 9,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 26,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"to": {
"activity_id": "1205947631808952097",
@@ -334,9 +326,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 9,
"file": "../../tests/t20001/t20001.cc",
"file": "t20001.cc",
"line": 53,
"translation_unit": "../../tests/t20001/t20001.cc"
"translation_unit": "t20001.cc"
},
"to": {
"activity_id": "1205947631808952097",