Updated test cases documentation
This commit is contained in:
@@ -19,7 +19,6 @@ diagrams:
|
||||
File t00044.cc
|
||||
```cpp
|
||||
// Inspired by skypjack/entt signal handlers
|
||||
// This test case checks that at least clang-uml does not crash on this code
|
||||
namespace clanguml::t00044 {
|
||||
|
||||
template <typename T> class sink;
|
||||
@@ -63,59 +62,6 @@ struct R {
|
||||
{
|
||||
"diagram_type": "class",
|
||||
"elements": [
|
||||
{
|
||||
"bases": [],
|
||||
"display_name": "clanguml::t00044::sink<clanguml::t00044::signal_handler<Ret(Args...),A>>",
|
||||
"id": "559574389062594251",
|
||||
"is_abstract": false,
|
||||
"is_nested": false,
|
||||
"is_struct": false,
|
||||
"is_template": true,
|
||||
"is_union": false,
|
||||
"members": [],
|
||||
"methods": [],
|
||||
"name": "sink",
|
||||
"namespace": "clanguml::t00044",
|
||||
"source_location": {
|
||||
"file": "../../tests/t00044/t00044.cc",
|
||||
"line": 10
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
"kind": "argument",
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
"kind": "argument",
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
"kind": "template_type",
|
||||
"name": "Ret",
|
||||
"template_parameters": []
|
||||
},
|
||||
{
|
||||
"is_variadic": true,
|
||||
"kind": "template_type",
|
||||
"name": "Args...",
|
||||
"template_parameters": []
|
||||
}
|
||||
],
|
||||
"type": ""
|
||||
},
|
||||
{
|
||||
"is_variadic": false,
|
||||
"kind": "template_type",
|
||||
"name": "A",
|
||||
"template_parameters": []
|
||||
}
|
||||
],
|
||||
"type": "clanguml::t00044::signal_handler"
|
||||
}
|
||||
],
|
||||
"type": "class"
|
||||
},
|
||||
{
|
||||
"bases": [],
|
||||
"display_name": "clanguml::t00044::signal_handler<Ret(Args...),A>",
|
||||
@@ -129,10 +75,6 @@ struct R {
|
||||
"methods": [],
|
||||
"name": "signal_handler",
|
||||
"namespace": "clanguml::t00044",
|
||||
"source_location": {
|
||||
"file": "../../tests/t00044/t00044.cc",
|
||||
"line": 24
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
@@ -161,6 +103,58 @@ struct R {
|
||||
],
|
||||
"type": "class"
|
||||
},
|
||||
{
|
||||
"bases": [],
|
||||
"display_name": "clanguml::t00044::sink<clanguml::t00044::signal_handler<Ret(Args...),A>>",
|
||||
"id": "559574389062594251",
|
||||
"is_abstract": false,
|
||||
"is_nested": false,
|
||||
"is_struct": false,
|
||||
"is_template": true,
|
||||
"is_union": false,
|
||||
"members": [],
|
||||
"methods": [],
|
||||
"name": "sink",
|
||||
"namespace": "clanguml::t00044",
|
||||
"source_location": {
|
||||
"file": "../../tests/t00044/t00044.cc",
|
||||
"line": 9
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
"kind": "argument",
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
"kind": "template_type",
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
"kind": "template_type",
|
||||
"name": "Ret",
|
||||
"template_parameters": []
|
||||
},
|
||||
{
|
||||
"is_variadic": true,
|
||||
"kind": "template_type",
|
||||
"name": "Args...",
|
||||
"template_parameters": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"is_variadic": false,
|
||||
"kind": "template_type",
|
||||
"name": "A",
|
||||
"template_parameters": []
|
||||
}
|
||||
],
|
||||
"type": "clanguml::t00044::signal_handler"
|
||||
}
|
||||
],
|
||||
"type": "class"
|
||||
},
|
||||
{
|
||||
"bases": [],
|
||||
"display_name": "clanguml::t00044::signal_handler<void(int),bool>",
|
||||
@@ -177,7 +171,7 @@ struct R {
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
"kind": "argument",
|
||||
"kind": "template_type",
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
@@ -191,8 +185,7 @@ struct R {
|
||||
"template_parameters": [],
|
||||
"type": "int"
|
||||
}
|
||||
],
|
||||
"type": ""
|
||||
]
|
||||
},
|
||||
{
|
||||
"is_variadic": false,
|
||||
@@ -223,7 +216,7 @@ struct R {
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
"kind": "argument",
|
||||
"kind": "template_type",
|
||||
"template_parameters": [
|
||||
{
|
||||
"is_variadic": false,
|
||||
@@ -237,8 +230,7 @@ struct R {
|
||||
"template_parameters": [],
|
||||
"type": "int"
|
||||
}
|
||||
],
|
||||
"type": ""
|
||||
]
|
||||
},
|
||||
{
|
||||
"is_variadic": false,
|
||||
@@ -268,7 +260,7 @@ struct R {
|
||||
"name": "sink1",
|
||||
"source_location": {
|
||||
"file": "../../tests/t00044/t00044.cc",
|
||||
"line": 33
|
||||
"line": 32
|
||||
},
|
||||
"type": "sink<signal_handler<void (int),bool>>"
|
||||
}
|
||||
@@ -278,7 +270,7 @@ struct R {
|
||||
"namespace": "clanguml::t00044",
|
||||
"source_location": {
|
||||
"file": "../../tests/t00044/t00044.cc",
|
||||
"line": 32
|
||||
"line": 31
|
||||
},
|
||||
"template_parameters": [],
|
||||
"type": "class"
|
||||
@@ -298,7 +290,7 @@ struct R {
|
||||
"namespace": "clanguml::t00044",
|
||||
"source_location": {
|
||||
"file": "../../tests/t00044/t00044.cc",
|
||||
"line": 7
|
||||
"line": 6
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -331,7 +323,7 @@ struct R {
|
||||
"namespace": "clanguml::t00044",
|
||||
"source_location": {
|
||||
"file": "../../tests/t00044/t00044.cc",
|
||||
"line": 5
|
||||
"line": 4
|
||||
},
|
||||
"template_parameters": [
|
||||
{
|
||||
@@ -345,7 +337,7 @@ struct R {
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"clang_uml_version": "0.3.3-24-ge2a6b81",
|
||||
"clang_uml_version": "0.3.4-21-g665c784",
|
||||
"llvm_version": "Ubuntu clang version 15.0.6",
|
||||
"schema_version": 1
|
||||
},
|
||||
@@ -353,14 +345,20 @@ struct R {
|
||||
"relationships": [
|
||||
{
|
||||
"access": "public",
|
||||
"destination": "1759724482769288325",
|
||||
"source": "559574389062594251",
|
||||
"destination": "276594465967577895",
|
||||
"source": "1591729735727316875",
|
||||
"type": "instantiation"
|
||||
},
|
||||
{
|
||||
"access": "public",
|
||||
"destination": "276594465967577895",
|
||||
"source": "1591729735727316875",
|
||||
"destination": "1591729735727316875",
|
||||
"source": "559574389062594251",
|
||||
"type": "dependency"
|
||||
},
|
||||
{
|
||||
"access": "public",
|
||||
"destination": "1759724482769288325",
|
||||
"source": "559574389062594251",
|
||||
"type": "instantiation"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user