Updated test cases documentation
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
# t20017 - Test case for combine_free_functions_into_file_participants option
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t20017_sequence:
|
||||
type: sequence
|
||||
combine_free_functions_into_file_participants: true
|
||||
relative_to: ../../../tests/t20017
|
||||
glob:
|
||||
- t20017.cc
|
||||
include:
|
||||
@@ -50,43 +47,38 @@ int tmain() { return b2(a1(a2(a3(1, 2), b1(3, 4)), 5), 6); }
|
||||
```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": "t20017_sequence",
|
||||
"participants": [
|
||||
{
|
||||
"id": "800083058974241273",
|
||||
"id": "294332401323799021",
|
||||
"name": "t20017.cc",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../clang-uml/tests/t20017/t20017.cc",
|
||||
"file": "t20017.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../clang-uml/tests/t20017/t20017.cc"
|
||||
"translation_unit": "t20017.cc"
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
{
|
||||
"id": "446029693370832411",
|
||||
"id": "1591222867263639510",
|
||||
"name": "include/t20017_a.h",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../clang-uml/tests/t20017/include/t20017_a.h",
|
||||
"file": "include/t20017_a.h",
|
||||
"line": 7,
|
||||
"translation_unit": "../../clang-uml/tests/t20017/t20017.cc"
|
||||
"translation_unit": "t20017.cc"
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
{
|
||||
"id": "1893799013101029871",
|
||||
"id": "1113611539183189365",
|
||||
"name": "include/t20017_b.h",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../clang-uml/tests/t20017/include/t20017_b.h",
|
||||
"file": "include/t20017_b.h",
|
||||
"line": 5,
|
||||
"translation_unit": "../../clang-uml/tests/t20017/t20017.cc"
|
||||
"translation_unit": "t20017.cc"
|
||||
},
|
||||
"type": "function"
|
||||
}
|
||||
@@ -98,21 +90,21 @@ int tmain() { return b2(a1(a2(a3(1, 2), b1(3, 4)), 5), 6); }
|
||||
"from": {
|
||||
"activity_id": "1484746432546296115",
|
||||
"activity_name": "clanguml::t20017::tmain()",
|
||||
"participant_id": "800083058974241273"
|
||||
"participant_id": "294332401323799021"
|
||||
},
|
||||
"name": "a3(int,int)",
|
||||
"return_type": "int",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 31,
|
||||
"file": "../../clang-uml/tests/t20017/t20017.cc",
|
||||
"file": "t20017.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../clang-uml/tests/t20017/t20017.cc"
|
||||
"translation_unit": "t20017.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1681392050252260928",
|
||||
"activity_name": "clanguml::t20017::a3(int,int)",
|
||||
"participant_id": "446029693370832411"
|
||||
"participant_id": "1591222867263639510"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
@@ -120,21 +112,21 @@ int tmain() { return b2(a1(a2(a3(1, 2), b1(3, 4)), 5), 6); }
|
||||
"from": {
|
||||
"activity_id": "1484746432546296115",
|
||||
"activity_name": "clanguml::t20017::tmain()",
|
||||
"participant_id": "800083058974241273"
|
||||
"participant_id": "294332401323799021"
|
||||
},
|
||||
"name": "b1(int,int)",
|
||||
"return_type": "int",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 41,
|
||||
"file": "../../clang-uml/tests/t20017/t20017.cc",
|
||||
"file": "t20017.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../clang-uml/tests/t20017/t20017.cc"
|
||||
"translation_unit": "t20017.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1714277838806105702",
|
||||
"activity_name": "clanguml::t20017::b1(int,int)",
|
||||
"participant_id": "1893799013101029871"
|
||||
"participant_id": "1113611539183189365"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
@@ -142,21 +134,21 @@ int tmain() { return b2(a1(a2(a3(1, 2), b1(3, 4)), 5), 6); }
|
||||
"from": {
|
||||
"activity_id": "1484746432546296115",
|
||||
"activity_name": "clanguml::t20017::tmain()",
|
||||
"participant_id": "800083058974241273"
|
||||
"participant_id": "294332401323799021"
|
||||
},
|
||||
"name": "a2(int,int)",
|
||||
"return_type": "int",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 28,
|
||||
"file": "../../clang-uml/tests/t20017/t20017.cc",
|
||||
"file": "t20017.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../clang-uml/tests/t20017/t20017.cc"
|
||||
"translation_unit": "t20017.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "291553542743365259",
|
||||
"activity_name": "clanguml::t20017::a2(int,int)",
|
||||
"participant_id": "446029693370832411"
|
||||
"participant_id": "1591222867263639510"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
@@ -164,21 +156,21 @@ int tmain() { return b2(a1(a2(a3(1, 2), b1(3, 4)), 5), 6); }
|
||||
"from": {
|
||||
"activity_id": "1484746432546296115",
|
||||
"activity_name": "clanguml::t20017::tmain()",
|
||||
"participant_id": "800083058974241273"
|
||||
"participant_id": "294332401323799021"
|
||||
},
|
||||
"name": "a1(int,int)",
|
||||
"return_type": "int",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 25,
|
||||
"file": "../../clang-uml/tests/t20017/t20017.cc",
|
||||
"file": "t20017.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../clang-uml/tests/t20017/t20017.cc"
|
||||
"translation_unit": "t20017.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "113759676939330212",
|
||||
"activity_name": "clanguml::t20017::a1(int,int)",
|
||||
"participant_id": "446029693370832411"
|
||||
"participant_id": "1591222867263639510"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
@@ -186,21 +178,21 @@ int tmain() { return b2(a1(a2(a3(1, 2), b1(3, 4)), 5), 6); }
|
||||
"from": {
|
||||
"activity_id": "1484746432546296115",
|
||||
"activity_name": "clanguml::t20017::tmain()",
|
||||
"participant_id": "800083058974241273"
|
||||
"participant_id": "294332401323799021"
|
||||
},
|
||||
"name": "b2<int>(int,int)",
|
||||
"return_type": "",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 22,
|
||||
"file": "../../clang-uml/tests/t20017/t20017.cc",
|
||||
"file": "t20017.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../clang-uml/tests/t20017/t20017.cc"
|
||||
"translation_unit": "t20017.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "775081116464505528",
|
||||
"activity_name": "clanguml::t20017::b2<int>(int,int)",
|
||||
"participant_id": "1893799013101029871"
|
||||
"participant_id": "1113611539183189365"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user