Updated test cases documentation
This commit is contained in:
@@ -93,7 +93,7 @@ int tmain()
|
||||
{
|
||||
"diagram_type": "sequence",
|
||||
"metadata": {
|
||||
"clang_uml_version": "0.3.8-13-g2e1013c",
|
||||
"clang_uml_version": "0.3.8-18-gfd06d93",
|
||||
"llvm_version": "Ubuntu clang version 15.0.7",
|
||||
"schema_version": 1
|
||||
},
|
||||
@@ -155,144 +155,136 @@ int tmain()
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
],
|
||||
"type": "alternative"
|
||||
},
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2284981553733959328",
|
||||
"activity_name": "clanguml::t20033::tmain()",
|
||||
"participant_id": "2284981553733959328",
|
||||
"participant_name": "clanguml::t20033::tmain()"
|
||||
},
|
||||
"name": "a2()",
|
||||
"return_type": "int",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t20033/t20033.cc",
|
||||
"line": 27,
|
||||
"translation_unit": "../../tests/t20033/t20033.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "748502947476611794",
|
||||
"activity_name": "clanguml::t20033::A::a2()",
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
],
|
||||
"type": "alternative"
|
||||
},
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2284981553733959328",
|
||||
"activity_name": "clanguml::t20033::tmain()",
|
||||
"participant_id": "2284981553733959328",
|
||||
"participant_name": "clanguml::t20033::tmain()"
|
||||
},
|
||||
"name": "a2()",
|
||||
"return_type": "int",
|
||||
"scope": "condition",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20033/t20033.cc",
|
||||
"line": 29,
|
||||
"translation_unit": "../../tests/t20033/t20033.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "748502947476611794",
|
||||
"activity_name": "clanguml::t20033::A::a2()",
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"activity_id": "2284981553733959328",
|
||||
"branches": [
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2284981553733959328",
|
||||
"activity_name": "clanguml::t20033::tmain()",
|
||||
"participant_id": "2284981553733959328",
|
||||
"participant_name": "clanguml::t20033::tmain()"
|
||||
},
|
||||
"name": "a2()",
|
||||
"return_type": "int",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t20033/t20033.cc",
|
||||
"line": 27,
|
||||
"translation_unit": "../../tests/t20033/t20033.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "748502947476611794",
|
||||
"activity_name": "clanguml::t20033::A::a2()",
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
],
|
||||
"type": "consequent"
|
||||
},
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2284981553733959328",
|
||||
"activity_name": "clanguml::t20033::tmain()",
|
||||
"participant_id": "2284981553733959328",
|
||||
"participant_name": "clanguml::t20033::tmain()"
|
||||
},
|
||||
"name": "a2()",
|
||||
"return_type": "int",
|
||||
"scope": "condition",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20033/t20033.cc",
|
||||
"line": 29,
|
||||
"translation_unit": "../../tests/t20033/t20033.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "748502947476611794",
|
||||
"activity_name": "clanguml::t20033::A::a2()",
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2284981553733959328",
|
||||
"activity_name": "clanguml::t20033::tmain()",
|
||||
"participant_id": "2284981553733959328",
|
||||
"participant_name": "clanguml::t20033::tmain()"
|
||||
},
|
||||
"name": "a3()",
|
||||
"return_type": "int",
|
||||
"scope": "condition",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20033/t20033.cc",
|
||||
"line": 30,
|
||||
"translation_unit": "../../tests/t20033/t20033.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "55903385814245839",
|
||||
"activity_name": "clanguml::t20033::A::a3()",
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2284981553733959328",
|
||||
"activity_name": "clanguml::t20033::tmain()",
|
||||
"participant_id": "2284981553733959328",
|
||||
"participant_name": "clanguml::t20033::tmain()"
|
||||
},
|
||||
"name": "a3()",
|
||||
"return_type": "int",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t20033/t20033.cc",
|
||||
"line": 31,
|
||||
"translation_unit": "../../tests/t20033/t20033.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "55903385814245839",
|
||||
"activity_name": "clanguml::t20033::A::a3()",
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
],
|
||||
"type": "alternative"
|
||||
},
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2284981553733959328",
|
||||
"activity_name": "clanguml::t20033::tmain()",
|
||||
"participant_id": "2284981553733959328",
|
||||
"participant_name": "clanguml::t20033::tmain()"
|
||||
},
|
||||
"name": "a4()",
|
||||
"return_type": "int",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t20033/t20033.cc",
|
||||
"line": 34,
|
||||
"translation_unit": "../../tests/t20033/t20033.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1686426476339443579",
|
||||
"activity_name": "clanguml::t20033::A::a4()",
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
],
|
||||
"type": "alternative"
|
||||
}
|
||||
],
|
||||
"condition_text": "reinterpret_cast<uint64_t>(&a) % 64 == 0ULL",
|
||||
"name": "if",
|
||||
"type": "alt"
|
||||
"from": {
|
||||
"activity_id": "2284981553733959328",
|
||||
"activity_name": "clanguml::t20033::tmain()",
|
||||
"participant_id": "2284981553733959328",
|
||||
"participant_name": "clanguml::t20033::tmain()"
|
||||
},
|
||||
"name": "a3()",
|
||||
"return_type": "int",
|
||||
"scope": "condition",
|
||||
"source_location": {
|
||||
"column": 13,
|
||||
"file": "../../tests/t20033/t20033.cc",
|
||||
"line": 30,
|
||||
"translation_unit": "../../tests/t20033/t20033.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "55903385814245839",
|
||||
"activity_name": "clanguml::t20033::A::a3()",
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2284981553733959328",
|
||||
"activity_name": "clanguml::t20033::tmain()",
|
||||
"participant_id": "2284981553733959328",
|
||||
"participant_name": "clanguml::t20033::tmain()"
|
||||
},
|
||||
"name": "a3()",
|
||||
"return_type": "int",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t20033/t20033.cc",
|
||||
"line": 31,
|
||||
"translation_unit": "../../tests/t20033/t20033.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "55903385814245839",
|
||||
"activity_name": "clanguml::t20033::A::a3()",
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
],
|
||||
"type": "alternative"
|
||||
},
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "2284981553733959328",
|
||||
"activity_name": "clanguml::t20033::tmain()",
|
||||
"participant_id": "2284981553733959328",
|
||||
"participant_name": "clanguml::t20033::tmain()"
|
||||
},
|
||||
"name": "a4()",
|
||||
"return_type": "int",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"column": 18,
|
||||
"file": "../../tests/t20033/t20033.cc",
|
||||
"line": 34,
|
||||
"translation_unit": "../../tests/t20033/t20033.cc"
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1686426476339443579",
|
||||
"activity_name": "clanguml::t20033::A::a4()",
|
||||
"participant_id": "615995652843962691"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
],
|
||||
"type": "alternative"
|
||||
|
||||
Reference in New Issue
Block a user