Fixed nested class namespace rendering
This commit is contained in:
@@ -6,6 +6,8 @@ diagrams:
|
||||
glob:
|
||||
- ../../tests/t00004/t00004.cc
|
||||
using_namespace:
|
||||
- clanguml::t00004::A::AA
|
||||
- clanguml::t00004::A
|
||||
- clanguml::t00004
|
||||
include:
|
||||
namespaces:
|
||||
|
||||
@@ -255,9 +255,9 @@ TEST_CASE("Test t00004", "[unit-test]")
|
||||
REQUIRE_THAT(puml, StartsWith("@startuml"));
|
||||
REQUIRE_THAT(puml, EndsWith("@enduml\n"));
|
||||
REQUIRE_THAT(puml, Contains("class A"));
|
||||
REQUIRE_THAT(puml, Contains("A +-- A::AA"));
|
||||
REQUIRE_THAT(puml, Contains("A::AA +-- A::AA::AAA"));
|
||||
REQUIRE_THAT(puml, Contains("A::AA +-- A::AA::Lights"));
|
||||
REQUIRE_THAT(puml, Contains("A +-- AA"));
|
||||
REQUIRE_THAT(puml, Contains("AA +-- AAA"));
|
||||
REQUIRE_THAT(puml, Contains("AA +-- Lights"));
|
||||
|
||||
save_puml(
|
||||
"./" + config.output_directory + "/" + diagram->name + ".puml", puml);
|
||||
|
||||
Reference in New Issue
Block a user