First working version of JSON sequence diagram generator

This commit is contained in:
Bartek Kryza
2023-03-19 18:29:45 +01:00
parent e620c86f31
commit f0497e934d
42 changed files with 1165 additions and 56 deletions

View File

@@ -39,4 +39,10 @@ TEST_CASE("t20003", "[test-case][sequence]")
REQUIRE_THAT(puml, HasCall(_A("m3<T>(T)"), _A("m4<T>(T)"), ""));
save_puml(config.output_directory() + "/" + diagram->name + ".puml", puml);
auto j = generate_sequence_json(diagram, *model);
// REQUIRE(j == nlohmann::json::parse(expected_json));
save_json(config.output_directory() + "/" + diagram->name + ".json", j);
}