Updated test cases documentation

This commit is contained in:
Bartek Kryza
2023-12-09 20:16:28 +01:00
parent 6055c5684e
commit 0a8292655a
316 changed files with 9068 additions and 10010 deletions

View File

@@ -1,8 +1,6 @@
# t30010 - Package diagram with packages from directory structure
## Config
```yaml
compilation_database_dir: ..
output_directory: diagrams
diagrams:
t30010_package:
type: package
@@ -10,13 +8,11 @@ diagrams:
package_type: directory
glob:
- t30010.cc
relative_to: ../../../tests/t30010
include:
paths:
- app
- libraries
using_namespace:
- clanguml::t30010
using_namespace: clanguml::t30010
```
## Source code
File t30010.cc
@@ -51,9 +47,9 @@ App app;
"name": "lib1",
"source_location": {
"column": 8,
"file": "../../clang-uml/tests/t30010/libraries/lib1/lib1.h",
"file": "libraries/lib1/lib1.h",
"line": 7,
"translation_unit": "../../clang-uml/tests/t30010/t30010.cc"
"translation_unit": "t30010.cc"
},
"type": "namespace"
},
@@ -64,9 +60,9 @@ App app;
"name": "lib2",
"source_location": {
"column": 30,
"file": "../../clang-uml/tests/t30010/libraries/lib2/lib2.h",
"file": "libraries/lib2/lib2.h",
"line": 7,
"translation_unit": "../../clang-uml/tests/t30010/t30010.cc"
"translation_unit": "t30010.cc"
},
"type": "namespace"
},
@@ -77,9 +73,9 @@ App app;
"name": "lib3",
"source_location": {
"column": 6,
"file": "../../clang-uml/tests/t30010/libraries/lib3/lib3.h",
"file": "libraries/lib3/lib3.h",
"line": 7,
"translation_unit": "../../clang-uml/tests/t30010/t30010.cc"
"translation_unit": "t30010.cc"
},
"type": "namespace"
},
@@ -90,9 +86,9 @@ App app;
"name": "lib4",
"source_location": {
"column": 8,
"file": "../../clang-uml/tests/t30010/libraries/lib4/lib4.h",
"file": "libraries/lib4/lib4.h",
"line": 7,
"translation_unit": "../../clang-uml/tests/t30010/t30010.cc"
"translation_unit": "t30010.cc"
},
"type": "namespace"
}
@@ -109,18 +105,13 @@ App app;
"name": "app",
"source_location": {
"column": 8,
"file": "../../clang-uml/tests/t30010/app/app.h",
"file": "app/app.h",
"line": 11,
"translation_unit": "../../clang-uml/tests/t30010/t30010.cc"
"translation_unit": "t30010.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": "t30010_package",
"relationships": [
{