Updated test cases documentation
This commit is contained in:
@@ -72,3 +72,311 @@ int main()
|
||||
```
|
||||
## Generated UML diagrams
|
||||

|
||||
## Generated JSON models
|
||||
```json
|
||||
{
|
||||
"diagram_type": "sequence",
|
||||
"name": "t20004_sequence",
|
||||
"participants": [
|
||||
{
|
||||
"id": "2299662004367884401",
|
||||
"name": "clanguml::t20004::main()",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 38
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
{
|
||||
"id": "138925040763435897",
|
||||
"name": "clanguml::t20004::m1<float>(float)",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 26
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
{
|
||||
"id": "1239083518717603720",
|
||||
"name": "clanguml::t20004::m1<unsigned long>(unsigned long)",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 28
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
{
|
||||
"id": "376599675205498367",
|
||||
"name": "clanguml::t20004::m4<unsigned long>(unsigned long)",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 10
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
{
|
||||
"id": "1845817984839618223",
|
||||
"name": "clanguml::t20004::m1<std::string>(std::string)",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 33
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
{
|
||||
"id": "1735054254122948614",
|
||||
"name": "clanguml::t20004::m2<std::string>(std::string)",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 19
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
{
|
||||
"id": "121663532044911922",
|
||||
"name": "clanguml::t20004::m1<int>(int)",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 24
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
{
|
||||
"id": "1475362124497386656",
|
||||
"name": "clanguml::t20004::m2<int>(int)",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 17
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
{
|
||||
"id": "734999226157549914",
|
||||
"name": "clanguml::t20004::m3<int>(int)",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 15
|
||||
},
|
||||
"type": "function_template"
|
||||
},
|
||||
{
|
||||
"id": "1006390865908497562",
|
||||
"name": "clanguml::t20004::m4<int>(int)",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 8
|
||||
},
|
||||
"type": "function_template"
|
||||
}
|
||||
],
|
||||
"sequences": [
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2299662004367884401",
|
||||
"activity_name": "clanguml::t20004::main()",
|
||||
"participant_id": "2299662004367884401",
|
||||
"participant_name": "clanguml::t20004::main()"
|
||||
},
|
||||
"name": "",
|
||||
"return_type": "",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 40
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "138925040763435897",
|
||||
"activity_name": "clanguml::t20004::m1<float>(float)",
|
||||
"participant_id": "138925040763435897",
|
||||
"participant_name": "clanguml::t20004::m1<float>(float)"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2299662004367884401",
|
||||
"activity_name": "clanguml::t20004::main()",
|
||||
"participant_id": "2299662004367884401",
|
||||
"participant_name": "clanguml::t20004::main()"
|
||||
},
|
||||
"name": "",
|
||||
"return_type": "",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 42
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1239083518717603720",
|
||||
"activity_name": "clanguml::t20004::m1<unsigned long>(unsigned long)",
|
||||
"participant_id": "1239083518717603720",
|
||||
"participant_name": "clanguml::t20004::m1<unsigned long>(unsigned long)"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1239083518717603720",
|
||||
"activity_name": "clanguml::t20004::m1<unsigned long>(unsigned long)",
|
||||
"participant_id": "1239083518717603720",
|
||||
"participant_name": "clanguml::t20004::m1<unsigned long>(unsigned long)"
|
||||
},
|
||||
"name": "",
|
||||
"return_type": "",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 30
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "376599675205498367",
|
||||
"activity_name": "clanguml::t20004::m4<unsigned long>(unsigned long)",
|
||||
"participant_id": "376599675205498367",
|
||||
"participant_name": "clanguml::t20004::m4<unsigned long>(unsigned long)"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2299662004367884401",
|
||||
"activity_name": "clanguml::t20004::main()",
|
||||
"participant_id": "2299662004367884401",
|
||||
"participant_name": "clanguml::t20004::main()"
|
||||
},
|
||||
"name": "",
|
||||
"return_type": "",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 44
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1845817984839618223",
|
||||
"activity_name": "clanguml::t20004::m1<std::string>(std::string)",
|
||||
"participant_id": "1845817984839618223",
|
||||
"participant_name": "clanguml::t20004::m1<std::string>(std::string)"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1845817984839618223",
|
||||
"activity_name": "clanguml::t20004::m1<std::string>(std::string)",
|
||||
"participant_id": "1845817984839618223",
|
||||
"participant_name": "clanguml::t20004::m1<std::string>(std::string)"
|
||||
},
|
||||
"name": "",
|
||||
"return_type": "",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 35
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1735054254122948614",
|
||||
"activity_name": "clanguml::t20004::m2<std::string>(std::string)",
|
||||
"participant_id": "1735054254122948614",
|
||||
"participant_name": "clanguml::t20004::m2<std::string>(std::string)"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2299662004367884401",
|
||||
"activity_name": "clanguml::t20004::main()",
|
||||
"participant_id": "2299662004367884401",
|
||||
"participant_name": "clanguml::t20004::main()"
|
||||
},
|
||||
"name": "",
|
||||
"return_type": "",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 46
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "121663532044911922",
|
||||
"activity_name": "clanguml::t20004::m1<int>(int)",
|
||||
"participant_id": "121663532044911922",
|
||||
"participant_name": "clanguml::t20004::m1<int>(int)"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "121663532044911922",
|
||||
"activity_name": "clanguml::t20004::m1<int>(int)",
|
||||
"participant_id": "121663532044911922",
|
||||
"participant_name": "clanguml::t20004::m1<int>(int)"
|
||||
},
|
||||
"name": "",
|
||||
"return_type": "",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 24
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1475362124497386656",
|
||||
"activity_name": "clanguml::t20004::m2<int>(int)",
|
||||
"participant_id": "1475362124497386656",
|
||||
"participant_name": "clanguml::t20004::m2<int>(int)"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1475362124497386656",
|
||||
"activity_name": "clanguml::t20004::m2<int>(int)",
|
||||
"participant_id": "1475362124497386656",
|
||||
"participant_name": "clanguml::t20004::m2<int>(int)"
|
||||
},
|
||||
"name": "",
|
||||
"return_type": "",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 17
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "734999226157549914",
|
||||
"activity_name": "clanguml::t20004::m3<int>(int)",
|
||||
"participant_id": "734999226157549914",
|
||||
"participant_name": "clanguml::t20004::m3<int>(int)"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "734999226157549914",
|
||||
"activity_name": "clanguml::t20004::m3<int>(int)",
|
||||
"participant_id": "734999226157549914",
|
||||
"participant_name": "clanguml::t20004::m3<int>(int)"
|
||||
},
|
||||
"name": "",
|
||||
"return_type": "",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20004/t20004.cc",
|
||||
"line": 15
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1006390865908497562",
|
||||
"activity_name": "clanguml::t20004::m4<int>(int)",
|
||||
"participant_id": "1006390865908497562",
|
||||
"participant_name": "clanguml::t20004::m4<int>(int)"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
],
|
||||
"start_from": {
|
||||
"id": 2299662004367884401,
|
||||
"location": "clanguml::t20004::main()"
|
||||
}
|
||||
}
|
||||
],
|
||||
"using_namespace": "clanguml::t20004"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user