diff options
author | albert-github <albert.tests@gmail.com> | 2020-06-12 13:28:22 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-06-12 13:28:22 (GMT) |
commit | 906f429414678e0bcecf3c67d1f49f436bac2876 (patch) | |
tree | 1d3077e19f932ab973ee738679e606abf62ebe31 /testing/037_msc.cpp | |
parent | fa4e3f5f955e602f02545e049361510f3334cfff (diff) | |
download | Doxygen-906f429414678e0bcecf3c67d1f49f436bac2876.zip Doxygen-906f429414678e0bcecf3c67d1f49f436bac2876.tar.gz Doxygen-906f429414678e0bcecf3c67d1f49f436bac2876.tar.bz2 |
Coverity uninitialized variable in mscgen_api.cpp
- Initialize the variable ymax
- add an extended example with "parallel events" triggered by a `,` instead of `;` between events
Diffstat (limited to 'testing/037_msc.cpp')
-rw-r--r-- | testing/037_msc.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/037_msc.cpp b/testing/037_msc.cpp index 84ffc55..a3c0e4b 100644 --- a/testing/037_msc.cpp +++ b/testing/037_msc.cpp @@ -1,6 +1,24 @@ // objective: test the \msc and \endmsc commands // check: class_sender.xml // check: class_receiver.xml +// check: 037__msc_8cpp.xml + +/** \file + * A bit more complex msc diagram, with also parallel events. + * \msc + * Sender_1,Receiver_1,Sender1_1, + * Sender,Receiver,Sender1, + * Sender_2,Receiver_2,Sender1_2; + * + * Sender_1->Receiver_1 [label="Command()", URL="nref Receiver::Command()"], + * Sender1_1<-Receiver_1 [label="Ack()", URL="nref Ack()", ID="1"]; + * + * Sender->Receiver [label="Command()", URL="nref Receiver::Command()"]; + * Sender1<-Receiver [label="Ack()", URL="nref Ack()", ID="1"]; + * Sender_2->Receiver_2 [label="Command()", URL="nref Receiver::Command()"], + * Sender1_2<-Receiver_2 [label="Ack()", URL="nref Ack()", ID="1"]; + * \endmsc + */ /** Sender class. Can be used to send a command to the server. * The receiver will acknowledge the command by calling Ack(). |