Class world.respect.domain.validator.TestValidationScenarios

5

tests

0

failures

0

ignored

15.904s

duration

100%

successful

Tests

Test Method name Duration Result
givenCacheValidationHeadersNotProvided_whenValidated_thenWillReturnErrors[jvm] givenCacheValidationHeadersNotProvided_whenValidated_thenWillReturnErrors 2.334s passed
givenManifestDoesNotListResources_whenValidated_thenWillReturnError[jvm] givenManifestDoesNotListResources_whenValidated_thenWillReturnError 2.229s passed
givenManifestNotDiscoverable_whenValidated_thenWillReturnError[jvm] givenManifestNotDiscoverable_whenValidated_thenWillReturnError 2.427s passed
givenManifestResourcesDoNotExist_whenValidated_thenWillReturnErrors[jvm] givenManifestResourcesDoNotExist_whenValidated_thenWillReturnErrors 2.530s passed
givenValidManifest_whenValidated_thenWillReturnNoErrors[jvm] givenValidManifest_whenValidated_thenWillReturnNoErrors 6.384s passed

Standard output

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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