diff --git a/docs/images/maxi-exclude.png b/docs/images/maxi-exclude.png new file mode 100644 index 0000000..6e65131 Binary files /dev/null and b/docs/images/maxi-exclude.png differ diff --git a/docs/images/maxi.png b/docs/images/maxi.png index c6340d0..f7863c8 100644 Binary files a/docs/images/maxi.png and b/docs/images/maxi.png differ diff --git a/docs/images/midi-exclude.png b/docs/images/midi-exclude.png new file mode 100644 index 0000000..cbe619b Binary files /dev/null and b/docs/images/midi-exclude.png differ diff --git a/docs/images/midi.png b/docs/images/midi.png index f6f5b86..055097d 100644 Binary files a/docs/images/midi.png and b/docs/images/midi.png differ diff --git a/docs/images/mini-exclude.png b/docs/images/mini-exclude.png new file mode 100644 index 0000000..36eac85 Binary files /dev/null and b/docs/images/mini-exclude.png differ diff --git a/docs/images/mini.png b/docs/images/mini.png index b3c045f..3aa7d3e 100644 Binary files a/docs/images/mini.png and b/docs/images/mini.png differ diff --git a/docs/images/theme-_none_.png b/docs/images/theme-_none_.png index c6340d0..f7863c8 100644 Binary files a/docs/images/theme-_none_.png and b/docs/images/theme-_none_.png differ diff --git a/docs/images/theme-amiga.png b/docs/images/theme-amiga.png index b126109..6f5d4a8 100644 Binary files a/docs/images/theme-amiga.png and b/docs/images/theme-amiga.png differ diff --git a/docs/images/theme-aws-orange.png b/docs/images/theme-aws-orange.png index 3c5cdd8..19e3fd5 100644 Binary files a/docs/images/theme-aws-orange.png and b/docs/images/theme-aws-orange.png differ diff --git a/docs/images/theme-black-knight.png b/docs/images/theme-black-knight.png index f9117b2..0c78d44 100644 Binary files a/docs/images/theme-black-knight.png and b/docs/images/theme-black-knight.png differ diff --git a/docs/images/theme-bluegray.png b/docs/images/theme-bluegray.png index 1c18433..514da5f 100644 Binary files a/docs/images/theme-bluegray.png and b/docs/images/theme-bluegray.png differ diff --git a/docs/images/theme-blueprint.png b/docs/images/theme-blueprint.png index d1df7e8..a04a117 100644 Binary files a/docs/images/theme-blueprint.png and b/docs/images/theme-blueprint.png differ diff --git a/docs/images/theme-carbon-gray.png b/docs/images/theme-carbon-gray.png index efb63bc..da628aa 100644 Binary files a/docs/images/theme-carbon-gray.png and b/docs/images/theme-carbon-gray.png differ diff --git a/docs/images/theme-cerulean-outline.png b/docs/images/theme-cerulean-outline.png index 549e180..1cd35a1 100644 Binary files a/docs/images/theme-cerulean-outline.png and b/docs/images/theme-cerulean-outline.png differ diff --git a/docs/images/theme-cerulean.png b/docs/images/theme-cerulean.png index 494431d..906642e 100644 Binary files a/docs/images/theme-cerulean.png and b/docs/images/theme-cerulean.png differ diff --git a/docs/images/theme-cloudscape-design.png b/docs/images/theme-cloudscape-design.png index d502477..ca939f4 100644 Binary files a/docs/images/theme-cloudscape-design.png and b/docs/images/theme-cloudscape-design.png differ diff --git a/docs/images/theme-crt-amber.png b/docs/images/theme-crt-amber.png index 05c7142..b7e74be 100644 Binary files a/docs/images/theme-crt-amber.png and b/docs/images/theme-crt-amber.png differ diff --git a/docs/images/theme-crt-green.png b/docs/images/theme-crt-green.png index 221724a..597cd65 100644 Binary files a/docs/images/theme-crt-green.png and b/docs/images/theme-crt-green.png differ diff --git a/docs/images/theme-cyborg-outline.png b/docs/images/theme-cyborg-outline.png index 7b39dfb..513d6f9 100644 Binary files a/docs/images/theme-cyborg-outline.png and b/docs/images/theme-cyborg-outline.png differ diff --git a/docs/images/theme-cyborg.png b/docs/images/theme-cyborg.png index 29c150b..b075903 100644 Binary files a/docs/images/theme-cyborg.png and b/docs/images/theme-cyborg.png differ diff --git a/docs/images/theme-hacker.png b/docs/images/theme-hacker.png index aae2b40..5d777b5 100644 Binary files a/docs/images/theme-hacker.png and b/docs/images/theme-hacker.png differ diff --git a/docs/images/theme-lightgray.png b/docs/images/theme-lightgray.png index 6c518ff..7c93170 100644 Binary files a/docs/images/theme-lightgray.png and b/docs/images/theme-lightgray.png differ diff --git a/docs/images/theme-mars.png b/docs/images/theme-mars.png index 828e9a1..91f9535 100644 Binary files a/docs/images/theme-mars.png and b/docs/images/theme-mars.png differ diff --git a/docs/images/theme-materia-outline.png b/docs/images/theme-materia-outline.png index f68e35b..ad07300 100644 Binary files a/docs/images/theme-materia-outline.png and b/docs/images/theme-materia-outline.png differ diff --git a/docs/images/theme-materia.png b/docs/images/theme-materia.png index 681c17e..ba4e189 100644 Binary files a/docs/images/theme-materia.png and b/docs/images/theme-materia.png differ diff --git a/docs/images/theme-metal.png b/docs/images/theme-metal.png index 84ee218..edd800d 100644 Binary files a/docs/images/theme-metal.png and b/docs/images/theme-metal.png differ diff --git a/docs/images/theme-mimeograph.png b/docs/images/theme-mimeograph.png index 8f41346..5310c40 100644 Binary files a/docs/images/theme-mimeograph.png and b/docs/images/theme-mimeograph.png differ diff --git a/docs/images/theme-minty.png b/docs/images/theme-minty.png index 8032fd4..816c153 100644 Binary files a/docs/images/theme-minty.png and b/docs/images/theme-minty.png differ diff --git a/docs/images/theme-mono.png b/docs/images/theme-mono.png new file mode 100644 index 0000000..32be5b6 Binary files /dev/null and b/docs/images/theme-mono.png differ diff --git a/docs/images/theme-plain.png b/docs/images/theme-plain.png index 473f3f5..fbf1b95 100644 Binary files a/docs/images/theme-plain.png and b/docs/images/theme-plain.png differ diff --git a/docs/images/theme-reddress-darkblue.png b/docs/images/theme-reddress-darkblue.png new file mode 100644 index 0000000..e9c0e86 Binary files /dev/null and b/docs/images/theme-reddress-darkblue.png differ diff --git a/docs/images/theme-reddress-darkgreen.png b/docs/images/theme-reddress-darkgreen.png new file mode 100644 index 0000000..e9c0e86 Binary files /dev/null and b/docs/images/theme-reddress-darkgreen.png differ diff --git a/docs/images/theme-reddress-darkorange.png b/docs/images/theme-reddress-darkorange.png new file mode 100644 index 0000000..e9c0e86 Binary files /dev/null and b/docs/images/theme-reddress-darkorange.png differ diff --git a/docs/images/theme-reddress-darkred.png b/docs/images/theme-reddress-darkred.png new file mode 100644 index 0000000..e9c0e86 Binary files /dev/null and b/docs/images/theme-reddress-darkred.png differ diff --git a/docs/images/theme-reddress-lightblue.png b/docs/images/theme-reddress-lightblue.png new file mode 100644 index 0000000..a06e210 Binary files /dev/null and b/docs/images/theme-reddress-lightblue.png differ diff --git a/docs/images/theme-reddress-lightgreen.png b/docs/images/theme-reddress-lightgreen.png new file mode 100644 index 0000000..a06e210 Binary files /dev/null and b/docs/images/theme-reddress-lightgreen.png differ diff --git a/docs/images/theme-reddress-lightorange.png b/docs/images/theme-reddress-lightorange.png new file mode 100644 index 0000000..a06e210 Binary files /dev/null and b/docs/images/theme-reddress-lightorange.png differ diff --git a/docs/images/theme-reddress-lightred.png b/docs/images/theme-reddress-lightred.png new file mode 100644 index 0000000..a06e210 Binary files /dev/null and b/docs/images/theme-reddress-lightred.png differ diff --git a/docs/images/theme-sandstone.png b/docs/images/theme-sandstone.png index 0865162..1df63b6 100644 Binary files a/docs/images/theme-sandstone.png and b/docs/images/theme-sandstone.png differ diff --git a/docs/images/theme-silver.png b/docs/images/theme-silver.png index 01a7c39..7c02bc3 100644 Binary files a/docs/images/theme-silver.png and b/docs/images/theme-silver.png differ diff --git a/docs/images/theme-sketchy-outline.png b/docs/images/theme-sketchy-outline.png index b04422e..7e9bfc5 100644 Binary files a/docs/images/theme-sketchy-outline.png and b/docs/images/theme-sketchy-outline.png differ diff --git a/docs/images/theme-sketchy.png b/docs/images/theme-sketchy.png index 46ca08e..44c797c 100644 Binary files a/docs/images/theme-sketchy.png and b/docs/images/theme-sketchy.png differ diff --git a/docs/images/theme-spacelab-white.png b/docs/images/theme-spacelab-white.png new file mode 100644 index 0000000..bf78ddf Binary files /dev/null and b/docs/images/theme-spacelab-white.png differ diff --git a/docs/images/theme-spacelab.png b/docs/images/theme-spacelab.png index cdad909..069e943 100644 Binary files a/docs/images/theme-spacelab.png and b/docs/images/theme-spacelab.png differ diff --git a/docs/images/theme-superhero-outline.png b/docs/images/theme-superhero-outline.png index 36b5b8b..55c1124 100644 Binary files a/docs/images/theme-superhero-outline.png and b/docs/images/theme-superhero-outline.png differ diff --git a/docs/images/theme-superhero.png b/docs/images/theme-superhero.png index 7773ddf..a40ffce 100644 Binary files a/docs/images/theme-superhero.png and b/docs/images/theme-superhero.png differ diff --git a/docs/images/theme-toy.png b/docs/images/theme-toy.png index e55c05d..dd1d79d 100644 Binary files a/docs/images/theme-toy.png and b/docs/images/theme-toy.png differ diff --git a/docs/images/theme-united.png b/docs/images/theme-united.png index c93bf9c..2c3484c 100644 Binary files a/docs/images/theme-united.png and b/docs/images/theme-united.png differ diff --git a/docs/images/theme-vibrant.png b/docs/images/theme-vibrant.png index f6d2a00..a03cf99 100644 Binary files a/docs/images/theme-vibrant.png and b/docs/images/theme-vibrant.png differ diff --git a/tests/ExcludeTest.php b/tests/ExcludeTest.php index 2e219af..cd25fe0 100644 --- a/tests/ExcludeTest.php +++ b/tests/ExcludeTest.php @@ -38,7 +38,7 @@ public function testMiniDiagram() { $drawer = new DbDraw($this->connection); $puml = $drawer->generatePuml(DbDraw::MINI, exclude: ['Course', 'Assistant']); - file_put_contents('./resources/output/mini.puml', $puml); + file_put_contents('./resources/output/mini-exclude.puml', $puml); $this->assertIsString($puml); $this->assertGreaterThan(490, mb_strlen($puml)); $this->assertStringNotContainsString(EntityNames::Course, $puml); @@ -80,7 +80,7 @@ public function testMidiDiagram() { $drawer = new DbDraw($this->connection); $puml = $drawer->generatePuml(DbDraw::MIDI, exclude: ['Session', 'Student']); - file_put_contents('./resources/output/midi.puml', $puml); + file_put_contents('./resources/output/midi-exclude.puml', $puml); $this->assertIsString($puml); $this->assertGreaterThan(900, mb_strlen($puml)); $this->assertStringContainsString(Entities::Course, $puml); @@ -122,7 +122,7 @@ public function testMaxiDiagram() { $drawer = new DbDraw($this->connection); $puml = $drawer->generatePuml(DbDraw::MAXI, exclude: ['CreditCard', 'students_with_no_card']); - file_put_contents('./resources/output/maxi.puml', $puml); + file_put_contents('./resources/output/maxi-exclude.puml', $puml); $this->assertIsString($puml); $this->assertGreaterThan(1300, mb_strlen($puml)); diff --git a/tests/ThemeTest.php b/tests/ThemeTest.php index 832b406..45ff651 100644 --- a/tests/ThemeTest.php +++ b/tests/ThemeTest.php @@ -71,6 +71,27 @@ public function themeProvider(): array ['metal'], ['mimeograph'], ['minty'], + ['mono'], + ['plain'], + ['reddress-darkblue'], + ['reddress-darkgreen'], + ['reddress-darkorange'], + ['reddress-darkred'], + ['reddress-lightblue'], + ['reddress-lightgreen'], + ['reddress-lightorange'], + ['reddress-lightred'], + ['sandstone'], + ['silver'], + ['sketchy'], + ['sketchy-outline'], + ['spacelab'], + ['spacelab-white'], + ['superhero'], + ['superhero-outline'], + ['toy'], + ['united'], + ['vibrant'], ]; } }