7 Commits (4aee51140fb5e460e753e446ef96531cf718166b)

Author SHA1 Message Date
Markus Steinlein 3ca19319d7 Enhanced fotogrid layout algorithm and made it more readable. Added unit tests. 4 years ago
Markus Steinlein 19677cb455 More style corrections. 4 years ago
Markus Steinlein f9bc6c5115 Added additional check for non html files to avoid system files like '.DS_store' or '.thumbsdb' messing up tests. 4 years ago
Johannes Thumshirn 69408017ce tests: test static page routing
Instead of checking for the presence of methods, check if the web
application correctly sets up the routing for the static pages.

Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn 28dbeab463 tests: test routing of index
For sake of completeness test the presence of '/' and '/index.html' as
well.

Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn 845739eb80 tests: test generation of dynamic pages
Test the generation of routes from the markdown input files stored
under pages.

Currently only the routing is tested, not the contents of the files.

Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Michael Moese 70e1c8c5c9 New Test: check if a method is implemented for each static page
We need to route an endpoint for each statically defined web page, so
let's check if we have this defined for each html file in template,
except for pages.html and template.html.

Signed-off-by: Michael Moese <mmoese@suse.com>
4 years ago