Updated test cases documentation
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
# t00066 - Class fields and methods without grouping and sorting
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t00066_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00066/t00066.cc
|
||||
- t00066.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00066
|
||||
member_order: as_is
|
||||
group_methods: false
|
||||
using_namespace:
|
||||
- clanguml::t00066
|
||||
using_namespace: clanguml::t00066
|
||||
```
|
||||
## Source code
|
||||
File t00066.cc
|
||||
@@ -114,9 +111,9 @@ int A::static_int = 1;
|
||||
"name": "public_member",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 45,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -126,9 +123,9 @@ int A::static_int = 1;
|
||||
"name": "protected_member",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 53,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -138,9 +135,9 @@ int A::static_int = 1;
|
||||
"name": "compare",
|
||||
"source_location": {
|
||||
"column": 36,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 55,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "std::function<bool (const int)>"
|
||||
},
|
||||
@@ -150,9 +147,9 @@ int A::static_int = 1;
|
||||
"name": "private_member",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 62,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -162,9 +159,9 @@ int A::static_int = 1;
|
||||
"name": "a_",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 63,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -174,9 +171,9 @@ int A::static_int = 1;
|
||||
"name": "b_",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 63,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -186,9 +183,9 @@ int A::static_int = 1;
|
||||
"name": "c_",
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 63,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -198,9 +195,9 @@ int A::static_int = 1;
|
||||
"name": "static_int",
|
||||
"source_location": {
|
||||
"column": 16,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 46,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -210,9 +207,9 @@ int A::static_int = 1;
|
||||
"name": "static_const_int",
|
||||
"source_location": {
|
||||
"column": 22,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 47,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "const int"
|
||||
},
|
||||
@@ -222,9 +219,9 @@ int A::static_int = 1;
|
||||
"name": "auto_member",
|
||||
"source_location": {
|
||||
"column": 23,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 48,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "const unsigned long"
|
||||
}
|
||||
@@ -249,9 +246,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 9,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -279,9 +276,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 10,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -309,9 +306,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 14,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -339,9 +336,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 5,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 15,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -364,9 +361,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 16,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -389,9 +386,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 18,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -414,9 +411,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 16,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -439,9 +436,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 20,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -464,9 +461,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 21,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -489,9 +486,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 23,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "A &"
|
||||
},
|
||||
@@ -519,9 +516,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 29,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "A &"
|
||||
},
|
||||
@@ -549,9 +546,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 30,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "A &"
|
||||
},
|
||||
@@ -574,9 +571,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 32,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "std::size_t"
|
||||
},
|
||||
@@ -604,9 +601,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 34,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -638,9 +635,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 35,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -669,9 +666,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 37,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "int"
|
||||
},
|
||||
@@ -704,9 +701,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 17,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 38,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "std::string"
|
||||
},
|
||||
@@ -734,9 +731,9 @@ int A::static_int = 1;
|
||||
],
|
||||
"source_location": {
|
||||
"column": 14,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 43,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "A"
|
||||
},
|
||||
@@ -759,9 +756,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 51,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "void"
|
||||
},
|
||||
@@ -784,9 +781,9 @@ int A::static_int = 1;
|
||||
"parameters": [],
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 60,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.cc"
|
||||
},
|
||||
"type": "void"
|
||||
}
|
||||
@@ -795,19 +792,14 @@ int A::static_int = 1;
|
||||
"namespace": "clanguml::t00066",
|
||||
"source_location": {
|
||||
"column": 7,
|
||||
"file": "../../tests/t00066/t00066.cc",
|
||||
"file": "t00066.cc",
|
||||
"line": 7,
|
||||
"translation_unit": "../../tests/t00066/t00066.cc"
|
||||
"translation_unit": "t00066.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": "t00066_class",
|
||||
"relationships": [],
|
||||
"using_namespace": "clanguml::t00066"
|
||||
|
||||
Reference in New Issue
Block a user