ArtifactFileControllerTest
Tests
| Test |
Duration |
Result |
| directory URL of an index-less report directory holding several pages answers 404 |
0.007s |
passed |
| directory URL serves the single page of an index-less report directory |
0.013s |
passed |
| missing file answers 404 |
0.024s |
passed |
| path traversal out of the artifact directory is rejected |
0.051s |
passed |
| permanent URL answers 404 when the green build's artifacts are gone |
0.009s |
passed |
| permanent URL of an unknown branch key answers 404 |
0.010s |
passed |
| permanent URL rejects path traversal out of the artifact directory |
0.006s |
passed |
| permanent URL serves even normally cacheable files with no-store |
0.026s |
passed |
| permanent URL serves the file from the branch's latest green build |
0.021s |
passed |
| permanent URL with a bare trailing slash redirects to the artifact index page |
0.007s |
passed |
| permanent directory URL with trailing slash serves the directory's index.html |
0.021s |
passed |
| permanent directory URL without trailing slash redirects to the trailing-slash form |
0.011s |
passed |
| serves a log file as UTF-8 text with no-cache headers |
0.018s |
passed |
| serves an html artifact with no-cache headers |
0.206s |
passed |
| serves nested report files without no-cache headers |
0.010s |
passed |
| unknown artifact key answers 404 |
0.069s |
passed |
Standard output
Creating nstance of class de.hoennig.werkator.server.ArtifactFileControllerTest