Updated test cases documentation
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
# t20018 - Recursive template sequence diagram test case
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t20018_sequence:
|
||||
type: sequence
|
||||
glob:
|
||||
- ../../tests/t20018/t20018.cc
|
||||
- t20018.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t20018
|
||||
using_namespace:
|
||||
- clanguml::t20018
|
||||
using_namespace: clanguml::t20018
|
||||
from:
|
||||
- function: "clanguml::t20018::tmain()"
|
||||
```
|
||||
@@ -55,11 +52,6 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
```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": "t20018_sequence",
|
||||
"participants": [
|
||||
{
|
||||
@@ -67,9 +59,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"name": "clanguml::t20018::tmain()",
|
||||
"source_location": {
|
||||
"column": 6,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 25,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
@@ -78,9 +70,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"name": "clanguml::t20018::Answer<clanguml::t20018::Factorial<5>,120>",
|
||||
"source_location": {
|
||||
"column": 48,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 21,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
@@ -89,9 +81,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"name": "clanguml::t20018::Factorial<5>",
|
||||
"source_location": {
|
||||
"column": 25,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
@@ -100,9 +92,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"name": "clanguml::t20018::Factorial<4>",
|
||||
"source_location": {
|
||||
"column": 25,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
@@ -111,9 +103,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"name": "clanguml::t20018::Factorial<3>",
|
||||
"source_location": {
|
||||
"column": 25,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
@@ -122,9 +114,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"name": "clanguml::t20018::Factorial<2>",
|
||||
"source_location": {
|
||||
"column": 25,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
@@ -133,9 +125,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"name": "clanguml::t20018::Factorial<1>",
|
||||
"source_location": {
|
||||
"column": 25,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
@@ -144,9 +136,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"name": "clanguml::t20018::Factorial<0>",
|
||||
"source_location": {
|
||||
"column": 20,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 12,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"type": "class"
|
||||
}
|
||||
@@ -166,9 +158,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 16,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 25,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1185770766239304952",
|
||||
@@ -188,9 +180,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 27,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 22,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "833100888453299461",
|
||||
@@ -210,9 +202,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 37,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 9,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1782586643813991247",
|
||||
@@ -232,9 +224,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 37,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 9,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1238078028595736678",
|
||||
@@ -254,9 +246,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 37,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 9,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "2163270950475476780",
|
||||
@@ -276,9 +268,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 37,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 9,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "501166016325937670",
|
||||
@@ -298,9 +290,9 @@ void tmain() { Answer<Factorial<5>>::print(); }
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 37,
|
||||
"file": "../../tests/t20018/t20018.cc",
|
||||
"file": "t20018.cc",
|
||||
"line": 9,
|
||||
"translation_unit": "../../tests/t20018/t20018.cc"
|
||||
"translation_unit": "t20018.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "577232827352391544",
|
||||
|
||||
Reference in New Issue
Block a user