Class world.respect.domain.validator.TestValidationScenarios

5

tests

0

failures

0

ignored

1m13.40s

duration

100%

successful

Tests

Test Method name Duration Result
givenCacheValidationHeadersNotProvided_whenValidated_thenWillReturnErrors[jvm] givenCacheValidationHeadersNotProvided_whenValidated_thenWillReturnErrors 2.886s passed
givenManifestDoesNotListResources_whenValidated_thenWillReturnError[jvm] givenManifestDoesNotListResources_whenValidated_thenWillReturnError 2.710s passed
givenManifestNotDiscoverable_whenValidated_thenWillReturnError[jvm] givenManifestNotDiscoverable_whenValidated_thenWillReturnError 2.592s passed
givenManifestResourcesDoNotExist_whenValidated_thenWillReturnErrors[jvm] givenManifestResourcesDoNotExist_whenValidated_thenWillReturnErrors 2.666s passed
givenValidManifest_whenValidated_thenWillReturnNoErrors[jvm] givenValidManifest_whenValidated_thenWillReturnNoErrors 1m2.55s passed

Standard output

Test running on port 37521
WARN: http://localhost:37521/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon

DEBUG: http://localhost:37521/resources/index.json Skipping link as it has already been visited: http://localhost:37521/resources/index.json

DEBUG: http://localhost:37521/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001

DEBUG: http://localhost:37521/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:37521/resources/grade1/grade1.json

DEBUG: http://localhost:37521/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001

DEBUG: http://localhost:37521/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:37521/resources/grade1/lesson001/lesson001.json

DEBUG: http://localhost:37521/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:37521/resources/grade1/lesson001/lesson001.html

DEBUG: http://localhost:37521/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:37521/resources/grade1/lesson001/lesson001.json

Test running on port 46319
ERROR: http://localhost:46319/resources/appmanifest.json Link to http://localhost:46319/resources/appmanifest.json: No last-modified or etag header found

ERROR: http://localhost:46319/resources/appmanifest.json Link to http://localhost:46319/resources/app.html: No last-modified or etag header found

ERROR: http://localhost:46319/resources/appmanifest.json Link to http://localhost:46319/resources/index.json: No last-modified or etag header found

ERROR: http://localhost:46319/resources/appmanifest.json Link to http://localhost:46319/resources/index.json: No last-modified or etag header found

WARN: http://localhost:46319/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon

DEBUG: http://localhost:46319/resources/index.json Skipping link as it has already been visited: http://localhost:46319/resources/index.json

ERROR: http://localhost:46319/resources/index.json Link to http://localhost:46319/resources/grade1/grade1.json: No last-modified or etag header found

DEBUG: http://localhost:46319/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001

ERROR: http://localhost:46319/resources/grade1/grade1.json Link to http://localhost:46319/resources/grade1/lesson001/cover.png: No last-modified or etag header found

ERROR: http://localhost:46319/resources/grade1/grade1.json Link to http://localhost:46319/resources/grade1/lesson001/lesson001.html: No last-modified or etag header found

DEBUG: http://localhost:46319/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:46319/resources/grade1/grade1.json

ERROR: http://localhost:46319/resources/grade1/grade1.json Link to http://localhost:46319/resources/grade1/lesson001/lesson001.json: No last-modified or etag header found

DEBUG: http://localhost:46319/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001

ERROR: http://localhost:46319/resources/grade1/lesson001/lesson001.json Link to http://localhost:46319/resources/grade1/lesson001/cover.png: No last-modified or etag header found

ERROR: http://localhost:46319/resources/grade1/lesson001/lesson001.json Link to http://localhost:46319/resources/grade1/lesson001/lesson001.html: No last-modified or etag header found

ERROR: http://localhost:46319/resources/grade1/lesson001/lesson001.json Link to http://localhost:46319/resources/grade1/lesson001/audio.ogg: No last-modified or etag header found

ERROR: http://localhost:46319/resources/grade1/lesson001/lesson001.json Link to http://localhost:46319/resources/grade1/lesson001/video.mp4: No last-modified or etag header found

ERROR: http://localhost:46319/resources/grade1/lesson001/lesson001.json Link to http://localhost:46319/resources/grade1/lesson001/script.js: No last-modified or etag header found

DEBUG: http://localhost:46319/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:46319/resources/grade1/lesson001/lesson001.json

ERROR: http://localhost:46319/resources/grade1/lesson001/lesson001.json Link to http://localhost:46319/resources/grade1/lesson001/lesson001.html: No last-modified or etag header found

DEBUG: http://localhost:46319/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:46319/resources/grade1/lesson001/lesson001.html

DEBUG: http://localhost:46319/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:46319/resources/grade1/lesson001/lesson001.json

Test running on port 37685
WARN: http://localhost:37685/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon

DEBUG: http://localhost:37685/resources/index.json Skipping link as it has already been visited: http://localhost:37685/resources/index.json

DEBUG: http://localhost:37685/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001

ERROR: http://localhost:37685/resources/grade1/grade1.json Link to http://localhost:37685/resources/grade1/cover-small.jpg: Response status code not HTTP OK/200. Got: 404

DEBUG: http://localhost:37685/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:37685/resources/grade1/grade1.json

DEBUG: http://localhost:37685/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001

ERROR: http://localhost:37685/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:37685/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:37685/resources/grade1/lesson001/lesson001.json

DEBUG: http://localhost:37685/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:37685/resources/grade1/lesson001/lesson001.html

DEBUG: http://localhost:37685/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:37685/resources/grade1/lesson001/lesson001.json

Test running on port 32869
WARN: http://localhost:32869/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon

DEBUG: http://localhost:32869/resources/index.json Skipping link as it has already been visited: http://localhost:32869/resources/index.json

DEBUG: http://localhost:32869/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001

ERROR: http://localhost:32869/resources/grade1/grade1.json Link to http://localhost:32869/resources/grade1/cover-small.jpg: Response status code not HTTP OK/200. Got: 404

DEBUG: http://localhost:32869/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:32869/resources/grade1/grade1.json

DEBUG: http://localhost:32869/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001

ERROR: http://localhost:32869/resources/grade1/lesson001/lesson001.json Link to http://localhost:32869/resources/grade1/lesson001/cover.png: Response status code not HTTP OK/200. Got: 404

ERROR: http://localhost:32869/resources/grade1/lesson001/lesson001.json Link to http://localhost:32869/resources/grade1/lesson001/audio.ogg: Response status code not HTTP OK/200. Got: 404

ERROR: http://localhost:32869/resources/grade1/lesson001/lesson001.json Link to http://localhost:32869/resources/grade1/lesson001/video.mp4: Response status code not HTTP OK/200. Got: 404

ERROR: http://localhost:32869/resources/grade1/lesson001/lesson001.json Link to http://localhost:32869/resources/grade1/lesson001/script.js: Response status code not HTTP OK/200. Got: 404

DEBUG: http://localhost:32869/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:32869/resources/grade1/lesson001/lesson001.json

DEBUG: http://localhost:32869/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:32869/resources/grade1/lesson001/lesson001.html

DEBUG: http://localhost:32869/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:32869/resources/grade1/lesson001/lesson001.json

Test running on port 38897
WARN: http://localhost:38897/resources/index.json Navigation link to grade1/grade1.json SHOULD contain an icon

DEBUG: http://localhost:38897/resources/index.json Skipping link as it has already been visited: http://localhost:38897/resources/index.json

DEBUG: http://localhost:38897/resources/grade1/grade1.json Validating Opds Publication: title "Lesson 001" and identifier: http://example.app/id/lesson001

ERROR: http://localhost:38897/resources/grade1/grade1.json Link to http://localhost:38897/resources/grade1/cover-small.jpg: Response status code not HTTP OK/200. Got: 404

ERROR: http://localhost:38897/resources/grade1/grade1.json Manifest not discovered for learning resource ID URL: http://localhost:38897/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:38897/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:38897/resources/grade1/grade1.json

DEBUG: http://localhost:38897/resources/grade1/lesson001/lesson001.json Validating Opds Publication: title "Lesson 001" and identifier: https://example.app/id/lesson001

ERROR: http://localhost:38897/resources/grade1/lesson001/lesson001.json Manifest not discovered for learning resource ID URL: http://localhost:38897/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:38897/resources/grade1/lesson001/lesson001.json Skipping link as it has already been visited: http://localhost:38897/resources/grade1/lesson001/lesson001.json

DEBUG: http://localhost:38897/resources/grade1/grade1.json Skipping link as it has already been visited: http://localhost:38897/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.