Updated test case docs

This commit is contained in:
Bartek Kryza
2021-05-03 20:33:23 +02:00
parent 2cba92fe48
commit b45843f9d3
19 changed files with 48 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
* [t00013](./test_cases/t00013.md) - Template instantiation relationships * [t00013](./test_cases/t00013.md) - Template instantiation relationships
* [t00014](./test_cases/t00014.md) - Alias template instantiation * [t00014](./test_cases/t00014.md) - Alias template instantiation
* [t00015](./test_cases/t00015.md) - Namespace fun * [t00015](./test_cases/t00015.md) - Namespace fun
* [t00016](./test_cases/t00016.md) - Unnamed enums and empty templates
## Sequence diagrams ## Sequence diagrams
* [t20001](./test_cases/t20001.md) - Basic sequence diagram * [t20001](./test_cases/t20001.md) - Basic sequence diagram
## Configuration diagrams ## Configuration diagrams

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

47
docs/test_cases/t00016.md Normal file
View File

@@ -0,0 +1,47 @@
# t00016 - Unnamed enums and empty templates
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
t00016_class:
type: class
glob:
- ../../tests/t00016/t00016.cc
using_namespace:
- clanguml::t00016
include:
namespaces:
- clanguml::t00016
```
## Source code
```cpp
namespace clanguml {
namespace t00016 {
template <typename> struct is_numeric {
enum { value = false };
};
template <> struct is_numeric<char> {
enum { value = true };
};
template <> struct is_numeric<unsigned char> {
enum { value = true };
};
template <> struct is_numeric<int> {
enum { value = true };
};
template <> struct is_numeric<bool> {
enum { value = false };
};
}
}
```
## Generated UML diagrams
![t00016_class](./t00016_class.png "Unnamed enums and empty templates")

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB