-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: report ZIP checks after the 'Validating…' message
Internal changes: - move the zip header checks from the `EpubCheck` class to the `OCFChecker` class - run the checks _after_ the "Validating using EPUB version…" message - make sure the checks are run in any case even when the validation aborts before the "Validating using EPUB version…" message. Test changes: - add a CLI test case for the message ordering - update the invalid mimetype test files to be based on the minimal EPUB - remove a duplicate test case (`lorem-mimetype-2`) Fix #1025
- Loading branch information
Showing
19 changed files
with
187 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
src/test/resources/30/expanded/invalid/lorem-mimetype-2/EPUB/lorem.css
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
src/test/resources/30/expanded/invalid/lorem-mimetype-2/EPUB/lorem.opf
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.