Updated test cases documentation
@@ -42,5 +42,6 @@
|
|||||||
* [t30003](./test_cases/t30003.md) - Package deprecated attribute test case
|
* [t30003](./test_cases/t30003.md) - Package deprecated attribute test case
|
||||||
* [t30004](./test_cases/t30004.md) - PlantUML package decorators test case
|
* [t30004](./test_cases/t30004.md) - PlantUML package decorators test case
|
||||||
* [t30005](./test_cases/t30005.md) - Package namespace alias test case
|
* [t30005](./test_cases/t30005.md) - Package namespace alias test case
|
||||||
|
* [t30006](./test_cases/t30006.md) - Package split namespace test case
|
||||||
## Configuration diagrams
|
## Configuration diagrams
|
||||||
* [t90000](./test_cases/t90000.md) - Basic config test
|
* [t90000](./test_cases/t90000.md) - Basic config test
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
@@ -48,6 +48,10 @@ namespace DDD {
|
|||||||
/// \uml{note[top] We skipped DDD.}
|
/// \uml{note[top] We skipped DDD.}
|
||||||
namespace EEE {
|
namespace EEE {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// \uml{note[top] Another CCC note.}
|
||||||
|
namespace CCC {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
54
docs/test_cases/t30006.md
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
# t30006 - Package split namespace test case
|
||||||
|
## Config
|
||||||
|
```yaml
|
||||||
|
compilation_database_dir: ..
|
||||||
|
output_directory: puml
|
||||||
|
diagrams:
|
||||||
|
t30006_package:
|
||||||
|
type: package
|
||||||
|
glob:
|
||||||
|
- ../../tests/t30006/t30006.cc
|
||||||
|
include:
|
||||||
|
namespaces:
|
||||||
|
- clanguml::t30006
|
||||||
|
using_namespace:
|
||||||
|
- clanguml::t30006
|
||||||
|
plantuml:
|
||||||
|
before:
|
||||||
|
- "' t30006 test package diagram"
|
||||||
|
```
|
||||||
|
## Source code
|
||||||
|
File t30006.cc
|
||||||
|
```cpp
|
||||||
|
namespace clanguml {
|
||||||
|
namespace t30006 {
|
||||||
|
|
||||||
|
namespace B {
|
||||||
|
struct BB {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
/// \uml{note[top] Top A note.}
|
||||||
|
namespace A {
|
||||||
|
struct A1 {
|
||||||
|
B::BB *b;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace C {
|
||||||
|
struct CC {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
/// \uml{note[bottom] Bottom A note.}
|
||||||
|
namespace A {
|
||||||
|
struct A2 {
|
||||||
|
C::CC *c;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
## Generated UML diagrams
|
||||||
|

|
||||||
BIN
docs/test_cases/t30006_package.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
@@ -122,6 +122,9 @@ test_cases:
|
|||||||
- name: t30005
|
- name: t30005
|
||||||
title: Package namespace alias test case
|
title: Package namespace alias test case
|
||||||
description:
|
description:
|
||||||
|
- name: t30006
|
||||||
|
title: Package split namespace test case
|
||||||
|
description:
|
||||||
Configuration diagrams:
|
Configuration diagrams:
|
||||||
- name: t90000
|
- name: t90000
|
||||||
title: Basic config test
|
title: Basic config test
|
||||||
|
|||||||