Class world.respect.domain.validator.TestValidationScenarios
Tests
Test |
Method name |
Duration |
Result |
givenCacheValidationHeadersNotProvided_whenValidated_thenWillReturnErrors[jvm] |
givenCacheValidationHeadersNotProvided_whenValidated_thenWillReturnErrors |
2.276s |
passed |
givenManifestDoesNotListResources_whenValidated_thenWillReturnError[jvm] |
givenManifestDoesNotListResources_whenValidated_thenWillReturnError |
2.281s |
passed |
givenManifestNotDiscoverable_whenValidated_thenWillReturnError[jvm] |
givenManifestNotDiscoverable_whenValidated_thenWillReturnError |
2.400s |
passed |
givenManifestResourcesDoNotExist_whenValidated_thenWillReturnErrors[jvm] |
givenManifestResourcesDoNotExist_whenValidated_thenWillReturnErrors |
2.525s |
passed |
givenValidManifest_whenValidated_thenWillReturnNoErrors[jvm] |
givenValidManifest_whenValidated_thenWillReturnNoErrors |
6.568s |
passed |
Standard output
Test running on port 41865
WARN: http://localhost:41865/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon
DEBUG: http://localhost:41865/resources/index.json Skipping link as it has already been visited: http://localhost:41865/resources/index.json
DEBUG: http://localhost:41865/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001
DEBUG: http://localhost:41865/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:41865/resources/grade1/grade1.json
DEBUG: http://localhost:41865/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001
DEBUG: http://localhost:41865/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:41865/resources/grade1/lesson001/lesson001.json
DEBUG: http://localhost:41865/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:41865/resources/grade1/lesson001/lesson001.html
DEBUG: http://localhost:41865/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:41865/resources/grade1/lesson001/lesson001.json
Test running on port 35923
ERROR: http://localhost:35923/resources/appmanifest.json Link to http://localhost:35923/resources/appmanifest.json: No last-modified or etag header found
ERROR: http://localhost:35923/resources/appmanifest.json Link to http://localhost:35923/resources/app.html: No last-modified or etag header found
ERROR: http://localhost:35923/resources/appmanifest.json Link to http://localhost:35923/resources/index.json: No last-modified or etag header found
ERROR: http://localhost:35923/resources/appmanifest.json Link to http://localhost:35923/resources/index.json: No last-modified or etag header found
WARN: http://localhost:35923/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon
DEBUG: http://localhost:35923/resources/index.json Skipping link as it has already been visited: http://localhost:35923/resources/index.json
ERROR: http://localhost:35923/resources/index.json Link to http://localhost:35923/resources/grade1/grade1.json: No last-modified or etag header found
DEBUG: http://localhost:35923/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001
ERROR: http://localhost:35923/resources/grade1/grade1.json Link to http://localhost:35923/resources/grade1/lesson001/cover.png: No last-modified or etag header found
ERROR: http://localhost:35923/resources/grade1/grade1.json Link to http://localhost:35923/resources/grade1/lesson001/lesson001.html: No last-modified or etag header found
DEBUG: http://localhost:35923/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:35923/resources/grade1/grade1.json
ERROR: http://localhost:35923/resources/grade1/grade1.json Link to http://localhost:35923/resources/grade1/lesson001/lesson001.json: No last-modified or etag header found
DEBUG: http://localhost:35923/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001
ERROR: http://localhost:35923/resources/grade1/lesson001/lesson001.json Link to http://localhost:35923/resources/grade1/lesson001/cover.png: No last-modified or etag header found
ERROR: http://localhost:35923/resources/grade1/lesson001/lesson001.json Link to http://localhost:35923/resources/grade1/lesson001/lesson001.html: No last-modified or etag header found
ERROR: http://localhost:35923/resources/grade1/lesson001/lesson001.json Link to http://localhost:35923/resources/grade1/lesson001/audio.ogg: No last-modified or etag header found
ERROR: http://localhost:35923/resources/grade1/lesson001/lesson001.json Link to http://localhost:35923/resources/grade1/lesson001/video.mp4: No last-modified or etag header found
ERROR: http://localhost:35923/resources/grade1/lesson001/lesson001.json Link to http://localhost:35923/resources/grade1/lesson001/script.js: No last-modified or etag header found
DEBUG: http://localhost:35923/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:35923/resources/grade1/lesson001/lesson001.json
ERROR: http://localhost:35923/resources/grade1/lesson001/lesson001.json Link to http://localhost:35923/resources/grade1/lesson001/lesson001.html: No last-modified or etag header found
DEBUG: http://localhost:35923/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:35923/resources/grade1/lesson001/lesson001.html
DEBUG: http://localhost:35923/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:35923/resources/grade1/lesson001/lesson001.json
Test running on port 34055
WARN: http://localhost:34055/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon
DEBUG: http://localhost:34055/resources/index.json Skipping link as it has already been visited: http://localhost:34055/resources/index.json
DEBUG: http://localhost:34055/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001
ERROR: http://localhost:34055/resources/grade1/grade1.json Link to http://localhost:34055/resources/grade1/cover-small.jpg: Response status code not HTTP OK/200. Got: 404
DEBUG: http://localhost:34055/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:34055/resources/grade1/grade1.json
DEBUG: http://localhost:34055/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001
ERROR: http://localhost:34055/resources/grade1/lesson001/lesson001.json The manifest which is discovered using the
discovery process as per the Readium spec ( https://github.com/readium/webpub-manifest?tab=readme-ov-file#5-discovering-a-manifest )
MUST contain a list of all resources required.
DEBUG: http://localhost:34055/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:34055/resources/grade1/lesson001/lesson001.json
DEBUG: http://localhost:34055/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:34055/resources/grade1/lesson001/lesson001.html
DEBUG: http://localhost:34055/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:34055/resources/grade1/lesson001/lesson001.json
Test running on port 40323
WARN: http://localhost:40323/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon
DEBUG: http://localhost:40323/resources/index.json Skipping link as it has already been visited: http://localhost:40323/resources/index.json
DEBUG: http://localhost:40323/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001
ERROR: http://localhost:40323/resources/grade1/grade1.json Link to http://localhost:40323/resources/grade1/cover-small.jpg: Response status code not HTTP OK/200. Got: 404
DEBUG: http://localhost:40323/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:40323/resources/grade1/grade1.json
DEBUG: http://localhost:40323/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001
ERROR: http://localhost:40323/resources/grade1/lesson001/lesson001.json Link to http://localhost:40323/resources/grade1/lesson001/cover.png: Response status code not HTTP OK/200. Got: 404
ERROR: http://localhost:40323/resources/grade1/lesson001/lesson001.json Link to http://localhost:40323/resources/grade1/lesson001/audio.ogg: Response status code not HTTP OK/200. Got: 404
ERROR: http://localhost:40323/resources/grade1/lesson001/lesson001.json Link to http://localhost:40323/resources/grade1/lesson001/video.mp4: Response status code not HTTP OK/200. Got: 404
ERROR: http://localhost:40323/resources/grade1/lesson001/lesson001.json Link to http://localhost:40323/resources/grade1/lesson001/script.js: Response status code not HTTP OK/200. Got: 404
DEBUG: http://localhost:40323/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:40323/resources/grade1/lesson001/lesson001.json
DEBUG: http://localhost:40323/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:40323/resources/grade1/lesson001/lesson001.html
DEBUG: http://localhost:40323/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:40323/resources/grade1/lesson001/lesson001.json
Test running on port 35973
WARN: http://localhost:35973/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon
DEBUG: http://localhost:35973/resources/index.json Skipping link as it has already been visited: http://localhost:35973/resources/index.json
DEBUG: http://localhost:35973/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001
ERROR: http://localhost:35973/resources/grade1/grade1.json Link to http://localhost:35973/resources/grade1/cover-small.jpg: Response status code not HTTP OK/200. Got: 404
ERROR: http://localhost:35973/resources/grade1/grade1.json Manifest not discovered for learning resource ID URL: http://localhost:35973/resources/grade1/lesson001/lesson001.html .Readium publication manifest must be discoverable using a linktag in HTML or Link header for the learning resource ID URL as per https://github.com/readium/webpub-manifest?tab=readme-ov-file#5-discovering-a-manifest
DEBUG: http://localhost:35973/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:35973/resources/grade1/grade1.json
DEBUG: http://localhost:35973/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001
ERROR: http://localhost:35973/resources/grade1/lesson001/lesson001.json Manifest not discovered for learning resource ID URL: http://localhost:35973/resources/grade1/lesson001/lesson001.html .Readium publication manifest must be discoverable using a linktag in HTML or Link header for the learning resource ID URL as per https://github.com/readium/webpub-manifest?tab=readme-ov-file#5-discovering-a-manifest
DEBUG: http://localhost:35973/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:35973/resources/grade1/lesson001/lesson001.json
DEBUG: http://localhost:35973/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:35973/resources/grade1/lesson001/lesson001.html
Standard error
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.