Added calls through pointers and references in template instantiation sequence diagram test case

This commit is contained in:
Bartek Kryza
2022-11-29 22:55:49 +01:00
parent 0e3c69ce38
commit 9c3d65bf47
4 changed files with 48 additions and 5 deletions

View File

@@ -58,6 +58,11 @@ TEST_CASE("t20006", "[test-case][sequence]")
REQUIRE_THAT(
puml, HasCall(_A("BB<int,std::string>"), _A("AA<int>"), "aa1"));
REQUIRE_THAT(puml, HasCall(_A("tmain()"), _A("BB<int,float>"), "bb1"));
REQUIRE_THAT(
puml, HasCall(_A("BB<int,float>"), _A("BB<int,float>"), "bb2"));
REQUIRE_THAT(puml, HasCall(_A("BB<int,float>"), _A("AA<int>"), "aa2"));
save_puml(
"./" + config.output_directory() + "/" + diagram->name + ".puml", puml);
}