Updated test cases documentation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# t20034 - from_to sequence diagram test case
|
||||
# t20034 - Test case for rendering all call chains from one activity to another (from_to)
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
@@ -21,6 +21,7 @@ diagrams:
|
||||
File t20034.cc
|
||||
```cpp
|
||||
#include <cstdint>
|
||||
|
||||
namespace clanguml {
|
||||
namespace t20034 {
|
||||
struct A {
|
||||
@@ -92,13 +93,13 @@ void B::b4()
|
||||
}
|
||||
```
|
||||
## Generated UML diagrams
|
||||

|
||||
")
|
||||
## Generated JSON models
|
||||
```json
|
||||
{
|
||||
"diagram_type": "sequence",
|
||||
"metadata": {
|
||||
"clang_uml_version": "0.3.8-27-gcdc3659",
|
||||
"clang_uml_version": "0.3.8-29-gc472792",
|
||||
"llvm_version": "Ubuntu clang version 15.0.7",
|
||||
"schema_version": 1
|
||||
},
|
||||
@@ -110,7 +111,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 43,
|
||||
"line": 44,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"type": "class"
|
||||
@@ -121,7 +122,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 27,
|
||||
"line": 28,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"type": "class"
|
||||
@@ -132,7 +133,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 12,
|
||||
"line": 13,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"type": "class"
|
||||
@@ -143,18 +144,18 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 4,
|
||||
"line": 5,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
{
|
||||
"id": "1130194784812080848",
|
||||
"name": "clanguml::t20034::D::d2()::(lambda ../../tests/t20034/t20034.cc:55:18)",
|
||||
"id": "1441889098721372112",
|
||||
"name": "clanguml::t20034::D::d2()::(lambda ../../tests/t20034/t20034.cc:56:18)",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 55,
|
||||
"line": 56,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"type": "class"
|
||||
@@ -187,7 +188,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 50,
|
||||
"line": 51,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -209,7 +210,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 35,
|
||||
"line": 36,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -231,7 +232,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 29,
|
||||
"line": 30,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -253,7 +254,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 18,
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -279,7 +280,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 47,
|
||||
"line": 48,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -301,7 +302,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 28,
|
||||
"line": 29,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -323,7 +324,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 16,
|
||||
"line": 17,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -349,7 +350,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 53,
|
||||
"line": 54,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -371,7 +372,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 38,
|
||||
"line": 39,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -393,7 +394,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 67,
|
||||
"line": 68,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -415,7 +416,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 18,
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -441,7 +442,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 48,
|
||||
"line": 49,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -467,21 +468,21 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 56,
|
||||
"line": 57,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1451310025762012403",
|
||||
"activity_name": "clanguml::t20034::D::d2()##(lambda ../../tests/t20034/t20034.cc:55:18)::operator()()",
|
||||
"participant_id": "1130194784812080848"
|
||||
"activity_id": "1828095161459098283",
|
||||
"activity_name": "clanguml::t20034::D::d2()##(lambda ../../tests/t20034/t20034.cc:56:18)::operator()()",
|
||||
"participant_id": "1441889098721372112"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1451310025762012403",
|
||||
"activity_name": "clanguml::t20034::D::d2()::(lambda ../../tests/t20034/t20034.cc:55:18)::operator()()",
|
||||
"participant_id": "1130194784812080848"
|
||||
"activity_id": "1828095161459098283",
|
||||
"activity_name": "clanguml::t20034::D::d2()::(lambda ../../tests/t20034/t20034.cc:56:18)::operator()()",
|
||||
"participant_id": "1441889098721372112"
|
||||
},
|
||||
"name": "a2()",
|
||||
"return_type": "void",
|
||||
@@ -489,7 +490,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 29,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 55,
|
||||
"line": 56,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -515,7 +516,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 49,
|
||||
"line": 50,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -537,7 +538,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 29,
|
||||
"line": 30,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
@@ -559,7 +560,7 @@ void B::b4()
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t20034/t20034.cc",
|
||||
"line": 18,
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t20034/t20034.cc"
|
||||
},
|
||||
"to": {
|
||||
|
||||
Reference in New Issue
Block a user