diff --git a/docs/test_cases.md b/docs/test_cases.md index 1f0e4c0d..2b5459d5 100644 --- a/docs/test_cases.md +++ b/docs/test_cases.md @@ -43,5 +43,6 @@ * [t30004](./test_cases/t30004.md) - PlantUML package decorators test case * [t30005](./test_cases/t30005.md) - Package namespace alias test case * [t30006](./test_cases/t30006.md) - Package split namespace test case + * [t30007](./test_cases/t30007.md) - Package diagram layout hints test case ## Configuration diagrams * [t90000](./test_cases/t90000.md) - Basic config test diff --git a/docs/test_cases/t00006.md b/docs/test_cases/t00006.md index 7e7ade96..44b3d036 100644 --- a/docs/test_cases/t00006.md +++ b/docs/test_cases/t00006.md @@ -18,6 +18,7 @@ diagrams: ## Source code File t00006.cc ```cpp +#include #include #include diff --git a/docs/test_cases/t00017.md b/docs/test_cases/t00017.md index 503dacac..b673c436 100644 --- a/docs/test_cases/t00017.md +++ b/docs/test_cases/t00017.md @@ -19,6 +19,8 @@ diagrams: ## Source code File t00017.cc ```cpp +#include + namespace clanguml { namespace t00017 { class A { @@ -55,6 +57,15 @@ class K { }; class R { + explicit R(int &some_int, C &cc, const E &ee, F &&ff, I *&ii) + : some_int_reference{some_int} + , c{cc} + , e{ee} + , f{std::move(ff)} + , i{ii} + { + } + private: int some_int; int *some_int_pointer; @@ -64,7 +75,7 @@ private: B *b; C &c; const D *d; - const E &e{}; + const E &e; F &&f; G **g; H ***h; diff --git a/docs/test_cases/t00017_class.png b/docs/test_cases/t00017_class.png index cea9349a..b1cfc0a8 100644 Binary files a/docs/test_cases/t00017_class.png and b/docs/test_cases/t00017_class.png differ diff --git a/docs/test_cases/t00028.md b/docs/test_cases/t00028.md index 6dc6a928..b5300352 100644 --- a/docs/test_cases/t00028.md +++ b/docs/test_cases/t00028.md @@ -59,6 +59,11 @@ enum class F { one, two, three }; /// \uml{note[right] R class note.} class R { + explicit R(C &c) + : ccc(c) + { + } + A aaa; B *bbb; diff --git a/docs/test_cases/t00028_class.png b/docs/test_cases/t00028_class.png index b0fc2c7b..d11d4e73 100644 Binary files a/docs/test_cases/t00028_class.png and b/docs/test_cases/t00028_class.png differ diff --git a/tests/test_cases.yaml b/tests/test_cases.yaml index 7c3bdf30..399dd654 100644 --- a/tests/test_cases.yaml +++ b/tests/test_cases.yaml @@ -125,6 +125,9 @@ test_cases: - name: t30006 title: Package split namespace test case description: + - name: t30007 + title: Package diagram layout hints test case + description: Configuration diagrams: - name: t90000 title: Basic config test