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 @@
# t20012 - Lambda expression call sequence diagram test case
## Config
```yaml
compilation_database_dir: ..
output_directory: diagrams
diagrams:
t20012_sequence:
type: sequence
glob:
- ../../tests/t20012/t20012.cc
- t20012.cc
include:
namespaces:
- clanguml::t20012
using_namespace:
- clanguml::t20012
using_namespace: clanguml::t20012
from:
- function: "clanguml::t20012::tmain()"
```
@@ -134,11 +131,6 @@ void 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": "t20012_sequence",
"participants": [
{
@@ -146,20 +138,20 @@ void tmain()
"name": "clanguml::t20012::tmain()",
"source_location": {
"column": 6,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 59,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"type": "function"
},
{
"id": "1160054139240670033",
"name": "clanguml::t20012::tmain()::(lambda ../../tests/t20012/t20012.cc:67:20)",
"id": "1823127147500894672",
"name": "clanguml::t20012::tmain()::(lambda t20012.cc:67:20)",
"source_location": {
"column": 20,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 67,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"type": "class"
},
@@ -168,9 +160,9 @@ void tmain()
"name": "clanguml::t20012::A",
"source_location": {
"column": 8,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 10,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"type": "class"
},
@@ -179,20 +171,20 @@ void tmain()
"name": "clanguml::t20012::B",
"source_location": {
"column": 8,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 18,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"type": "class"
},
{
"id": "409124263156368546",
"name": "clanguml::t20012::tmain()::(lambda ../../tests/t20012/t20012.cc:80:20)",
"id": "2103332104162021186",
"name": "clanguml::t20012::tmain()::(lambda t20012.cc:80:20)",
"source_location": {
"column": 20,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 80,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"type": "class"
},
@@ -201,31 +193,31 @@ void tmain()
"name": "clanguml::t20012::C",
"source_location": {
"column": 8,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 28,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"type": "class"
},
{
"id": "1848989986288721876",
"name": "clanguml::t20012::R<R::(lambda ../../tests/t20012/t20012.cc:86:9)>",
"id": "943938410171869397",
"name": "clanguml::t20012::R<R::(lambda t20012.cc:86:9)>",
"source_location": {
"column": 30,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 48,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"type": "class"
},
{
"id": "235908030444274749",
"name": "clanguml::t20012::tmain()::(lambda ../../tests/t20012/t20012.cc:86:9)",
"id": "1523229682883773614",
"name": "clanguml::t20012::tmain()::(lambda t20012.cc:86:9)",
"source_location": {
"column": 9,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 86,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"type": "class"
}
@@ -245,31 +237,31 @@ void tmain()
"scope": "normal",
"source_location": {
"column": 5,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 73,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "2097044932440760306",
"activity_name": "clanguml::t20012::tmain()##(lambda ../../tests/t20012/t20012.cc:67:20)::operator()()",
"participant_id": "1160054139240670033"
"activity_id": "1314931307342523651",
"activity_name": "clanguml::t20012::tmain()##(lambda t20012.cc:67:20)::operator()()",
"participant_id": "1823127147500894672"
},
"type": "message"
},
{
"from": {
"activity_id": "2097044932440760306",
"activity_name": "clanguml::t20012::tmain()::(lambda ../../tests/t20012/t20012.cc:67:20)::operator()()",
"participant_id": "1160054139240670033"
"activity_id": "1314931307342523651",
"activity_name": "clanguml::t20012::tmain()::(lambda t20012.cc:67:20)::operator()()",
"participant_id": "1823127147500894672"
},
"name": "a()",
"return_type": "void",
"scope": "normal",
"source_location": {
"column": 9,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 68,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "1871432932744498976",
@@ -289,9 +281,9 @@ void tmain()
"scope": "normal",
"source_location": {
"column": 16,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 11,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "1100933039353876539",
@@ -311,9 +303,9 @@ void tmain()
"scope": "normal",
"source_location": {
"column": 17,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 13,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "941636185823691898",
@@ -324,18 +316,18 @@ void tmain()
},
{
"from": {
"activity_id": "2097044932440760306",
"activity_name": "clanguml::t20012::tmain()::(lambda ../../tests/t20012/t20012.cc:67:20)::operator()()",
"participant_id": "1160054139240670033"
"activity_id": "1314931307342523651",
"activity_name": "clanguml::t20012::tmain()::(lambda t20012.cc:67:20)::operator()()",
"participant_id": "1823127147500894672"
},
"name": "b()",
"return_type": "void",
"scope": "normal",
"source_location": {
"column": 9,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 69,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "2142697410385270633",
@@ -355,9 +347,9 @@ void tmain()
"scope": "normal",
"source_location": {
"column": 16,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 19,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "973718340784931313",
@@ -377,9 +369,9 @@ void tmain()
"scope": "normal",
"source_location": {
"column": 17,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 21,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "195788529004378403",
@@ -400,31 +392,31 @@ void tmain()
"scope": "normal",
"source_location": {
"column": 5,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 84,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "3346531080036149",
"activity_name": "clanguml::t20012::tmain()##(lambda ../../tests/t20012/t20012.cc:80:20)::operator()()",
"participant_id": "409124263156368546"
"activity_id": "1464047298179756286",
"activity_name": "clanguml::t20012::tmain()##(lambda t20012.cc:80:20)::operator()()",
"participant_id": "2103332104162021186"
},
"type": "message"
},
{
"from": {
"activity_id": "3346531080036149",
"activity_name": "clanguml::t20012::tmain()::(lambda ../../tests/t20012/t20012.cc:80:20)::operator()()",
"participant_id": "409124263156368546"
"activity_id": "1464047298179756286",
"activity_name": "clanguml::t20012::tmain()::(lambda t20012.cc:80:20)::operator()()",
"participant_id": "2103332104162021186"
},
"name": "c()",
"return_type": "void",
"scope": "normal",
"source_location": {
"column": 9,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 81,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "675369415318225607",
@@ -444,9 +436,9 @@ void tmain()
"scope": "normal",
"source_location": {
"column": 16,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 29,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "1451821704315336057",
@@ -466,9 +458,9 @@ void tmain()
"scope": "normal",
"source_location": {
"column": 17,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 31,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "1956141408799600460",
@@ -479,23 +471,23 @@ void tmain()
},
{
"from": {
"activity_id": "3346531080036149",
"activity_name": "clanguml::t20012::tmain()::(lambda ../../tests/t20012/t20012.cc:80:20)::operator()()",
"participant_id": "409124263156368546"
"activity_id": "1464047298179756286",
"activity_name": "clanguml::t20012::tmain()::(lambda t20012.cc:80:20)::operator()()",
"participant_id": "2103332104162021186"
},
"name": "operator()()",
"return_type": "",
"scope": "normal",
"source_location": {
"column": 9,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 82,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "2097044932440760306",
"activity_name": "clanguml::t20012::tmain()##(lambda ../../tests/t20012/t20012.cc:67:20)::operator()()",
"participant_id": "1160054139240670033"
"activity_id": "1314931307342523651",
"activity_name": "clanguml::t20012::tmain()##(lambda t20012.cc:67:20)::operator()()",
"participant_id": "1823127147500894672"
},
"type": "message"
},
@@ -511,14 +503,14 @@ void tmain()
"scope": "normal",
"source_location": {
"column": 7,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 86,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "1163275626544717212",
"activity_name": "clanguml::t20012::R<R##(lambda ../../tests/t20012/t20012.cc:86:9)>::R((lambda at /home/bartek/devel/clang-uml/tests/t20012/t20012.cc:86:9) &&)",
"participant_id": "1848989986288721876"
"activity_id": "1225911104877544354",
"activity_name": "clanguml::t20012::R<R##(lambda t20012.cc:86:9)>::R((lambda at /home/bartek/devel/clang-uml/tests/t20012/t20012.cc:86:9) &&)",
"participant_id": "943938410171869397"
},
"type": "message"
},
@@ -534,53 +526,53 @@ void tmain()
"scope": "normal",
"source_location": {
"column": 5,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 88,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "983377906480895496",
"activity_name": "clanguml::t20012::R<R##(lambda ../../tests/t20012/t20012.cc:86:9)>::r()",
"participant_id": "1848989986288721876"
"activity_id": "984475898639439059",
"activity_name": "clanguml::t20012::R<R##(lambda t20012.cc:86:9)>::r()",
"participant_id": "943938410171869397"
},
"type": "message"
},
{
"from": {
"activity_id": "983377906480895496",
"activity_name": "clanguml::t20012::R<R::(lambda ../../tests/t20012/t20012.cc:86:9)>::r()",
"participant_id": "1848989986288721876"
"activity_id": "984475898639439059",
"activity_name": "clanguml::t20012::R<R::(lambda t20012.cc:86:9)>::r()",
"participant_id": "943938410171869397"
},
"name": "operator()()",
"return_type": "",
"scope": "normal",
"source_location": {
"column": 16,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 54,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "2085809056446194400",
"activity_name": "clanguml::t20012::tmain()##(lambda ../../tests/t20012/t20012.cc:86:9)::operator()()",
"participant_id": "235908030444274749"
"activity_id": "1801444422355429914",
"activity_name": "clanguml::t20012::tmain()##(lambda t20012.cc:86:9)::operator()()",
"participant_id": "1523229682883773614"
},
"type": "message"
},
{
"from": {
"activity_id": "2085809056446194400",
"activity_name": "clanguml::t20012::tmain()::(lambda ../../tests/t20012/t20012.cc:86:9)::operator()()",
"participant_id": "235908030444274749"
"activity_id": "1801444422355429914",
"activity_name": "clanguml::t20012::tmain()::(lambda t20012.cc:86:9)::operator()()",
"participant_id": "1523229682883773614"
},
"name": "c()",
"return_type": "void",
"scope": "normal",
"source_location": {
"column": 18,
"file": "../../tests/t20012/t20012.cc",
"file": "t20012.cc",
"line": 86,
"translation_unit": "../../tests/t20012/t20012.cc"
"translation_unit": "t20012.cc"
},
"to": {
"activity_id": "675369415318225607",