Updated test cases documentation
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
# t00045 - Test case for root namespace handling
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t00045_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00045/t00045.cc
|
||||
- t00045.cc
|
||||
exclude:
|
||||
namespaces:
|
||||
- std
|
||||
@@ -84,9 +82,9 @@ public:
|
||||
"namespace": "",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 1,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -106,9 +104,9 @@ public:
|
||||
"namespace": "",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 3,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -128,9 +126,9 @@ public:
|
||||
"namespace": "",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 5,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -151,9 +149,9 @@ public:
|
||||
"name": "t",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 8,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"type": "T"
|
||||
}
|
||||
@@ -163,9 +161,9 @@ public:
|
||||
"namespace": "",
|
||||
"source_location": {
|
||||
"column": 29,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 7,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -192,9 +190,9 @@ public:
|
||||
"namespace": "ns1",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 13,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -214,9 +212,9 @@ public:
|
||||
"namespace": "ns1::ns2",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 17,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -243,9 +241,9 @@ public:
|
||||
"namespace": "ns1::ns2",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -272,9 +270,9 @@ public:
|
||||
"namespace": "ns1::ns2",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 21,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -301,9 +299,9 @@ public:
|
||||
"namespace": "ns1::ns2",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 23,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -330,9 +328,9 @@ public:
|
||||
"namespace": "ns1::ns2",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 25,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -352,9 +350,9 @@ public:
|
||||
"namespace": "ns1::ns2",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 27,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -375,9 +373,9 @@ public:
|
||||
"name": "a",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 31,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"type": "A *"
|
||||
},
|
||||
@@ -387,9 +385,9 @@ public:
|
||||
"name": "ns1_a",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 32,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"type": "ns1::A *"
|
||||
},
|
||||
@@ -399,9 +397,9 @@ public:
|
||||
"name": "ns1_ns2_a",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 33,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"type": "ns1::ns2::A *"
|
||||
},
|
||||
@@ -411,9 +409,9 @@ public:
|
||||
"name": "root_a",
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 34,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"type": "::A *"
|
||||
}
|
||||
@@ -443,9 +441,9 @@ public:
|
||||
],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 40,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.cc"
|
||||
},
|
||||
"type": "void"
|
||||
}
|
||||
@@ -454,19 +452,14 @@ public:
|
||||
"namespace": "ns1::ns2",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00045/t00045.cc",
|
||||
"file": "t00045.cc",
|
||||
"line": 29,
|
||||
"translation_unit": "../../tests/t00045/t00045.cc"
|
||||
"translation_unit": "t00045.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": "t00045_class",
|
||||
"relationships": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user