Updated test cases documentation
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
# t00068 - Context filter radius parameter test case
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t00068_r0_class:
|
||||
type: class
|
||||
title: AAA context of radius 0
|
||||
glob:
|
||||
- ../../tests/t00068/t00068.cc
|
||||
- t00068.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00068
|
||||
@@ -16,13 +14,12 @@ diagrams:
|
||||
- match:
|
||||
radius: 0
|
||||
pattern: clanguml::t00068::AAA
|
||||
using_namespace:
|
||||
- clanguml::t00068
|
||||
using_namespace: clanguml::t00068
|
||||
t00068_r1_class:
|
||||
type: class
|
||||
title: AAA context of radius 1
|
||||
glob:
|
||||
- ../../tests/t00068/t00068.cc
|
||||
- t00068.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00068
|
||||
@@ -30,13 +27,12 @@ diagrams:
|
||||
- match:
|
||||
radius: 1
|
||||
pattern: clanguml::t00068::AAA
|
||||
using_namespace:
|
||||
- clanguml::t00068
|
||||
using_namespace: clanguml::t00068
|
||||
t00068_r2_class:
|
||||
type: class
|
||||
title: AAA context of radius 2
|
||||
glob:
|
||||
- ../../tests/t00068/t00068.cc
|
||||
- t00068.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00068
|
||||
@@ -44,8 +40,7 @@ diagrams:
|
||||
- match:
|
||||
radius: 2
|
||||
pattern: clanguml::t00068::AAA
|
||||
using_namespace:
|
||||
- clanguml::t00068
|
||||
using_namespace: clanguml::t00068
|
||||
```
|
||||
## Source code
|
||||
File t00068.cc
|
||||
@@ -119,9 +114,9 @@ struct RR {
|
||||
"name": "bb",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 20,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "BB *"
|
||||
},
|
||||
@@ -131,9 +126,9 @@ struct RR {
|
||||
"name": "akind",
|
||||
"source_location": {
|
||||
"column": 11,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 21,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "AKind"
|
||||
}
|
||||
@@ -143,19 +138,14 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.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": "t00068_r0_class",
|
||||
"relationships": [
|
||||
{
|
||||
@@ -203,9 +193,9 @@ struct RR {
|
||||
"name": "b",
|
||||
"source_location": {
|
||||
"column": 20,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 10,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "std::vector<B>"
|
||||
}
|
||||
@@ -215,9 +205,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 9,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -235,9 +225,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 12,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 13,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "enum"
|
||||
},
|
||||
@@ -263,9 +253,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 17,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -293,9 +283,9 @@ struct RR {
|
||||
"name": "bb",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 20,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "BB *"
|
||||
},
|
||||
@@ -305,9 +295,9 @@ struct RR {
|
||||
"name": "akind",
|
||||
"source_location": {
|
||||
"column": 11,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 21,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "AKind"
|
||||
}
|
||||
@@ -317,9 +307,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -340,9 +330,9 @@ struct RR {
|
||||
"name": "aaa",
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 25,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "AAA *"
|
||||
}
|
||||
@@ -352,19 +342,14 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 24,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.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": "t00068_r1_class",
|
||||
"relationships": [
|
||||
{
|
||||
@@ -431,9 +416,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 7,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -454,9 +439,9 @@ struct RR {
|
||||
"name": "b",
|
||||
"source_location": {
|
||||
"column": 20,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 10,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "std::vector<B>"
|
||||
}
|
||||
@@ -466,9 +451,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 9,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -486,9 +471,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 12,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 13,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "enum"
|
||||
},
|
||||
@@ -507,9 +492,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 15,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -536,9 +521,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 17,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -566,9 +551,9 @@ struct RR {
|
||||
"name": "bb",
|
||||
"source_location": {
|
||||
"column": 9,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 20,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "BB *"
|
||||
},
|
||||
@@ -578,9 +563,9 @@ struct RR {
|
||||
"name": "akind",
|
||||
"source_location": {
|
||||
"column": 11,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 21,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "AKind"
|
||||
}
|
||||
@@ -590,9 +575,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 19,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -613,9 +598,9 @@ struct RR {
|
||||
"name": "aaa",
|
||||
"source_location": {
|
||||
"column": 10,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 25,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "AAA *"
|
||||
}
|
||||
@@ -625,9 +610,9 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 24,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -648,9 +633,9 @@ struct RR {
|
||||
"name": "r",
|
||||
"source_location": {
|
||||
"column": 24,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 29,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.cc"
|
||||
},
|
||||
"type": "std::shared_ptr<R>"
|
||||
}
|
||||
@@ -660,19 +645,14 @@ struct RR {
|
||||
"namespace": "clanguml::t00068",
|
||||
"source_location": {
|
||||
"column": 8,
|
||||
"file": "../../tests/t00068/t00068.cc",
|
||||
"file": "t00068.cc",
|
||||
"line": 28,
|
||||
"translation_unit": "../../tests/t00068/t00068.cc"
|
||||
"translation_unit": "t00068.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": "t00068_r2_class",
|
||||
"relationships": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user