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,18 +1,15 @@
# t20021 - Loop statements sequence diagram test case
## Config
```yaml
compilation_database_dir: ..
output_directory: diagrams
diagrams:
t20021_sequence:
type: sequence
glob:
- ../../tests/t20021/t20021.cc
- t20021.cc
include:
namespaces:
- clanguml::t20021
using_namespace:
- clanguml::t20021
using_namespace: clanguml::t20021
from:
- function: "clanguml::t20021::tmain()"
```
@@ -85,11 +82,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": "t20021_sequence",
"participants": [
{
@@ -97,9 +89,9 @@ int tmain()
"name": "clanguml::t20021::tmain()",
"source_location": {
"column": 5,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 30,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"type": "function"
},
@@ -108,9 +100,9 @@ int tmain()
"name": "clanguml::t20021::C",
"source_location": {
"column": 8,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 18,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"type": "class"
},
@@ -119,9 +111,9 @@ int tmain()
"name": "clanguml::t20021::A",
"source_location": {
"column": 8,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 5,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"type": "class"
},
@@ -130,9 +122,9 @@ int tmain()
"name": "clanguml::t20021::B",
"source_location": {
"column": 8,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 11,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"type": "class"
}
@@ -155,9 +147,9 @@ int tmain()
"scope": "condition",
"source_location": {
"column": 17,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 37,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "124927877622321176",
@@ -177,9 +169,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 23,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 22,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "1325720714179808628",
@@ -200,9 +192,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 17,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 38,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "1867955233624891190",
@@ -229,9 +221,9 @@ int tmain()
"scope": "condition",
"source_location": {
"column": 26,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 40,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "1139294797758415018",
@@ -252,9 +244,9 @@ int tmain()
"scope": "condition",
"source_location": {
"column": 38,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 40,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "2143764740072323303",
@@ -275,9 +267,9 @@ int tmain()
"scope": "condition",
"source_location": {
"column": 51,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 40,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "1707693479408501017",
@@ -298,9 +290,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 17,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 41,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "1659488549696810992",
@@ -325,9 +317,9 @@ int tmain()
"scope": "condition",
"source_location": {
"column": 23,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 42,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "1302892753246800390",
@@ -359,9 +351,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 19,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 47,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "1561040999276563077",
@@ -389,9 +381,9 @@ int tmain()
"scope": "condition",
"source_location": {
"column": 27,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 50,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "814405216385697964",
@@ -416,9 +408,9 @@ int tmain()
"scope": "normal",
"source_location": {
"column": 12,
"file": "../../tests/t20021/t20021.cc",
"file": "t20021.cc",
"line": 54,
"translation_unit": "../../tests/t20021/t20021.cc"
"translation_unit": "t20021.cc"
},
"to": {
"activity_id": "1561040999276563077",