Updated test cases documentation
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
# t20013 - Function and method arguments in sequence diagrams test case
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t20013_sequence:
|
||||
type: sequence
|
||||
glob:
|
||||
- ../../tests/t20013/t20013.cc
|
||||
- t20013.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t20013
|
||||
using_namespace:
|
||||
- clanguml::t20013
|
||||
using_namespace: clanguml::t20013
|
||||
from:
|
||||
- function: "clanguml::t20013::tmain(int,char **)"
|
||||
```
|
||||
@@ -55,11 +52,6 @@ void tmain(int argc, char **argv)
|
||||
```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": "t20013_sequence",
|
||||
"participants": [
|
||||
{
|
||||
@@ -67,9 +59,9 @@ void tmain(int argc, char **argv)
|
||||
"name": "clanguml::t20013::tmain(int,char **)",
|
||||
"source_location": {
|
||||
"column": 6,
|
||||
"file": "../../tests/t20013/t20013.cc",
|
||||
"file": "t20013.cc",
|
||||
"line": 18,
|
||||
"translation_unit": "../../tests/t20013/t20013.cc"
|
||||
"translation_unit": "t20013.cc"
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
@@ -78,9 +70,9 @@ void tmain(int argc, char **argv)
|
||||
"name": "clanguml::t20013::B",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t20013/t20013.cc",
|
||||
"file": "t20013.cc",
|
||||
"line": 10,
|
||||
"translation_unit": "../../tests/t20013/t20013.cc"
|
||||
"translation_unit": "t20013.cc"
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
@@ -89,9 +81,9 @@ void tmain(int argc, char **argv)
|
||||
"name": "clanguml::t20013::A",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t20013/t20013.cc",
|
||||
"file": "t20013.cc",
|
||||
"line": 4,
|
||||
"translation_unit": "../../tests/t20013/t20013.cc"
|
||||
"translation_unit": "t20013.cc"
|
||||
},
|
||||
"type": "class"
|
||||
}
|
||||
@@ -111,9 +103,9 @@ void tmain(int argc, char **argv)
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20013/t20013.cc",
|
||||
"file": "t20013.cc",
|
||||
"line": 22,
|
||||
"translation_unit": "../../tests/t20013/t20013.cc"
|
||||
"translation_unit": "t20013.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "2144804108273682993",
|
||||
@@ -133,9 +125,9 @@ void tmain(int argc, char **argv)
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 27,
|
||||
"file": "../../tests/t20013/t20013.cc",
|
||||
"file": "t20013.cc",
|
||||
"line": 11,
|
||||
"translation_unit": "../../tests/t20013/t20013.cc"
|
||||
"translation_unit": "t20013.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1034027282942033004",
|
||||
@@ -156,9 +148,9 @@ void tmain(int argc, char **argv)
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20013/t20013.cc",
|
||||
"file": "t20013.cc",
|
||||
"line": 23,
|
||||
"translation_unit": "../../tests/t20013/t20013.cc"
|
||||
"translation_unit": "t20013.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "640747884486165287",
|
||||
@@ -178,9 +170,9 @@ void tmain(int argc, char **argv)
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 33,
|
||||
"file": "../../tests/t20013/t20013.cc",
|
||||
"file": "t20013.cc",
|
||||
"line": 12,
|
||||
"translation_unit": "../../tests/t20013/t20013.cc"
|
||||
"translation_unit": "t20013.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "394053399890813915",
|
||||
@@ -201,9 +193,9 @@ void tmain(int argc, char **argv)
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20013/t20013.cc",
|
||||
"file": "t20013.cc",
|
||||
"line": 24,
|
||||
"translation_unit": "../../tests/t20013/t20013.cc"
|
||||
"translation_unit": "t20013.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1066935874364409142",
|
||||
@@ -223,9 +215,9 @@ void tmain(int argc, char **argv)
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 43,
|
||||
"file": "../../tests/t20013/t20013.cc",
|
||||
"file": "t20013.cc",
|
||||
"line": 13,
|
||||
"translation_unit": "../../tests/t20013/t20013.cc"
|
||||
"translation_unit": "t20013.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1841239321495867611",
|
||||
|
||||
Reference in New Issue
Block a user