First working version of Mermaid class diagram generator
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
t30002_package:
|
||||
type: package
|
||||
|
||||
@@ -72,8 +72,7 @@ TEST_CASE("t30002", "[test-case][package]")
|
||||
REQUIRE_THAT(puml, IsDependency(_A("BBB"), _A("A17")));
|
||||
REQUIRE_THAT(puml, IsDependency(_A("BBB"), _A("A18")));
|
||||
|
||||
save_puml(
|
||||
config.output_directory() + "/" + diagram->name + ".puml", puml);
|
||||
save_puml(config.output_directory(), diagram->name + ".puml", puml);
|
||||
}
|
||||
|
||||
{
|
||||
@@ -120,6 +119,6 @@ TEST_CASE("t30002", "[test-case][package]")
|
||||
REQUIRE(IsDependency(j, "B::BB::BBB", "A::AA::A16"));
|
||||
REQUIRE(IsDependency(j, "B::BB::BBB", "A::AA::A17"));
|
||||
|
||||
save_json(config.output_directory() + "/" + diagram->name + ".json", j);
|
||||
save_json(config.output_directory(), diagram->name + ".json", j);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user