Skip to content

Commit

Permalink
Add test for #22
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultmarin committed Apr 12, 2022
1 parent d53292f commit 4c88c77
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/source/org-doc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2631,6 +2631,10 @@ The following can be extended to improve testing, as long as the corresponding
class A : public Class02 {};
}

namespace first_ns::second_ns::third_ns{
class B {};
}

.. _sec-test-system-ref:

Reference output
Expand Down Expand Up @@ -2718,6 +2722,11 @@ The comparison takes into account the white space, indentation, etc.
namespace second_ns {
class A {
}

namespace third_ns {
class B {
}
}
}
}

Expand Down Expand Up @@ -2906,6 +2915,11 @@ The comparison takes into account the white space, indentation, etc.
namespace second_ns {
class A {
}

namespace third_ns {
class B {
}
}
}
}

Expand Down
14 changes: 14 additions & 0 deletions hpp2plantuml.org
Original file line number Diff line number Diff line change
Expand Up @@ -2566,6 +2566,10 @@ union {
namespace first_ns::second_ns{
class A : public Class02 {};
}

namespace first_ns::second_ns::third_ns{
class B {};
}
#+END_SRC


Expand Down Expand Up @@ -2654,6 +2658,11 @@ namespace first_ns {
namespace second_ns {
class A {
}

namespace third_ns {
class B {
}
}
}
}

Expand Down Expand Up @@ -2841,6 +2850,11 @@ namespace first_ns {
namespace second_ns {
class A {
}

namespace third_ns {
class B {
}
}
}
}

Expand Down
5 changes: 5 additions & 0 deletions tests/simple_classes.puml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ namespace first_ns {
namespace second_ns {
class A {
}

namespace third_ns {
class B {
}
}
}
}

Expand Down
4 changes: 4 additions & 0 deletions tests/simple_classes_3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,7 @@ union {
namespace first_ns::second_ns{
class A : public Class02 {};
}

namespace first_ns::second_ns::third_ns{
class B {};
}
5 changes: 5 additions & 0 deletions tests/simple_classes_nodep.puml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ namespace first_ns {
namespace second_ns {
class A {
}

namespace third_ns {
class B {
}
}
}
}

Expand Down

0 comments on commit 4c88c77

Please sign in to comment.