Refactored and unified JSON generators output (#223)
This commit is contained in:
@@ -67,12 +67,9 @@ TEST_CASE("t00027", "[test-case][class]")
|
||||
REQUIRE(IsAbstractClass(j, "ShapeDecorator"));
|
||||
|
||||
REQUIRE(IsClassTemplate(j, "Line<T<>...>"));
|
||||
REQUIRE(IsInstantiation(
|
||||
j, "Line<T<>...>", "Line<clanguml::t00027::Color>"));
|
||||
REQUIRE(IsInstantiation(j, "Line<T<>...>",
|
||||
"Line<clanguml::t00027::Color,clanguml::t00027::Weight>"));
|
||||
REQUIRE(IsAggregation(
|
||||
j, "Window", "Text<clanguml::t00027::Color>", "description"));
|
||||
REQUIRE(IsInstantiation(j, "Line<T<>...>", "Line<Color>"));
|
||||
REQUIRE(IsInstantiation(j, "Line<T<>...>", "Line<Color,Weight>"));
|
||||
REQUIRE(IsAggregation(j, "Window", "Text<Color>", "description"));
|
||||
|
||||
save_json(config.output_directory(), diagram->name + ".json", j);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user