Updated test cases documentation
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
# t20024 - Switch statement sequence diagram test case
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t20024_sequence:
|
||||
type: sequence
|
||||
glob:
|
||||
- ../../tests/t20024/t20024.cc
|
||||
- t20024.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t20024
|
||||
using_namespace:
|
||||
- clanguml::t20024
|
||||
using_namespace: clanguml::t20024
|
||||
from:
|
||||
- function: "clanguml::t20024::tmain()"
|
||||
```
|
||||
@@ -93,11 +90,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": "t20024_sequence",
|
||||
"participants": [
|
||||
{
|
||||
@@ -105,9 +97,9 @@ int tmain()
|
||||
"name": "clanguml::t20024::tmain()",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 53,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
@@ -116,9 +108,9 @@ int tmain()
|
||||
"name": "clanguml::t20024::A",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 8,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
@@ -127,9 +119,9 @@ int tmain()
|
||||
"name": "clanguml::t20024::B",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 29,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"type": "class"
|
||||
}
|
||||
@@ -149,9 +141,9 @@ int tmain()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 58,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1200587047701031901",
|
||||
@@ -176,9 +168,9 @@ int tmain()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 20,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 13,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1859614580641799156",
|
||||
@@ -204,9 +196,9 @@ int tmain()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 20,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 15,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "501598940454911460",
|
||||
@@ -232,9 +224,9 @@ int tmain()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 20,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 17,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1698866541173753340",
|
||||
@@ -260,9 +252,9 @@ int tmain()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 20,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "490376438551958259",
|
||||
@@ -291,9 +283,9 @@ int tmain()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 60,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "286108218156977422",
|
||||
@@ -318,9 +310,9 @@ int tmain()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 34,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "112014563206084467",
|
||||
@@ -346,9 +338,9 @@ int tmain()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 37,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "2222823236498505185",
|
||||
@@ -374,9 +366,9 @@ int tmain()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 40,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "519021723720658376",
|
||||
@@ -402,9 +394,9 @@ int tmain()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20024/t20024.cc",
|
||||
"file": "t20024.cc",
|
||||
"line": 43,
|
||||
"translation_unit": "../../tests/t20024/t20024.cc"
|
||||
"translation_unit": "t20024.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1813557671878544737",
|
||||
|
||||
Reference in New Issue
Block a user