Updated test cases documentation
This commit is contained in:
@@ -61,3 +61,226 @@ void tmain()
|
||||
```
|
||||
## Generated UML diagrams
|
||||

|
||||
## Generated JSON models
|
||||
```json
|
||||
{
|
||||
"diagram_type": "sequence",
|
||||
"name": "t20010_sequence",
|
||||
"participants": [
|
||||
{
|
||||
"id": "1364660609791735244",
|
||||
"name": "clanguml::t20010::tmain()",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 28
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
{
|
||||
"id": "2154977200904210115",
|
||||
"name": "clanguml::t20010::B<int>",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 16
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
{
|
||||
"id": "102070351492425113",
|
||||
"name": "clanguml::t20010::A",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 9
|
||||
},
|
||||
"type": "class"
|
||||
}
|
||||
],
|
||||
"sequences": [
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1364660609791735244",
|
||||
"activity_name": "clanguml::t20010::tmain()",
|
||||
"participant_id": "1364660609791735244",
|
||||
"participant_name": "clanguml::t20010::tmain()"
|
||||
},
|
||||
"name": "b1()",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 32
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "343626060927491836",
|
||||
"activity_name": "clanguml::t20010::B<int>::b1()",
|
||||
"participant_id": "2154977200904210115",
|
||||
"participant_name": "clanguml::t20010::B<int>"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "343626060927491836",
|
||||
"activity_name": "clanguml::t20010::B<int>::b1()",
|
||||
"participant_id": "2154977200904210115",
|
||||
"participant_name": "clanguml::t20010::B<int>"
|
||||
},
|
||||
"name": "a1()",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 17
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "981184681827469850",
|
||||
"activity_name": "clanguml::t20010::A::a1()",
|
||||
"participant_id": "102070351492425113",
|
||||
"participant_name": "clanguml::t20010::A"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1364660609791735244",
|
||||
"activity_name": "clanguml::t20010::tmain()",
|
||||
"participant_id": "1364660609791735244",
|
||||
"participant_name": "clanguml::t20010::tmain()"
|
||||
},
|
||||
"name": "b2()",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 33
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1633031113603062043",
|
||||
"activity_name": "clanguml::t20010::B<int>::b2()",
|
||||
"participant_id": "2154977200904210115",
|
||||
"participant_name": "clanguml::t20010::B<int>"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1633031113603062043",
|
||||
"activity_name": "clanguml::t20010::B<int>::b2()",
|
||||
"participant_id": "2154977200904210115",
|
||||
"participant_name": "clanguml::t20010::B<int>"
|
||||
},
|
||||
"name": "a2()",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 18
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "664370880632146592",
|
||||
"activity_name": "clanguml::t20010::A::a2()",
|
||||
"participant_id": "102070351492425113",
|
||||
"participant_name": "clanguml::t20010::A"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1364660609791735244",
|
||||
"activity_name": "clanguml::t20010::tmain()",
|
||||
"participant_id": "1364660609791735244",
|
||||
"participant_name": "clanguml::t20010::tmain()"
|
||||
},
|
||||
"name": "b3()",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 34
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "786218543654309692",
|
||||
"activity_name": "clanguml::t20010::B<int>::b3()",
|
||||
"participant_id": "2154977200904210115",
|
||||
"participant_name": "clanguml::t20010::B<int>"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "786218543654309692",
|
||||
"activity_name": "clanguml::t20010::B<int>::b3()",
|
||||
"participant_id": "2154977200904210115",
|
||||
"participant_name": "clanguml::t20010::B<int>"
|
||||
},
|
||||
"name": "a3()",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 19
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "2145739294823015899",
|
||||
"activity_name": "clanguml::t20010::A::a3()",
|
||||
"participant_id": "102070351492425113",
|
||||
"participant_name": "clanguml::t20010::A"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1364660609791735244",
|
||||
"activity_name": "clanguml::t20010::tmain()",
|
||||
"participant_id": "1364660609791735244",
|
||||
"participant_name": "clanguml::t20010::tmain()"
|
||||
},
|
||||
"name": "b4()",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 35
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1866068965397702666",
|
||||
"activity_name": "clanguml::t20010::B<int>::b4()",
|
||||
"participant_id": "2154977200904210115",
|
||||
"participant_name": "clanguml::t20010::B<int>"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1866068965397702666",
|
||||
"activity_name": "clanguml::t20010::B<int>::b4()",
|
||||
"participant_id": "2154977200904210115",
|
||||
"participant_name": "clanguml::t20010::B<int>"
|
||||
},
|
||||
"name": "a4()",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20010/t20010.cc",
|
||||
"line": 20
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1224936485834400821",
|
||||
"activity_name": "clanguml::t20010::A::a4()",
|
||||
"participant_id": "102070351492425113",
|
||||
"participant_name": "clanguml::t20010::A"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
],
|
||||
"start_from": {
|
||||
"id": 1364660609791735244,
|
||||
"location": "clanguml::t20010::tmain()"
|
||||
}
|
||||
}
|
||||
],
|
||||
"using_namespace": "clanguml::t20010"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user