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,18 +1,15 @@
# t00056 - Basic C++20 concepts test case
## Config
```yaml
compilation_database_dir: ..
output_directory: diagrams
diagrams:
t00056_class:
type: class
glob:
- ../../tests/t00056/t00056.cc
- t00056.cc
include:
namespaces:
- clanguml::t00056
using_namespace:
- clanguml::t00056
using_namespace: clanguml::t00056
```
## Source code
File t00056.cc
@@ -129,9 +126,9 @@ struct F {
"parameters": [],
"source_location": {
"column": 9,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 8,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"statements": [],
"type": "concept"
@@ -153,9 +150,9 @@ struct F {
],
"source_location": {
"column": 9,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 11,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"statements": [
"sizeof (l) > sizeof (r)"
@@ -170,9 +167,9 @@ struct F {
"parameters": [],
"source_location": {
"column": 9,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 16,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"statements": [],
"type": "concept"
@@ -190,9 +187,9 @@ struct F {
],
"source_location": {
"column": 9,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 20,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"statements": [
"container.begin()",
@@ -208,9 +205,9 @@ struct F {
"parameters": [],
"source_location": {
"column": 9,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 27,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"statements": [
"typename T::value_type"
@@ -230,9 +227,9 @@ struct F {
],
"source_location": {
"column": 9,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 30,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"statements": [
"std::string{s}",
@@ -249,9 +246,9 @@ struct F {
"parameters": [],
"source_location": {
"column": 9,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 46,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"statements": [],
"type": "concept"
@@ -264,9 +261,9 @@ struct F {
"parameters": [],
"source_location": {
"column": 9,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 49,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"statements": [],
"type": "concept"
@@ -287,9 +284,9 @@ struct F {
"name": "a",
"source_location": {
"column": 7,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 54,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"type": "T"
}
@@ -299,9 +296,9 @@ struct F {
"namespace": "clanguml::t00056",
"source_location": {
"column": 36,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 53,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"template_parameters": [
{
@@ -329,9 +326,9 @@ struct F {
"name": "b",
"source_location": {
"column": 7,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 61,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"type": "T"
}
@@ -341,9 +338,9 @@ struct F {
"namespace": "clanguml::t00056",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 60,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"template_parameters": [
{
@@ -371,9 +368,9 @@ struct F {
"name": "c",
"source_location": {
"column": 7,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 71,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"type": "T"
}
@@ -383,9 +380,9 @@ struct F {
"namespace": "clanguml::t00056",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 70,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"template_parameters": [
{
@@ -412,9 +409,9 @@ struct F {
"namespace": "clanguml::t00056",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 76,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"template_parameters": [
{
@@ -466,9 +463,9 @@ struct F {
"name": "e1",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 81,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"type": "T1"
},
@@ -478,9 +475,9 @@ struct F {
"name": "e2",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 82,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"type": "T2"
},
@@ -490,9 +487,9 @@ struct F {
"name": "e3",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 83,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"type": "T3"
}
@@ -502,9 +499,9 @@ struct F {
"namespace": "clanguml::t00056",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 80,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"template_parameters": [
{
@@ -544,9 +541,9 @@ struct F {
"name": "f1",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 89,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"type": "T1"
},
@@ -556,9 +553,9 @@ struct F {
"name": "f2",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 90,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"type": "T2"
},
@@ -568,9 +565,9 @@ struct F {
"name": "f3",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 91,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"type": "T3"
}
@@ -580,9 +577,9 @@ struct F {
"namespace": "clanguml::t00056",
"source_location": {
"column": 8,
"file": "../../tests/t00056/t00056.cc",
"file": "t00056.cc",
"line": 88,
"translation_unit": "../../tests/t00056/t00056.cc"
"translation_unit": "t00056.cc"
},
"template_parameters": [
{
@@ -607,11 +604,6 @@ struct F {
"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": "t00056_class",
"relationships": [
{