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

|
||||
## Generated JSON models
|
||||
```json
|
||||
{
|
||||
"diagram_type": "sequence",
|
||||
"name": "t20009_sequence",
|
||||
"participants": [
|
||||
{
|
||||
"id": "791066686606379857",
|
||||
"name": "clanguml::t20009::tmain()",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 18
|
||||
},
|
||||
"type": "function"
|
||||
},
|
||||
{
|
||||
"id": "450813573860627679",
|
||||
"name": "clanguml::t20009::B<std::string>",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 10
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
{
|
||||
"id": "1197403810800583218",
|
||||
"name": "clanguml::t20009::A<std::string>",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 6
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
{
|
||||
"id": "2002310682025149090",
|
||||
"name": "clanguml::t20009::B<int>",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 10
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
{
|
||||
"id": "1228498754558363121",
|
||||
"name": "clanguml::t20009::A<int>",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 6
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
{
|
||||
"id": "1461902328659683203",
|
||||
"name": "clanguml::t20009::B<float>",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 10
|
||||
},
|
||||
"type": "class"
|
||||
},
|
||||
{
|
||||
"id": "1243520246309441967",
|
||||
"name": "clanguml::t20009::A<float>",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 6
|
||||
},
|
||||
"type": "class"
|
||||
}
|
||||
],
|
||||
"sequences": [
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "791066686606379857",
|
||||
"activity_name": "clanguml::t20009::tmain()",
|
||||
"participant_id": "791066686606379857",
|
||||
"participant_name": "clanguml::t20009::tmain()"
|
||||
},
|
||||
"name": "b(std::string)",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 24
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1960266381909090879",
|
||||
"activity_name": "clanguml::t20009::B<std::string>::b(std::string)",
|
||||
"participant_id": "450813573860627679",
|
||||
"participant_name": "clanguml::t20009::B<std::string>"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "1960266381909090879",
|
||||
"activity_name": "clanguml::t20009::B<std::string>::b(std::string)",
|
||||
"participant_id": "450813573860627679",
|
||||
"participant_name": "clanguml::t20009::B<std::string>"
|
||||
},
|
||||
"name": "a(std::string)",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 11
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1716775846967761286",
|
||||
"activity_name": "clanguml::t20009::A<std::string>::a(std::string)",
|
||||
"participant_id": "1197403810800583218",
|
||||
"participant_name": "clanguml::t20009::A<std::string>"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "791066686606379857",
|
||||
"activity_name": "clanguml::t20009::tmain()",
|
||||
"participant_id": "791066686606379857",
|
||||
"participant_name": "clanguml::t20009::tmain()"
|
||||
},
|
||||
"name": "b(int)",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 25
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "660557928399203634",
|
||||
"activity_name": "clanguml::t20009::B<int>::b(int)",
|
||||
"participant_id": "2002310682025149090",
|
||||
"participant_name": "clanguml::t20009::B<int>"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "660557928399203634",
|
||||
"activity_name": "clanguml::t20009::B<int>::b(int)",
|
||||
"participant_id": "2002310682025149090",
|
||||
"participant_name": "clanguml::t20009::B<int>"
|
||||
},
|
||||
"name": "a(int)",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 11
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "2030629454810805092",
|
||||
"activity_name": "clanguml::t20009::A<int>::a(int)",
|
||||
"participant_id": "1228498754558363121",
|
||||
"participant_name": "clanguml::t20009::A<int>"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "791066686606379857",
|
||||
"activity_name": "clanguml::t20009::tmain()",
|
||||
"participant_id": "791066686606379857",
|
||||
"participant_name": "clanguml::t20009::tmain()"
|
||||
},
|
||||
"name": "b(float)",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 26
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "367805163135583282",
|
||||
"activity_name": "clanguml::t20009::B<float>::b(float)",
|
||||
"participant_id": "1461902328659683203",
|
||||
"participant_name": "clanguml::t20009::B<float>"
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"activity_id": "367805163135583282",
|
||||
"activity_name": "clanguml::t20009::B<float>::b(float)",
|
||||
"participant_id": "1461902328659683203",
|
||||
"participant_name": "clanguml::t20009::B<float>"
|
||||
},
|
||||
"name": "a(float)",
|
||||
"return_type": "void",
|
||||
"scope": "normal",
|
||||
"source_location": {
|
||||
"file": "../../tests/t20009/t20009.cc",
|
||||
"line": 11
|
||||
},
|
||||
"to": {
|
||||
"activity_id": "1643733911490581293",
|
||||
"activity_name": "clanguml::t20009::A<float>::a(float)",
|
||||
"participant_id": "1243520246309441967",
|
||||
"participant_name": "clanguml::t20009::A<float>"
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
],
|
||||
"start_from": {
|
||||
"id": 791066686606379857,
|
||||
"location": "clanguml::t20009::tmain()"
|
||||
}
|
||||
}
|
||||
],
|
||||
"using_namespace": "clanguml::t20009"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user