Updated test cases documentation
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
# t30005 - Package namespace alias test case
|
||||
## Config
|
||||
```yaml
|
||||
compilation_database_dir: ..
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t30005_package:
|
||||
type: package
|
||||
glob:
|
||||
- ../../tests/t30005/t30005.cc
|
||||
- t30005.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t30005
|
||||
using_namespace:
|
||||
- clanguml::t30005
|
||||
using_namespace: clanguml::t30005
|
||||
plantuml:
|
||||
before:
|
||||
- "' t30005 test package diagram"
|
||||
@@ -67,9 +64,9 @@ struct C2 {
|
||||
"name": "t30005",
|
||||
"source_location": {
|
||||
"column": 11,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 2,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
}
|
||||
@@ -79,9 +76,9 @@ struct C2 {
|
||||
"name": "clanguml",
|
||||
"source_location": {
|
||||
"column": 11,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 1,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
},
|
||||
@@ -98,9 +95,9 @@ struct C2 {
|
||||
"name": "AAA",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 4,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
}
|
||||
@@ -110,9 +107,9 @@ struct C2 {
|
||||
"name": "AA",
|
||||
"source_location": {
|
||||
"column": 14,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 4,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
}
|
||||
@@ -122,9 +119,9 @@ struct C2 {
|
||||
"name": "A",
|
||||
"source_location": {
|
||||
"column": 11,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 4,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
},
|
||||
@@ -141,9 +138,9 @@ struct C2 {
|
||||
"name": "BBB",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 8,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
}
|
||||
@@ -153,9 +150,9 @@ struct C2 {
|
||||
"name": "BB",
|
||||
"source_location": {
|
||||
"column": 14,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 8,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
}
|
||||
@@ -165,9 +162,9 @@ struct C2 {
|
||||
"name": "B",
|
||||
"source_location": {
|
||||
"column": 11,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 8,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
},
|
||||
@@ -184,9 +181,9 @@ struct C2 {
|
||||
"name": "CCC",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 16,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
}
|
||||
@@ -196,9 +193,9 @@ struct C2 {
|
||||
"name": "CC",
|
||||
"source_location": {
|
||||
"column": 14,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 16,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
}
|
||||
@@ -208,18 +205,13 @@ struct C2 {
|
||||
"name": "C",
|
||||
"source_location": {
|
||||
"column": 11,
|
||||
"file": "../../tests/t30005/t30005.cc",
|
||||
"file": "t30005.cc",
|
||||
"line": 16,
|
||||
"translation_unit": "../../tests/t30005/t30005.cc"
|
||||
"translation_unit": "t30005.cc"
|
||||
},
|
||||
"type": "namespace"
|
||||
}
|
||||
],
|
||||
"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": "t30005_package",
|
||||
"relationships": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user