Updated test cases documentation
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
# t20002 - Free function sequence diagram test case
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t20002_sequence:
|
||||
type: sequence
|
||||
glob:
|
||||
- ../../tests/t20002/t20002.cc
|
||||
- t20002.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t20002
|
||||
using_namespace:
|
||||
- clanguml::t20002
|
||||
using_namespace: clanguml::t20002
|
||||
from:
|
||||
- function: "clanguml::t20002::m1()"
|
||||
|
||||
@@ -46,11 +43,6 @@ void m1() { m2(); }
|
||||
```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": "t20002_sequence",
|
||||
"participants": [
|
||||
{
|
||||
@@ -58,9 +50,9 @@ void m1() { m2(); }
|
||||
"name": "clanguml::t20002::m1()",
|
||||
"source_location": {
|
||||
"column": 6,
|
||||
"file": "../../tests/t20002/t20002.cc",
|
||||
"file": "t20002.cc",
|
||||
"line": 14,
|
||||
"translation_unit": "../../tests/t20002/t20002.cc"
|
||||
"translation_unit": "t20002.cc"
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
@@ -69,9 +61,9 @@ void m1() { m2(); }
|
||||
"name": "clanguml::t20002::m2()",
|
||||
"source_location": {
|
||||
"column": 6,
|
||||
"file": "../../tests/t20002/t20002.cc",
|
||||
"file": "t20002.cc",
|
||||
"line": 12,
|
||||
"translation_unit": "../../tests/t20002/t20002.cc"
|
||||
"translation_unit": "t20002.cc"
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
@@ -80,9 +72,9 @@ void m1() { m2(); }
|
||||
"name": "clanguml::t20002::m3()",
|
||||
"source_location": {
|
||||
"column": 6,
|
||||
"file": "../../tests/t20002/t20002.cc",
|
||||
"file": "t20002.cc",
|
||||
"line": 10,
|
||||
"translation_unit": "../../tests/t20002/t20002.cc"
|
||||
"translation_unit": "t20002.cc"
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
@@ -91,9 +83,9 @@ void m1() { m2(); }
|
||||
"name": "clanguml::t20002::m4()",
|
||||
"source_location": {
|
||||
"column": 6,
|
||||
"file": "../../tests/t20002/t20002.cc",
|
||||
"file": "t20002.cc",
|
||||
"line": 8,
|
||||
"translation_unit": "../../tests/t20002/t20002.cc"
|
||||
"translation_unit": "t20002.cc"
|
||||
},
|
||||
"type": "function"
|
||||
}
|
||||
@@ -113,9 +105,9 @@ void m1() { m2(); }
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20002/t20002.cc",
|
||||
"file": "t20002.cc",
|
||||
"line": 14,
|
||||
"translation_unit": "../../tests/t20002/t20002.cc"
|
||||
"translation_unit": "t20002.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1575240232156112674",
|
||||
@@ -136,9 +128,9 @@ void m1() { m2(); }
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20002/t20002.cc",
|
||||
"file": "t20002.cc",
|
||||
"line": 12,
|
||||
"translation_unit": "../../tests/t20002/t20002.cc"
|
||||
"translation_unit": "t20002.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1838809176089209580",
|
||||
@@ -159,9 +151,9 @@ void m1() { m2(); }
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20002/t20002.cc",
|
||||
"file": "t20002.cc",
|
||||
"line": 10,
|
||||
"translation_unit": "../../tests/t20002/t20002.cc"
|
||||
"translation_unit": "t20002.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "63715062711218534",
|
||||
|
||||
Reference in New Issue
Block a user