Refined the example, to clearify the intent
authorKai Moritz <kai@juplo.de>
Sat, 19 Sep 2020 08:24:44 +0000 (10:24 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 27 Sep 2020 08:56:43 +0000 (10:56 +0200)
commit64108e90d14f6e85c76c463b460ba92307ef15cd
tree3db953e40bc6aa641fe19f5d873f25eebabc5b1b
parent6cc8cb552e6a9adf0a5c70db18280f1baa01f1d9
Refined the example, to clearify the intent

* Removed unnecessary Annotation from test
* Renamed and pimped up the example templates
* Splitted up the test in separate units
* Remapped the controller to the root of the web-context
* Switched to @WebMvcTest, to load only the controller-layer
src/main/java/de/juplo/demo/ExampleController.java [new file with mode: 0644]
src/main/java/de/juplo/demo/ThymeleafController.java [deleted file]
src/main/resources/templates/a.html [new file with mode: 0644]
src/main/resources/templates/b.html [new file with mode: 0644]
src/main/resources/templates/local.html [deleted file]
src/main/resources/templates/remote.html [deleted file]
src/test/java/de/juplo/demo/ExceptionHandlingApplicationTests.java