Updated test cases documentation
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
# t00012 - Advanced template instantiations
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t00012_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00012/t00012.cc
|
||||
using_namespace:
|
||||
- clanguml::t00012
|
||||
- t00012.cc
|
||||
using_namespace: clanguml::t00012
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00012
|
||||
@@ -84,9 +81,9 @@ class R {
|
||||
"name": "value",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 12,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"type": "T"
|
||||
},
|
||||
@@ -96,9 +93,9 @@ class R {
|
||||
"name": "values",
|
||||
"source_location": {
|
||||
"column": 25,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 13,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"type": "std::variant<Ts...>"
|
||||
}
|
||||
@@ -108,9 +105,9 @@ class R {
|
||||
"namespace": "clanguml::t00012",
|
||||
"source_location": {
|
||||
"column": 45,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 11,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -144,9 +141,9 @@ class R {
|
||||
"name": "ints",
|
||||
"source_location": {
|
||||
"column": 36,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 17,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"type": "std::array<int,sizeof...(Is)>"
|
||||
}
|
||||
@@ -156,9 +153,9 @@ class R {
|
||||
"namespace": "clanguml::t00012",
|
||||
"source_location": {
|
||||
"column": 28,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 16,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -187,9 +184,9 @@ class R {
|
||||
"name": "ints",
|
||||
"source_location": {
|
||||
"column": 34,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 21,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"type": "std::array<T,sizeof...(Is)>"
|
||||
}
|
||||
@@ -199,9 +196,9 @@ class R {
|
||||
"namespace": "clanguml::t00012",
|
||||
"source_location": {
|
||||
"column": 40,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 20,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -235,9 +232,9 @@ class R {
|
||||
"namespace": "clanguml::t00012",
|
||||
"source_location": {
|
||||
"column": 45,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 11,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -276,9 +273,9 @@ class R {
|
||||
"namespace": "clanguml::t00012",
|
||||
"source_location": {
|
||||
"column": 45,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 11,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -317,9 +314,9 @@ class R {
|
||||
"namespace": "clanguml::t00012",
|
||||
"source_location": {
|
||||
"column": 28,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 16,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -358,9 +355,9 @@ class R {
|
||||
"namespace": "clanguml::t00012",
|
||||
"source_location": {
|
||||
"column": 28,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 16,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -405,9 +402,9 @@ class R {
|
||||
"namespace": "clanguml::t00012",
|
||||
"source_location": {
|
||||
"column": 40,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 20,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -487,9 +484,9 @@ class R {
|
||||
"name": "a1",
|
||||
"source_location": {
|
||||
"column": 32,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 25,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"type": "A<int,std::string,float>"
|
||||
},
|
||||
@@ -499,9 +496,9 @@ class R {
|
||||
"name": "a2",
|
||||
"source_location": {
|
||||
"column": 31,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 26,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"type": "A<int,std::string,bool>"
|
||||
},
|
||||
@@ -511,9 +508,9 @@ class R {
|
||||
"name": "b1",
|
||||
"source_location": {
|
||||
"column": 16,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 28,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"type": "B<3,2,1>"
|
||||
},
|
||||
@@ -523,9 +520,9 @@ class R {
|
||||
"name": "b2",
|
||||
"source_location": {
|
||||
"column": 19,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 29,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"type": "B<1,1,1,1>"
|
||||
},
|
||||
@@ -535,9 +532,9 @@ class R {
|
||||
"name": "c1",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 33,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"type": "C<std::map<int,std::vector<std::vector<std::vector<std::string>>>>,3,3,3>"
|
||||
}
|
||||
@@ -547,19 +544,14 @@ class R {
|
||||
"namespace": "clanguml::t00012",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00012/t00012.cc",
|
||||
"file": "t00012.cc",
|
||||
"line": 24,
|
||||
"translation_unit": "../../tests/t00012/t00012.cc"
|
||||
"translation_unit": "t00012.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
}
|
||||
],
|
||||
"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": "t00012_class",
|
||||
"relationships": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user