Added standard container sequence diagram test case

This commit is contained in:
Bartek Kryza
2022-11-30 20:21:37 +01:00
parent 115ede3cc7
commit 73f399c8a0
6 changed files with 114 additions and 0 deletions

View File

@@ -85,6 +85,11 @@ void diagram::print() const
LOG_DBG(" Activity id={}, from={}:", act.from,
from_activity.full_name(false));
for (const auto &message : act.messages) {
if (participants.find(message.from) == participants.end())
continue;
if (participants.find(message.to) == participants.end())
continue;
const auto &from_participant = *participants.at(message.from);
const auto &to_participant = *participants.at(message.to);