Updated test cases documentation

This commit is contained in:
Bartek Kryza
2021-08-07 21:03:55 +02:00
parent 76dc761538
commit 668a7a0d9d
6 changed files with 53 additions and 0 deletions

View File

@@ -31,6 +31,7 @@
* [t00030](./test_cases/t00030.md) - PlantUML relationship decorators test case
* [t00031](./test_cases/t00031.md) - PlantUML style decorator test case
* [t00032](./test_cases/t00032.md) - Class template with template base classes test case
* [t00033](./test_cases/t00033.md) - Nested template instantiation dependency test case
## Sequence diagrams
* [t20001](./test_cases/t20001.md) - Basic sequence diagram
## Configuration diagrams

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 25 KiB

52
docs/test_cases/t00033.md Normal file
View File

@@ -0,0 +1,52 @@
# t00033 - Nested template instantiation dependency test case
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
t00033_class:
type: class
glob:
- ../../tests/t00033/t00033.cc
using_namespace:
- clanguml::t00033
include:
namespaces:
- clanguml::t00033
```
## Source code
File t00033.cc
```cpp
#include <memory>
#include <vector>
namespace clanguml {
namespace t00033 {
template <typename T> struct A {
T aaa;
};
template <typename T> struct B {
T bbb;
};
template <typename T> struct C {
T ccc;
};
struct D {
int ddd;
};
struct R {
A<B<C<D>>> abc;
};
} // namespace t00033
} // namespace clanguml
```
## Generated UML diagrams
![t00033_class](./t00033_class.png "Nested template instantiation dependency test case")

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB