Class world.respect.domain.validator.TestValidationScenarios
Tests
| Test | Method name | Duration | Result | 
| givenCacheValidationHeadersNotProvided_whenValidated_thenWillReturnErrors[jvm] | givenCacheValidationHeadersNotProvided_whenValidated_thenWillReturnErrors | 2.170s | passed | 
| givenManifestDoesNotListResources_whenValidated_thenWillReturnError[jvm] | givenManifestDoesNotListResources_whenValidated_thenWillReturnError | 2.163s | passed | 
| givenManifestNotDiscoverable_whenValidated_thenWillReturnError[jvm] | givenManifestNotDiscoverable_whenValidated_thenWillReturnError | 2.130s | passed | 
| givenManifestResourcesDoNotExist_whenValidated_thenWillReturnErrors[jvm] | givenManifestResourcesDoNotExist_whenValidated_thenWillReturnErrors | 2.147s | passed | 
| givenValidManifest_whenValidated_thenWillReturnNoErrors[jvm] | givenValidManifest_whenValidated_thenWillReturnNoErrors | 7.060s | passed | 
 
Standard output
Test running on port 39947
WARN: http://localhost:39947/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon
DEBUG: http://localhost:39947/resources/index.json Skipping link as it has already been visited: http://localhost:39947/resources/index.json
DEBUG: http://localhost:39947/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001
DEBUG: http://localhost:39947/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:39947/resources/grade1/grade1.json
DEBUG: http://localhost:39947/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001
DEBUG: http://localhost:39947/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:39947/resources/grade1/lesson001/lesson001.json
DEBUG: http://localhost:39947/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:39947/resources/grade1/lesson001/lesson001.html
DEBUG: http://localhost:39947/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:39947/resources/grade1/lesson001/lesson001.json
Test running on port 36705
ERROR: http://localhost:36705/resources/appmanifest.json Link to http://localhost:36705/resources/appmanifest.json: No last-modified or etag header found
ERROR: http://localhost:36705/resources/appmanifest.json Link to http://localhost:36705/resources/app.html: No last-modified or etag header found
ERROR: http://localhost:36705/resources/appmanifest.json Link to http://localhost:36705/resources/index.json: No last-modified or etag header found
ERROR: http://localhost:36705/resources/appmanifest.json Link to http://localhost:36705/resources/index.json: No last-modified or etag header found
WARN: http://localhost:36705/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon
DEBUG: http://localhost:36705/resources/index.json Skipping link as it has already been visited: http://localhost:36705/resources/index.json
ERROR: http://localhost:36705/resources/index.json Link to http://localhost:36705/resources/grade1/grade1.json: No last-modified or etag header found
DEBUG: http://localhost:36705/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001
ERROR: http://localhost:36705/resources/grade1/grade1.json Link to http://localhost:36705/resources/grade1/lesson001/cover.png: No last-modified or etag header found
ERROR: http://localhost:36705/resources/grade1/grade1.json Link to http://localhost:36705/resources/grade1/lesson001/lesson001.html: No last-modified or etag header found
DEBUG: http://localhost:36705/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:36705/resources/grade1/grade1.json
ERROR: http://localhost:36705/resources/grade1/grade1.json Link to http://localhost:36705/resources/grade1/lesson001/lesson001.json: No last-modified or etag header found
DEBUG: http://localhost:36705/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001
ERROR: http://localhost:36705/resources/grade1/lesson001/lesson001.json Link to http://localhost:36705/resources/grade1/lesson001/cover.png: No last-modified or etag header found
ERROR: http://localhost:36705/resources/grade1/lesson001/lesson001.json Link to http://localhost:36705/resources/grade1/lesson001/lesson001.html: No last-modified or etag header found
ERROR: http://localhost:36705/resources/grade1/lesson001/lesson001.json Link to http://localhost:36705/resources/grade1/lesson001/audio.ogg: No last-modified or etag header found
ERROR: http://localhost:36705/resources/grade1/lesson001/lesson001.json Link to http://localhost:36705/resources/grade1/lesson001/video.mp4: No last-modified or etag header found
ERROR: http://localhost:36705/resources/grade1/lesson001/lesson001.json Link to http://localhost:36705/resources/grade1/lesson001/script.js: No last-modified or etag header found
DEBUG: http://localhost:36705/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:36705/resources/grade1/lesson001/lesson001.json
ERROR: http://localhost:36705/resources/grade1/lesson001/lesson001.json Link to http://localhost:36705/resources/grade1/lesson001/lesson001.html: No last-modified or etag header found
DEBUG: http://localhost:36705/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:36705/resources/grade1/lesson001/lesson001.html
DEBUG: http://localhost:36705/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:36705/resources/grade1/lesson001/lesson001.json
Test running on port 44755
WARN: http://localhost:44755/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon
DEBUG: http://localhost:44755/resources/index.json Skipping link as it has already been visited: http://localhost:44755/resources/index.json
DEBUG: http://localhost:44755/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001
ERROR: http://localhost:44755/resources/grade1/grade1.json Link to http://localhost:44755/resources/grade1/cover-small.jpg: Response status code not HTTP OK/200. Got: 404
DEBUG: http://localhost:44755/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:44755/resources/grade1/grade1.json
DEBUG: http://localhost:44755/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001
ERROR: http://localhost:44755/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:44755/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:44755/resources/grade1/lesson001/lesson001.json
DEBUG: http://localhost:44755/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:44755/resources/grade1/lesson001/lesson001.html
DEBUG: http://localhost:44755/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:44755/resources/grade1/lesson001/lesson001.json
Test running on port 37875
WARN: http://localhost:37875/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon
DEBUG: http://localhost:37875/resources/index.json Skipping link as it has already been visited: http://localhost:37875/resources/index.json
DEBUG: http://localhost:37875/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001
ERROR: http://localhost:37875/resources/grade1/grade1.json Link to http://localhost:37875/resources/grade1/cover-small.jpg: Response status code not HTTP OK/200. Got: 404
DEBUG: http://localhost:37875/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:37875/resources/grade1/grade1.json
DEBUG: http://localhost:37875/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001
ERROR: http://localhost:37875/resources/grade1/lesson001/lesson001.json Link to http://localhost:37875/resources/grade1/lesson001/cover.png: Response status code not HTTP OK/200. Got: 404
ERROR: http://localhost:37875/resources/grade1/lesson001/lesson001.json Link to http://localhost:37875/resources/grade1/lesson001/audio.ogg: Response status code not HTTP OK/200. Got: 404
ERROR: http://localhost:37875/resources/grade1/lesson001/lesson001.json Link to http://localhost:37875/resources/grade1/lesson001/video.mp4: Response status code not HTTP OK/200. Got: 404
ERROR: http://localhost:37875/resources/grade1/lesson001/lesson001.json Link to http://localhost:37875/resources/grade1/lesson001/script.js: Response status code not HTTP OK/200. Got: 404
DEBUG: http://localhost:37875/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:37875/resources/grade1/lesson001/lesson001.json
DEBUG: http://localhost:37875/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:37875/resources/grade1/lesson001/lesson001.html
DEBUG: http://localhost:37875/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:37875/resources/grade1/lesson001/lesson001.json
Test running on port 40013
WARN: http://localhost:40013/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon
DEBUG: http://localhost:40013/resources/index.json Skipping link as it has already been visited: http://localhost:40013/resources/index.json
DEBUG: http://localhost:40013/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001
ERROR: http://localhost:40013/resources/grade1/grade1.json Link to http://localhost:40013/resources/grade1/cover-small.jpg: Response status code not HTTP OK/200. Got: 404
ERROR: http://localhost:40013/resources/grade1/grade1.json Manifest not discovered for learning resource ID URL: http://localhost:40013/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:40013/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:40013/resources/grade1/grade1.json
DEBUG: http://localhost:40013/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001
ERROR: http://localhost:40013/resources/grade1/lesson001/lesson001.json Manifest not discovered for learning resource ID URL: http://localhost:40013/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:40013/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:40013/resources/grade1/lesson001/lesson001.json
DEBUG: http://localhost:40013/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:40013/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.