Updated test cases documentation
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
# t00010 - Basic template instantiation
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t00010_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00010/t00010.cc
|
||||
using_namespace:
|
||||
- clanguml::t00010
|
||||
- t00010.cc
|
||||
using_namespace: clanguml::t00010
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00010
|
||||
@@ -68,9 +65,9 @@ public:
|
||||
"name": "first",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00010/t00010.cc",
|
||||
"file": "t00010.cc",
|
||||
"line": 9,
|
||||
"translation_unit": "../../tests/t00010/t00010.cc"
|
||||
"translation_unit": "t00010.cc"
|
||||
},
|
||||
"type": "T"
|
||||
},
|
||||
@@ -80,9 +77,9 @@ public:
|
||||
"name": "second",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00010/t00010.cc",
|
||||
"file": "t00010.cc",
|
||||
"line": 10,
|
||||
"translation_unit": "../../tests/t00010/t00010.cc"
|
||||
"translation_unit": "t00010.cc"
|
||||
},
|
||||
"type": "P"
|
||||
}
|
||||
@@ -92,9 +89,9 @@ public:
|
||||
"namespace": "clanguml::t00010",
|
||||
"source_location": {
|
||||
"column": 41,
|
||||
"file": "../../tests/t00010/t00010.cc",
|
||||
"file": "t00010.cc",
|
||||
"line": 7,
|
||||
"translation_unit": "../../tests/t00010/t00010.cc"
|
||||
"translation_unit": "t00010.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -127,9 +124,9 @@ public:
|
||||
"namespace": "clanguml::t00010",
|
||||
"source_location": {
|
||||
"column": 41,
|
||||
"file": "../../tests/t00010/t00010.cc",
|
||||
"file": "t00010.cc",
|
||||
"line": 7,
|
||||
"translation_unit": "../../tests/t00010/t00010.cc"
|
||||
"translation_unit": "t00010.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -163,9 +160,9 @@ public:
|
||||
"name": "astring",
|
||||
"source_location": {
|
||||
"column": 23,
|
||||
"file": "../../tests/t00010/t00010.cc",
|
||||
"file": "t00010.cc",
|
||||
"line": 15,
|
||||
"translation_unit": "../../tests/t00010/t00010.cc"
|
||||
"translation_unit": "t00010.cc"
|
||||
},
|
||||
"type": "A<T,std::string>"
|
||||
}
|
||||
@@ -175,9 +172,9 @@ public:
|
||||
"namespace": "clanguml::t00010",
|
||||
"source_location": {
|
||||
"column": 29,
|
||||
"file": "../../tests/t00010/t00010.cc",
|
||||
"file": "t00010.cc",
|
||||
"line": 13,
|
||||
"translation_unit": "../../tests/t00010/t00010.cc"
|
||||
"translation_unit": "t00010.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -204,9 +201,9 @@ public:
|
||||
"namespace": "clanguml::t00010",
|
||||
"source_location": {
|
||||
"column": 29,
|
||||
"file": "../../tests/t00010/t00010.cc",
|
||||
"file": "t00010.cc",
|
||||
"line": 13,
|
||||
"translation_unit": "../../tests/t00010/t00010.cc"
|
||||
"translation_unit": "t00010.cc"
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -234,9 +231,9 @@ public:
|
||||
"name": "aintstring",
|
||||
"source_location": {
|
||||
"column": 12,
|
||||
"file": "../../tests/t00010/t00010.cc",
|
||||
"file": "t00010.cc",
|
||||
"line": 20,
|
||||
"translation_unit": "../../tests/t00010/t00010.cc"
|
||||
"translation_unit": "t00010.cc"
|
||||
},
|
||||
"type": "B<int>"
|
||||
}
|
||||
@@ -246,19 +243,14 @@ public:
|
||||
"namespace": "clanguml::t00010",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00010/t00010.cc",
|
||||
"file": "t00010.cc",
|
||||
"line": 18,
|
||||
"translation_unit": "../../tests/t00010/t00010.cc"
|
||||
"translation_unit": "t00010.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": "t00010_class",
|
||||
"relationships": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user