First working version of JSON sequence diagram generator

This commit is contained in:
Bartek Kryza
2023-03-19 18:30:00 +01:00
parent e620c86f31
commit f0497e934d
42 changed files with 1165 additions and 56 deletions
+6
View File
@@ -39,4 +39,10 @@ TEST_CASE("t20022", "[test-case][sequence]")
REQUIRE_THAT(puml, HasCall(_A("A"), _A("B"), "b()"));
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);
}