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

@@ -44,4 +44,10 @@ TEST_CASE("t20011", "[test-case][sequence]")
REQUIRE_THAT(puml, HasCall(_A("A"), _A("A"), "b(int)"));
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);
}