Updated test cases documentation
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
# t20004 - Function template instantiation sequence diagram test case
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t20004_sequence:
|
||||
type: sequence
|
||||
glob:
|
||||
- ../../tests/t20004/t20004.cc
|
||||
- t20004.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t20004
|
||||
using_namespace:
|
||||
- clanguml::t20004
|
||||
using_namespace: clanguml::t20004
|
||||
from:
|
||||
- function: "clanguml::t20004::main()"
|
||||
```
|
||||
@@ -78,11 +75,6 @@ int main()
|
||||
```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": "t20004_sequence",
|
||||
"participants": [
|
||||
{
|
||||
@@ -90,9 +82,9 @@ int main()
|
||||
"name": "clanguml::t20004::main()",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 38,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
@@ -101,9 +93,9 @@ int main()
|
||||
"name": "clanguml::t20004::m1<float>(float)",
|
||||
"source_location": {
|
||||
"column": 36,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 26,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
@@ -112,9 +104,9 @@ int main()
|
||||
"name": "clanguml::t20004::m1<unsigned long>(unsigned long)",
|
||||
"source_location": {
|
||||
"column": 44,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 28,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
@@ -123,9 +115,9 @@ int main()
|
||||
"name": "clanguml::t20004::m4<unsigned long>(unsigned long)",
|
||||
"source_location": {
|
||||
"column": 44,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 10,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
@@ -134,9 +126,9 @@ int main()
|
||||
"name": "clanguml::t20004::m1<std::string>(std::string)",
|
||||
"source_location": {
|
||||
"column": 42,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 33,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
@@ -145,9 +137,9 @@ int main()
|
||||
"name": "clanguml::t20004::m2<std::string>(std::string)",
|
||||
"source_location": {
|
||||
"column": 42,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
@@ -156,9 +148,9 @@ int main()
|
||||
"name": "clanguml::t20004::m1<int>(int)",
|
||||
"source_location": {
|
||||
"column": 25,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 24,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
@@ -167,9 +159,9 @@ int main()
|
||||
"name": "clanguml::t20004::m2<int>(int)",
|
||||
"source_location": {
|
||||
"column": 25,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 17,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
@@ -178,9 +170,9 @@ int main()
|
||||
"name": "clanguml::t20004::m3<int>(int)",
|
||||
"source_location": {
|
||||
"column": 25,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 15,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
@@ -189,9 +181,9 @@ int main()
|
||||
"name": "clanguml::t20004::m4<int>(int)",
|
||||
"source_location": {
|
||||
"column": 34,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 8,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"type": "function_template"
|
||||
}
|
||||
@@ -211,9 +203,9 @@ int main()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 40,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "138925040763435897",
|
||||
@@ -234,9 +226,9 @@ int main()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 42,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1239083518717603720",
|
||||
@@ -257,9 +249,9 @@ int main()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 12,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 30,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "376599675205498367",
|
||||
@@ -280,9 +272,9 @@ int main()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 44,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1845817984839618223",
|
||||
@@ -303,9 +295,9 @@ int main()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 12,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 35,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1735054254122948614",
|
||||
@@ -326,9 +318,9 @@ int main()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 12,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 46,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "121663532044911922",
|
||||
@@ -349,9 +341,9 @@ int main()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 42,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 24,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1475362124497386656",
|
||||
@@ -372,9 +364,9 @@ int main()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 42,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 17,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "734999226157549914",
|
||||
@@ -395,9 +387,9 @@ int main()
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 42,
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"file": "t20004.cc",
|
||||
"line": 15,
|
||||
"translation_unit": "../../tests/t20004/t20004.cc"
|
||||
"translation_unit": "t20004.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1006390865908497562",
|
||||
|
||||
Reference in New Issue
Block a user