Updated test cases documentation
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
# t00003 - Class fields and methods
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t00003_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00003/t00003.cc
|
||||
- t00003.cc
|
||||
using_namespace: clanguml::t00003
|
||||
include:
|
||||
namespaces:
|
||||
@@ -119,9 +117,9 @@ int A::static_int = 1;
|
||||
"name": "public_member",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 52,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -131,9 +129,9 @@ int A::static_int = 1;
|
||||
"name": "protected_member",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 60,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -143,9 +141,9 @@ int A::static_int = 1;
|
||||
"name": "compare",
|
||||
"source_location": {
|
||||
"column": 36,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 62,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "std::function<bool (const int)>"
|
||||
},
|
||||
@@ -155,9 +153,9 @@ int A::static_int = 1;
|
||||
"name": "private_member",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 69,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -167,9 +165,9 @@ int A::static_int = 1;
|
||||
"name": "a_",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 70,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -179,9 +177,9 @@ int A::static_int = 1;
|
||||
"name": "b_",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 70,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -191,9 +189,9 @@ int A::static_int = 1;
|
||||
"name": "c_",
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 70,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -203,9 +201,9 @@ int A::static_int = 1;
|
||||
"name": "static_int",
|
||||
"source_location": {
|
||||
"column": 16,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 53,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -215,9 +213,9 @@ int A::static_int = 1;
|
||||
"name": "static_const_int",
|
||||
"source_location": {
|
||||
"column": 22,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 54,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "const int"
|
||||
},
|
||||
@@ -227,9 +225,9 @@ int A::static_int = 1;
|
||||
"name": "auto_member",
|
||||
"source_location": {
|
||||
"column": 23,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 55,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "const unsigned long"
|
||||
}
|
||||
@@ -254,9 +252,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 9,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -284,9 +282,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 10,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -314,9 +312,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 21,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -344,9 +342,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 22,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -369,9 +367,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 23,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -394,9 +392,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 25,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -419,9 +417,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 16,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 26,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -444,9 +442,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 27,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -469,9 +467,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 28,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -494,9 +492,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 30,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "A &"
|
||||
},
|
||||
@@ -524,9 +522,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 36,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "A &"
|
||||
},
|
||||
@@ -554,9 +552,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 37,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "A &"
|
||||
},
|
||||
@@ -579,9 +577,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 27,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 39,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "std::size_t"
|
||||
},
|
||||
@@ -609,9 +607,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 41,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -643,9 +641,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 42,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -674,9 +672,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 44,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -709,9 +707,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 45,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "std::string"
|
||||
},
|
||||
@@ -739,9 +737,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 14,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 50,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "A"
|
||||
},
|
||||
@@ -764,9 +762,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 58,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -789,9 +787,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 67,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -824,19 +822,14 @@ int A::static_int = 1;
|
||||
"namespace": "clanguml::t00003",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00003/t00003.cc",
|
||||
"file": "t00003.cc",
|
||||
"line": 7,
|
||||
"translation_unit": "../../tests/t00003/t00003.cc"
|
||||
"translation_unit": "t00003.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": "t00003_class",
|
||||
"relationships": [],
|
||||
"using_namespace": "clanguml::t00003"
|
||||
|
||||
Reference in New Issue
Block a user