Fixed formatting

This commit is contained in:
Bartek Kryza
2022-01-23 22:20:50 +01:00
parent cb7a4b9038
commit 98f103ec72
3 changed files with 3 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ void generator::generate_alias(const enum_ &e, std::ostream &ostr) const
void generator::generate(const class_ &c, std::ostream &ostr) const void generator::generate(const class_ &c, std::ostream &ostr) const
{ {
const auto& uns = m_config.using_namespace; const auto &uns = m_config.using_namespace;
std::string class_type{"class"}; std::string class_type{"class"};
if (c.is_abstract()) if (c.is_abstract())

View File

@@ -57,6 +57,7 @@ public:
void process_field(const cppast::cpp_member_variable &mv, void process_field(const cppast::cpp_member_variable &mv,
type_safe::optional_ref<model::package> p, type_safe::optional_ref<model::package> p,
cppast::cpp_access_specifier_kind as); cppast::cpp_access_specifier_kind as);
private: private:
/** /**
* Try to resolve a type instance into a type referenced through an alias. * Try to resolve a type instance into a type referenced through an alias.

View File

@@ -54,7 +54,7 @@ TEST_CASE("t30002", "[test-case][package]")
REQUIRE_THAT(puml, Contains("component [BB]")); REQUIRE_THAT(puml, Contains("component [BB]"));
REQUIRE_THAT(puml, Contains("component [BBB]")); REQUIRE_THAT(puml, Contains("component [BBB]"));
//REQUIRE_THAT(puml, IsDependency(_A("BBB"), _A("AAA"))); // REQUIRE_THAT(puml, IsDependency(_A("BBB"), _A("AAA")));
save_puml( save_puml(
"./" + config.output_directory + "/" + diagram->name + ".puml", puml); "./" + config.output_directory + "/" + diagram->name + ".puml", puml);