diff --git a/Makefile b/Makefile
index 86f84643..3dc88576 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ test: debug
CTEST_OUTPUT_ON_FAILURE=1 make -C debug test
test_plantuml: test
- plantuml debug/tests/puml/*.puml
+ plantuml -tsvg debug/tests/puml/*.puml
document_test_cases: test_plantuml
python3 util/generate_test_cases_docs.py
@@ -59,7 +59,7 @@ document_test_cases: test_plantuml
clanguml_diagrams: debug
mkdir -p docs/diagrams
debug/clang-uml
- plantuml docs/diagrams/*.puml
+ plantuml -tsvg docs/diagrams/*.puml
.PHONY: submodules
submodules:
diff --git a/docs/test_cases/t00002.md b/docs/test_cases/t00002.md
index 1e3b2ca5..e432037e 100644
--- a/docs/test_cases/t00002.md
+++ b/docs/test_cases/t00002.md
@@ -87,4 +87,4 @@ private:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00002_class.png b/docs/test_cases/t00002_class.png
deleted file mode 100644
index 606887e9..00000000
Binary files a/docs/test_cases/t00002_class.png and /dev/null differ
diff --git a/docs/test_cases/t00002_class.svg b/docs/test_cases/t00002_class.svg
new file mode 100644
index 00000000..e9b79297
--- /dev/null
+++ b/docs/test_cases/t00002_class.svg
@@ -0,0 +1,66 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00003.md b/docs/test_cases/t00003.md
index 299fb8b1..b2f6ae96 100644
--- a/docs/test_cases/t00003.md
+++ b/docs/test_cases/t00003.md
@@ -78,4 +78,4 @@ int A::static_int = 1;
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00003_class.png b/docs/test_cases/t00003_class.png
deleted file mode 100644
index 38c4884d..00000000
Binary files a/docs/test_cases/t00003_class.png and /dev/null differ
diff --git a/docs/test_cases/t00003_class.svg b/docs/test_cases/t00003_class.svg
new file mode 100644
index 00000000..b5d5c73f
--- /dev/null
+++ b/docs/test_cases/t00003_class.svg
@@ -0,0 +1,45 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00004.md b/docs/test_cases/t00004.md
index a6f84008..1dafde55 100644
--- a/docs/test_cases/t00004.md
+++ b/docs/test_cases/t00004.md
@@ -42,4 +42,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00004_class.png b/docs/test_cases/t00004_class.png
deleted file mode 100644
index 30e724f2..00000000
Binary files a/docs/test_cases/t00004_class.png and /dev/null differ
diff --git a/docs/test_cases/t00004_class.svg b/docs/test_cases/t00004_class.svg
new file mode 100644
index 00000000..d57a355a
--- /dev/null
+++ b/docs/test_cases/t00004_class.svg
@@ -0,0 +1,45 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00005.md b/docs/test_cases/t00005.md
index 503e8fd1..2284549b 100644
--- a/docs/test_cases/t00005.md
+++ b/docs/test_cases/t00005.md
@@ -76,4 +76,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00005_class.png b/docs/test_cases/t00005_class.png
deleted file mode 100644
index d094d44a..00000000
Binary files a/docs/test_cases/t00005_class.png and /dev/null differ
diff --git a/docs/test_cases/t00005_class.svg b/docs/test_cases/t00005_class.svg
new file mode 100644
index 00000000..1b20997b
--- /dev/null
+++ b/docs/test_cases/t00005_class.svg
@@ -0,0 +1,111 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00006.md b/docs/test_cases/t00006.md
index 44b3d036..5ac6649e 100644
--- a/docs/test_cases/t00006.md
+++ b/docs/test_cases/t00006.md
@@ -105,4 +105,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00006_class.png b/docs/test_cases/t00006_class.png
deleted file mode 100644
index 391163f0..00000000
Binary files a/docs/test_cases/t00006_class.png and /dev/null differ
diff --git a/docs/test_cases/t00006_class.svg b/docs/test_cases/t00006_class.svg
new file mode 100644
index 00000000..86934139
--- /dev/null
+++ b/docs/test_cases/t00006_class.svg
@@ -0,0 +1,159 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00007.md b/docs/test_cases/t00007.md
index a7814755..e20572eb 100644
--- a/docs/test_cases/t00007.md
+++ b/docs/test_cases/t00007.md
@@ -42,4 +42,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00007_class.png b/docs/test_cases/t00007_class.png
deleted file mode 100644
index 6db091fc..00000000
Binary files a/docs/test_cases/t00007_class.png and /dev/null differ
diff --git a/docs/test_cases/t00007_class.svg b/docs/test_cases/t00007_class.svg
new file mode 100644
index 00000000..9c25164c
--- /dev/null
+++ b/docs/test_cases/t00007_class.svg
@@ -0,0 +1,43 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00008.md b/docs/test_cases/t00008.md
index 3c998e8b..4e0ef0c4 100644
--- a/docs/test_cases/t00008.md
+++ b/docs/test_cases/t00008.md
@@ -55,4 +55,4 @@ struct D {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00008_class.png b/docs/test_cases/t00008_class.png
deleted file mode 100644
index 508d6029..00000000
Binary files a/docs/test_cases/t00008_class.png and /dev/null differ
diff --git a/docs/test_cases/t00008_class.svg b/docs/test_cases/t00008_class.svg
new file mode 100644
index 00000000..c0ac8f70
--- /dev/null
+++ b/docs/test_cases/t00008_class.svg
@@ -0,0 +1,53 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00009.md b/docs/test_cases/t00009.md
index 478b5928..b413a49b 100644
--- a/docs/test_cases/t00009.md
+++ b/docs/test_cases/t00009.md
@@ -40,4 +40,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00009_class.png b/docs/test_cases/t00009_class.png
deleted file mode 100644
index be6770b5..00000000
Binary files a/docs/test_cases/t00009_class.png and /dev/null differ
diff --git a/docs/test_cases/t00009_class.svg b/docs/test_cases/t00009_class.svg
new file mode 100644
index 00000000..ef212070
--- /dev/null
+++ b/docs/test_cases/t00009_class.svg
@@ -0,0 +1,55 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00010.md b/docs/test_cases/t00010.md
index dca10221..03f38f1c 100644
--- a/docs/test_cases/t00010.md
+++ b/docs/test_cases/t00010.md
@@ -44,4 +44,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00010_class.png b/docs/test_cases/t00010_class.png
deleted file mode 100644
index 064e0abf..00000000
Binary files a/docs/test_cases/t00010_class.png and /dev/null differ
diff --git a/docs/test_cases/t00010_class.svg b/docs/test_cases/t00010_class.svg
new file mode 100644
index 00000000..0747652c
--- /dev/null
+++ b/docs/test_cases/t00010_class.svg
@@ -0,0 +1,51 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00011.md b/docs/test_cases/t00011.md
index 35ce8de0..a12358c1 100644
--- a/docs/test_cases/t00011.md
+++ b/docs/test_cases/t00011.md
@@ -54,4 +54,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00011_class.png b/docs/test_cases/t00011_class.png
deleted file mode 100644
index a3350b01..00000000
Binary files a/docs/test_cases/t00011_class.png and /dev/null differ
diff --git a/docs/test_cases/t00011_class.svg b/docs/test_cases/t00011_class.svg
new file mode 100644
index 00000000..0fa293b2
--- /dev/null
+++ b/docs/test_cases/t00011_class.svg
@@ -0,0 +1,38 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00012.md b/docs/test_cases/t00012.md
index 597f05fe..7bd60b59 100644
--- a/docs/test_cases/t00012.md
+++ b/docs/test_cases/t00012.md
@@ -60,4 +60,4 @@ class R {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00012_class.png b/docs/test_cases/t00012_class.png
deleted file mode 100644
index 4a20b22f..00000000
Binary files a/docs/test_cases/t00012_class.png and /dev/null differ
diff --git a/docs/test_cases/t00012_class.svg b/docs/test_cases/t00012_class.svg
new file mode 100644
index 00000000..2e3b7f45
--- /dev/null
+++ b/docs/test_cases/t00012_class.svg
@@ -0,0 +1,89 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00013.md b/docs/test_cases/t00013.md
index c3bc0857..bac2230a 100644
--- a/docs/test_cases/t00013.md
+++ b/docs/test_cases/t00013.md
@@ -81,4 +81,4 @@ private:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00013_class.png b/docs/test_cases/t00013_class.png
deleted file mode 100644
index 234e7008..00000000
Binary files a/docs/test_cases/t00013_class.png and /dev/null differ
diff --git a/docs/test_cases/t00013_class.svg b/docs/test_cases/t00013_class.svg
new file mode 100644
index 00000000..32067de8
--- /dev/null
+++ b/docs/test_cases/t00013_class.svg
@@ -0,0 +1,109 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00014.md b/docs/test_cases/t00014.md
index e747bacd..4fb6d9be 100644
--- a/docs/test_cases/t00014.md
+++ b/docs/test_cases/t00014.md
@@ -86,4 +86,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00014_class.png b/docs/test_cases/t00014_class.png
deleted file mode 100644
index 1cacbd21..00000000
Binary files a/docs/test_cases/t00014_class.png and /dev/null differ
diff --git a/docs/test_cases/t00014_class.svg b/docs/test_cases/t00014_class.svg
new file mode 100644
index 00000000..c1663dae
--- /dev/null
+++ b/docs/test_cases/t00014_class.svg
@@ -0,0 +1,101 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00015.md b/docs/test_cases/t00015.md
index 47c773ba..5c01e5ad 100644
--- a/docs/test_cases/t00015.md
+++ b/docs/test_cases/t00015.md
@@ -53,4 +53,4 @@ class B : public ns1::ns2::Anon {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00015_class.png b/docs/test_cases/t00015_class.png
deleted file mode 100644
index b1db060f..00000000
Binary files a/docs/test_cases/t00015_class.png and /dev/null differ
diff --git a/docs/test_cases/t00015_class.svg b/docs/test_cases/t00015_class.svg
new file mode 100644
index 00000000..20121288
--- /dev/null
+++ b/docs/test_cases/t00015_class.svg
@@ -0,0 +1,42 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00016.md b/docs/test_cases/t00016.md
index 10ceefc7..ede95857 100644
--- a/docs/test_cases/t00016.md
+++ b/docs/test_cases/t00016.md
@@ -45,4 +45,4 @@ template <> struct is_numeric {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00016_class.png b/docs/test_cases/t00016_class.png
deleted file mode 100644
index ad5cc26f..00000000
Binary files a/docs/test_cases/t00016_class.png and /dev/null differ
diff --git a/docs/test_cases/t00016_class.svg b/docs/test_cases/t00016_class.svg
new file mode 100644
index 00000000..493a6979
--- /dev/null
+++ b/docs/test_cases/t00016_class.svg
@@ -0,0 +1,52 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00017.md b/docs/test_cases/t00017.md
index b673c436..3b71f8f8 100644
--- a/docs/test_cases/t00017.md
+++ b/docs/test_cases/t00017.md
@@ -88,4 +88,4 @@ private:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00017_class.png b/docs/test_cases/t00017_class.png
deleted file mode 100644
index 0c3b9319..00000000
Binary files a/docs/test_cases/t00017_class.png and /dev/null differ
diff --git a/docs/test_cases/t00017_class.svg b/docs/test_cases/t00017_class.svg
new file mode 100644
index 00000000..9729c67d
--- /dev/null
+++ b/docs/test_cases/t00017_class.svg
@@ -0,0 +1,109 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00018.md b/docs/test_cases/t00018.md
index 760615a8..b6cd8197 100644
--- a/docs/test_cases/t00018.md
+++ b/docs/test_cases/t00018.md
@@ -133,4 +133,4 @@ void widget::draw(const clanguml::t00018::widget &w)
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00018_class.png b/docs/test_cases/t00018_class.png
deleted file mode 100644
index 0ff85809..00000000
Binary files a/docs/test_cases/t00018_class.png and /dev/null differ
diff --git a/docs/test_cases/t00018_class.svg b/docs/test_cases/t00018_class.svg
new file mode 100644
index 00000000..72c77c4f
--- /dev/null
+++ b/docs/test_cases/t00018_class.svg
@@ -0,0 +1,42 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00019.md b/docs/test_cases/t00019.md
index 9bd7c2b1..4f51ff13 100644
--- a/docs/test_cases/t00019.md
+++ b/docs/test_cases/t00019.md
@@ -152,4 +152,4 @@ private:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00019_class.png b/docs/test_cases/t00019_class.png
deleted file mode 100644
index 2ae951a9..00000000
Binary files a/docs/test_cases/t00019_class.png and /dev/null differ
diff --git a/docs/test_cases/t00019_class.svg b/docs/test_cases/t00019_class.svg
new file mode 100644
index 00000000..df7cc06e
--- /dev/null
+++ b/docs/test_cases/t00019_class.svg
@@ -0,0 +1,88 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00020.md b/docs/test_cases/t00020.md
index 7f0eb992..c5e36555 100644
--- a/docs/test_cases/t00020.md
+++ b/docs/test_cases/t00020.md
@@ -97,4 +97,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00020_class.png b/docs/test_cases/t00020_class.png
deleted file mode 100644
index 6ec07dd2..00000000
Binary files a/docs/test_cases/t00020_class.png and /dev/null differ
diff --git a/docs/test_cases/t00020_class.svg b/docs/test_cases/t00020_class.svg
new file mode 100644
index 00000000..1da90c09
--- /dev/null
+++ b/docs/test_cases/t00020_class.svg
@@ -0,0 +1,93 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00021.md b/docs/test_cases/t00021.md
index 2218a661..b52976af 100644
--- a/docs/test_cases/t00021.md
+++ b/docs/test_cases/t00021.md
@@ -71,4 +71,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00021_class.png b/docs/test_cases/t00021_class.png
deleted file mode 100644
index 046b3d28..00000000
Binary files a/docs/test_cases/t00021_class.png and /dev/null differ
diff --git a/docs/test_cases/t00021_class.svg b/docs/test_cases/t00021_class.svg
new file mode 100644
index 00000000..1f629d47
--- /dev/null
+++ b/docs/test_cases/t00021_class.svg
@@ -0,0 +1,94 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00022.md b/docs/test_cases/t00022.md
index 15da0671..0dea7862 100644
--- a/docs/test_cases/t00022.md
+++ b/docs/test_cases/t00022.md
@@ -52,4 +52,4 @@ protected:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00022_class.png b/docs/test_cases/t00022_class.png
deleted file mode 100644
index a549aa9c..00000000
Binary files a/docs/test_cases/t00022_class.png and /dev/null differ
diff --git a/docs/test_cases/t00022_class.svg b/docs/test_cases/t00022_class.svg
new file mode 100644
index 00000000..5873724d
--- /dev/null
+++ b/docs/test_cases/t00022_class.svg
@@ -0,0 +1,40 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00023.md b/docs/test_cases/t00023.md
index 606e7aa5..69f5d386 100644
--- a/docs/test_cases/t00023.md
+++ b/docs/test_cases/t00023.md
@@ -61,4 +61,4 @@ private:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00023_class.png b/docs/test_cases/t00023_class.png
deleted file mode 100644
index f72e5e6f..00000000
Binary files a/docs/test_cases/t00023_class.png and /dev/null differ
diff --git a/docs/test_cases/t00023_class.svg b/docs/test_cases/t00023_class.svg
new file mode 100644
index 00000000..d02daa66
--- /dev/null
+++ b/docs/test_cases/t00023_class.svg
@@ -0,0 +1,57 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00024.md b/docs/test_cases/t00024.md
index 9d2b1248..869c08d9 100644
--- a/docs/test_cases/t00024.md
+++ b/docs/test_cases/t00024.md
@@ -60,4 +60,4 @@ private:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00024_class.png b/docs/test_cases/t00024_class.png
deleted file mode 100644
index e0f4592a..00000000
Binary files a/docs/test_cases/t00024_class.png and /dev/null differ
diff --git a/docs/test_cases/t00024_class.svg b/docs/test_cases/t00024_class.svg
new file mode 100644
index 00000000..fd27387a
--- /dev/null
+++ b/docs/test_cases/t00024_class.svg
@@ -0,0 +1,55 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00025.md b/docs/test_cases/t00025.md
index de475cf1..abf16eed 100644
--- a/docs/test_cases/t00025.md
+++ b/docs/test_cases/t00025.md
@@ -58,4 +58,4 @@ public:
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00025_class.png b/docs/test_cases/t00025_class.png
deleted file mode 100644
index 912b9393..00000000
Binary files a/docs/test_cases/t00025_class.png and /dev/null differ
diff --git a/docs/test_cases/t00025_class.svg b/docs/test_cases/t00025_class.svg
new file mode 100644
index 00000000..46cc96aa
--- /dev/null
+++ b/docs/test_cases/t00025_class.svg
@@ -0,0 +1,66 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00026.md b/docs/test_cases/t00026.md
index f0012b02..3b31e67f 100644
--- a/docs/test_cases/t00026.md
+++ b/docs/test_cases/t00026.md
@@ -79,4 +79,4 @@ struct StringMemento {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00026_class.png b/docs/test_cases/t00026_class.png
deleted file mode 100644
index 8a368706..00000000
Binary files a/docs/test_cases/t00026_class.png and /dev/null differ
diff --git a/docs/test_cases/t00026_class.svg b/docs/test_cases/t00026_class.svg
new file mode 100644
index 00000000..ea464872
--- /dev/null
+++ b/docs/test_cases/t00026_class.svg
@@ -0,0 +1,72 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00027.md b/docs/test_cases/t00027.md
index 7b9c36a9..2c2bb38c 100644
--- a/docs/test_cases/t00027.md
+++ b/docs/test_cases/t00027.md
@@ -76,4 +76,4 @@ struct Window {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00027_class.png b/docs/test_cases/t00027_class.png
deleted file mode 100644
index 63d68bde..00000000
Binary files a/docs/test_cases/t00027_class.png and /dev/null differ
diff --git a/docs/test_cases/t00027_class.svg b/docs/test_cases/t00027_class.svg
new file mode 100644
index 00000000..2543f808
--- /dev/null
+++ b/docs/test_cases/t00027_class.svg
@@ -0,0 +1,104 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00028.md b/docs/test_cases/t00028.md
index b5300352..552e253d 100644
--- a/docs/test_cases/t00028.md
+++ b/docs/test_cases/t00028.md
@@ -82,4 +82,4 @@ class R {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00028_class.png b/docs/test_cases/t00028_class.png
deleted file mode 100644
index 00159de8..00000000
Binary files a/docs/test_cases/t00028_class.png and /dev/null differ
diff --git a/docs/test_cases/t00028_class.svg b/docs/test_cases/t00028_class.svg
new file mode 100644
index 00000000..5c0eb476
--- /dev/null
+++ b/docs/test_cases/t00028_class.svg
@@ -0,0 +1,132 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00029.md b/docs/test_cases/t00029.md
index e3bc3974..0a30ae14 100644
--- a/docs/test_cases/t00029.md
+++ b/docs/test_cases/t00029.md
@@ -74,4 +74,4 @@ struct R {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00029_class.png b/docs/test_cases/t00029_class.png
deleted file mode 100644
index 3f177d7a..00000000
Binary files a/docs/test_cases/t00029_class.png and /dev/null differ
diff --git a/docs/test_cases/t00029_class.svg b/docs/test_cases/t00029_class.svg
new file mode 100644
index 00000000..25d2a42d
--- /dev/null
+++ b/docs/test_cases/t00029_class.svg
@@ -0,0 +1,69 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00030.md b/docs/test_cases/t00030.md
index d8634e82..46b3717c 100644
--- a/docs/test_cases/t00030.md
+++ b/docs/test_cases/t00030.md
@@ -55,4 +55,4 @@ struct R {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00030_class.png b/docs/test_cases/t00030_class.png
deleted file mode 100644
index 366010e9..00000000
Binary files a/docs/test_cases/t00030_class.png and /dev/null differ
diff --git a/docs/test_cases/t00030_class.svg b/docs/test_cases/t00030_class.svg
new file mode 100644
index 00000000..976a41e6
--- /dev/null
+++ b/docs/test_cases/t00030_class.svg
@@ -0,0 +1,51 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00031.md b/docs/test_cases/t00031.md
index 6bbd1027..a2d138d3 100644
--- a/docs/test_cases/t00031.md
+++ b/docs/test_cases/t00031.md
@@ -59,4 +59,4 @@ struct R {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00031_class.png b/docs/test_cases/t00031_class.png
deleted file mode 100644
index 0884451b..00000000
Binary files a/docs/test_cases/t00031_class.png and /dev/null differ
diff --git a/docs/test_cases/t00031_class.svg b/docs/test_cases/t00031_class.svg
new file mode 100644
index 00000000..3909606d
--- /dev/null
+++ b/docs/test_cases/t00031_class.svg
@@ -0,0 +1,62 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00032.md b/docs/test_cases/t00032.md
index 839b10c7..d0e3c147 100644
--- a/docs/test_cases/t00032.md
+++ b/docs/test_cases/t00032.md
@@ -59,4 +59,4 @@ struct R {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00032_class.png b/docs/test_cases/t00032_class.png
deleted file mode 100644
index f985cf2b..00000000
Binary files a/docs/test_cases/t00032_class.png and /dev/null differ
diff --git a/docs/test_cases/t00032_class.svg b/docs/test_cases/t00032_class.svg
new file mode 100644
index 00000000..583ad19e
--- /dev/null
+++ b/docs/test_cases/t00032_class.svg
@@ -0,0 +1,81 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00033.md b/docs/test_cases/t00033.md
index e1c0d073..800398db 100644
--- a/docs/test_cases/t00033.md
+++ b/docs/test_cases/t00033.md
@@ -49,4 +49,4 @@ struct R {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00033_class.png b/docs/test_cases/t00033_class.png
deleted file mode 100644
index 2ede2d79..00000000
Binary files a/docs/test_cases/t00033_class.png and /dev/null differ
diff --git a/docs/test_cases/t00033_class.svg b/docs/test_cases/t00033_class.svg
new file mode 100644
index 00000000..302f6c6d
--- /dev/null
+++ b/docs/test_cases/t00033_class.svg
@@ -0,0 +1,73 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00034.md b/docs/test_cases/t00034.md
index f84c3888..1583a524 100644
--- a/docs/test_cases/t00034.md
+++ b/docs/test_cases/t00034.md
@@ -76,4 +76,4 @@ struct R {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00034_class.png b/docs/test_cases/t00034_class.png
deleted file mode 100644
index bd8616ae..00000000
Binary files a/docs/test_cases/t00034_class.png and /dev/null differ
diff --git a/docs/test_cases/t00034_class.svg b/docs/test_cases/t00034_class.svg
new file mode 100644
index 00000000..bd902f1a
--- /dev/null
+++ b/docs/test_cases/t00034_class.svg
@@ -0,0 +1,59 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00035.md b/docs/test_cases/t00035.md
index e803b114..ccb636bc 100644
--- a/docs/test_cases/t00035.md
+++ b/docs/test_cases/t00035.md
@@ -47,4 +47,4 @@ struct Right {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00035_class.png b/docs/test_cases/t00035_class.png
deleted file mode 100644
index b172e543..00000000
Binary files a/docs/test_cases/t00035_class.png and /dev/null differ
diff --git a/docs/test_cases/t00035_class.svg b/docs/test_cases/t00035_class.svg
new file mode 100644
index 00000000..a61b7500
--- /dev/null
+++ b/docs/test_cases/t00035_class.svg
@@ -0,0 +1,47 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t00036.md b/docs/test_cases/t00036.md
index 6a9947ce..9d8250b1 100644
--- a/docs/test_cases/t00036.md
+++ b/docs/test_cases/t00036.md
@@ -54,4 +54,4 @@ struct C;
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t00036_class.png b/docs/test_cases/t00036_class.png
deleted file mode 100644
index 8f95c3c8..00000000
Binary files a/docs/test_cases/t00036_class.png and /dev/null differ
diff --git a/docs/test_cases/t00036_class.svg b/docs/test_cases/t00036_class.svg
new file mode 100644
index 00000000..cab52ab5
--- /dev/null
+++ b/docs/test_cases/t00036_class.svg
@@ -0,0 +1,59 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t20001.md b/docs/test_cases/t20001.md
index 2fc889bd..0a522af6 100644
--- a/docs/test_cases/t20001.md
+++ b/docs/test_cases/t20001.md
@@ -101,4 +101,4 @@ int tmain()
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t20001_sequence.png b/docs/test_cases/t20001_sequence.png
deleted file mode 100644
index e9595008..00000000
Binary files a/docs/test_cases/t20001_sequence.png and /dev/null differ
diff --git a/docs/test_cases/t20001_sequence.svg b/docs/test_cases/t20001_sequence.svg
new file mode 100644
index 00000000..8253e215
--- /dev/null
+++ b/docs/test_cases/t20001_sequence.svg
@@ -0,0 +1,32 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t20002.md b/docs/test_cases/t20002.md
index 6dcda520..65f8c51e 100644
--- a/docs/test_cases/t20002.md
+++ b/docs/test_cases/t20002.md
@@ -39,4 +39,4 @@ void m1() { m2(); }
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t20002_sequence.png b/docs/test_cases/t20002_sequence.png
deleted file mode 100644
index cc5f2e5d..00000000
Binary files a/docs/test_cases/t20002_sequence.png and /dev/null differ
diff --git a/docs/test_cases/t20002_sequence.svg b/docs/test_cases/t20002_sequence.svg
new file mode 100644
index 00000000..e316b7f8
--- /dev/null
+++ b/docs/test_cases/t20002_sequence.svg
@@ -0,0 +1,23 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t30001.md b/docs/test_cases/t30001.md
index 87bf01a4..929c72f6 100644
--- a/docs/test_cases/t30001.md
+++ b/docs/test_cases/t30001.md
@@ -52,4 +52,4 @@ namespace BB {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t30001_package.png b/docs/test_cases/t30001_package.png
deleted file mode 100644
index 31b48ded..00000000
Binary files a/docs/test_cases/t30001_package.png and /dev/null differ
diff --git a/docs/test_cases/t30001_package.svg b/docs/test_cases/t30001_package.svg
new file mode 100644
index 00000000..0c8ff2b3
--- /dev/null
+++ b/docs/test_cases/t30001_package.svg
@@ -0,0 +1,44 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t30002.md b/docs/test_cases/t30002.md
index 74bf0e6c..79f6a15f 100644
--- a/docs/test_cases/t30002.md
+++ b/docs/test_cases/t30002.md
@@ -124,4 +124,4 @@ template std::map> cm()
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t30002_package.png b/docs/test_cases/t30002_package.png
deleted file mode 100644
index d5fc7e57..00000000
Binary files a/docs/test_cases/t30002_package.png and /dev/null differ
diff --git a/docs/test_cases/t30002_package.svg b/docs/test_cases/t30002_package.svg
new file mode 100644
index 00000000..0d93ba2b
--- /dev/null
+++ b/docs/test_cases/t30002_package.svg
@@ -0,0 +1,84 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t30003.md b/docs/test_cases/t30003.md
index 6503e30e..66d81934 100644
--- a/docs/test_cases/t30003.md
+++ b/docs/test_cases/t30003.md
@@ -54,4 +54,4 @@ class B : public ns1::ns2::Anon {
}
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t30003_package.png b/docs/test_cases/t30003_package.png
deleted file mode 100644
index 35b17732..00000000
Binary files a/docs/test_cases/t30003_package.png and /dev/null differ
diff --git a/docs/test_cases/t30003_package.svg b/docs/test_cases/t30003_package.svg
new file mode 100644
index 00000000..d76032cf
--- /dev/null
+++ b/docs/test_cases/t30003_package.svg
@@ -0,0 +1,35 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t30004.md b/docs/test_cases/t30004.md
index a4d84685..df36dab7 100644
--- a/docs/test_cases/t30004.md
+++ b/docs/test_cases/t30004.md
@@ -57,4 +57,4 @@ namespace CCC {
}
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t30004_package.png b/docs/test_cases/t30004_package.png
deleted file mode 100644
index 3c55a308..00000000
Binary files a/docs/test_cases/t30004_package.png and /dev/null differ
diff --git a/docs/test_cases/t30004_package.svg b/docs/test_cases/t30004_package.svg
new file mode 100644
index 00000000..9ba5ea69
--- /dev/null
+++ b/docs/test_cases/t30004_package.svg
@@ -0,0 +1,47 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t30005.md b/docs/test_cases/t30005.md
index 61b41d4e..1c9e5d32 100644
--- a/docs/test_cases/t30005.md
+++ b/docs/test_cases/t30005.md
@@ -50,4 +50,4 @@ struct C2 {
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t30005_package.png b/docs/test_cases/t30005_package.png
deleted file mode 100644
index 42d4066e..00000000
Binary files a/docs/test_cases/t30005_package.png and /dev/null differ
diff --git a/docs/test_cases/t30005_package.svg b/docs/test_cases/t30005_package.svg
new file mode 100644
index 00000000..37132e8d
--- /dev/null
+++ b/docs/test_cases/t30005_package.svg
@@ -0,0 +1,48 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t30006.md b/docs/test_cases/t30006.md
index 46d9d432..0db35247 100644
--- a/docs/test_cases/t30006.md
+++ b/docs/test_cases/t30006.md
@@ -51,4 +51,4 @@ struct A2 {
}
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t30006_package.png b/docs/test_cases/t30006_package.png
deleted file mode 100644
index f015546a..00000000
Binary files a/docs/test_cases/t30006_package.png and /dev/null differ
diff --git a/docs/test_cases/t30006_package.svg b/docs/test_cases/t30006_package.svg
new file mode 100644
index 00000000..095ff054
--- /dev/null
+++ b/docs/test_cases/t30006_package.svg
@@ -0,0 +1,38 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t30007.md b/docs/test_cases/t30007.md
index b2af19b5..3c128fb2 100644
--- a/docs/test_cases/t30007.md
+++ b/docs/test_cases/t30007.md
@@ -59,4 +59,4 @@ struct A2 {
}
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t30007_package.png b/docs/test_cases/t30007_package.png
deleted file mode 100644
index fab55077..00000000
Binary files a/docs/test_cases/t30007_package.png and /dev/null differ
diff --git a/docs/test_cases/t30007_package.svg b/docs/test_cases/t30007_package.svg
new file mode 100644
index 00000000..9f383f50
--- /dev/null
+++ b/docs/test_cases/t30007_package.svg
@@ -0,0 +1,45 @@
+
\ No newline at end of file
diff --git a/docs/test_cases/t90000.md b/docs/test_cases/t90000.md
index fa9c39a7..47496b72 100644
--- a/docs/test_cases/t90000.md
+++ b/docs/test_cases/t90000.md
@@ -29,4 +29,4 @@ File t90000.cc
```
## Generated UML diagrams
-
+
diff --git a/docs/test_cases/t90000_class.png b/docs/test_cases/t90000_class.png
deleted file mode 100644
index a4703d4b..00000000
Binary files a/docs/test_cases/t90000_class.png and /dev/null differ
diff --git a/docs/test_cases/t90000_class.svg b/docs/test_cases/t90000_class.svg
new file mode 100644
index 00000000..a5beec6d
--- /dev/null
+++ b/docs/test_cases/t90000_class.svg
@@ -0,0 +1,33 @@
+
\ No newline at end of file
diff --git a/util/generate_test_cases_docs.py b/util/generate_test_cases_docs.py
index c3b61eb2..e64c494e 100755
--- a/util/generate_test_cases_docs.py
+++ b/util/generate_test_cases_docs.py
@@ -22,50 +22,49 @@ import os
import yaml
from shutil import copyfile
+
with open(r'tests/test_cases.yaml') as f:
test_groups = yaml.full_load(f)['test_cases']
# Generate test_cases.md index
with open(r'docs/test_cases.md', 'w') as tc_index:
- tc_index.write("# Test cases index\n")
+ tc_index.write('# Test cases index\n')
for test_group, test_cases in test_groups.items():
- tc_index.write("## {}\n".format(test_group))
+ tc_index.write(f'## {test_group}\n')
for test_case in test_cases:
- tc_index.write(" * [{0}](./test_cases/{0}.md) - {1}\n".format(
- test_case['name'], test_case['title']))
+ tc_index.write(f' * [{test_case["name"]}](./test_cases/{test_case["name"]}.md) - {test_case["title"]}\n')
# Generate invididual documentation docs
for test_group, test_cases in test_groups.items():
for test_case in test_cases:
name = test_case['name']
- with open(r'docs/test_cases/{}.md'.format(name), 'w') as tc:
- tc.write("# {} - {}\n".format(name, test_case['title']))
+ with open(f'docs/test_cases/{name}.md', 'w') as tc:
+ tc.write(f'# {name} - {test_case["title"]}\n')
# Write out test description
if test_case['description']:
- tc.write("{}\n".format(test_case['description']))
+ tc.write(f'{test_case["description"]}\n')
# Write test config file
- config = open('tests/{0}/.clang-uml'.format(name), 'r').read()
+ config = open(f'tests/{name}/.clang-uml', 'r').read()
tc.write("## Config\n")
tc.write("```yaml\n")
tc.write(config)
tc.write("\n```\n")
tc.write("## Source code\n")
- for source_file in os.listdir("tests/{0}/".format(name)):
+ for source_file in os.listdir(f'tests/{name}/'):
if source_file.endswith(".h") or source_file.endswith(".cc"):
if source_file == "test_case.h":
continue
- tc.write("File {}\n".format(source_file))
+ tc.write(f'File {source_file}\n')
tc.write("```cpp\n")
- tc.write(open('tests/{0}/{1}'.format(name, source_file), 'r').read())
+ tc.write(open(f'tests/{name}/{source_file}', 'r').read())
tc.write("\n```\n")
# Copy and link the diagram image
config_dict = yaml.full_load(config)
tc.write("## Generated UML diagrams\n")
for diagram_name, _ in config_dict['diagrams'].items():
- copyfile('debug/tests/puml/{}.png'.format(diagram_name),
- 'docs/test_cases/{}.png'.format(diagram_name))
- tc.write("\n".format(
- diagram_name, test_case["title"]))
+ copyfile(f'debug/tests/puml/{diagram_name}.svg',
+ f'docs/test_cases/{diagram_name}.svg')
+ tc.write(f'\n')