Updated test cases documentation
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
# t00067 - Class method type filter test case
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t00067_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00067/t00067.cc
|
||||
- t00067.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00067
|
||||
@@ -18,8 +16,7 @@ diagrams:
|
||||
- operator
|
||||
- assignment
|
||||
- static
|
||||
using_namespace:
|
||||
- clanguml::t00067
|
||||
using_namespace: clanguml::t00067
|
||||
```
|
||||
## Source code
|
||||
File t00067.cc
|
||||
@@ -117,9 +114,9 @@ int A::static_int = 1;
|
||||
"name": "public_member",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 44,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -129,9 +126,9 @@ int A::static_int = 1;
|
||||
"name": "protected_member",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 52,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -141,9 +138,9 @@ int A::static_int = 1;
|
||||
"name": "compare",
|
||||
"source_location": {
|
||||
"column": 36,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 54,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "std::function<bool (const int)>"
|
||||
},
|
||||
@@ -153,9 +150,9 @@ int A::static_int = 1;
|
||||
"name": "private_member",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 61,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -165,9 +162,9 @@ int A::static_int = 1;
|
||||
"name": "a_",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 62,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -177,9 +174,9 @@ int A::static_int = 1;
|
||||
"name": "b_",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 62,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -189,9 +186,9 @@ int A::static_int = 1;
|
||||
"name": "c_",
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 62,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -201,9 +198,9 @@ int A::static_int = 1;
|
||||
"name": "static_int",
|
||||
"source_location": {
|
||||
"column": 16,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 45,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -213,9 +210,9 @@ int A::static_int = 1;
|
||||
"name": "static_const_int",
|
||||
"source_location": {
|
||||
"column": 22,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 46,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "const int"
|
||||
},
|
||||
@@ -225,9 +222,9 @@ int A::static_int = 1;
|
||||
"name": "auto_member",
|
||||
"source_location": {
|
||||
"column": 23,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 47,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "const unsigned long"
|
||||
}
|
||||
@@ -252,9 +249,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 17,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -277,9 +274,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -302,9 +299,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 20,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -327,9 +324,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 31,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "std::size_t"
|
||||
},
|
||||
@@ -357,9 +354,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 33,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -391,9 +388,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 34,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -422,9 +419,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 36,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -457,9 +454,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 37,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "std::string"
|
||||
},
|
||||
@@ -482,9 +479,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 50,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -507,9 +504,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 59,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.cc"
|
||||
},
|
||||
"type": "void"
|
||||
}
|
||||
@@ -518,19 +515,14 @@ int A::static_int = 1;
|
||||
"namespace": "clanguml::t00067",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00067/t00067.cc",
|
||||
"file": "t00067.cc",
|
||||
"line": 6,
|
||||
"translation_unit": "../../tests/t00067/t00067.cc"
|
||||
"translation_unit": "t00067.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": "t00067_class",
|
||||
"relationships": [],
|
||||
"using_namespace": "clanguml::t00067"
|
||||
|
||||
Reference in New Issue
Block a user