Skip to content

Commit

Permalink
test: rename tests of non-ASCII characters file names
Browse files Browse the repository at this point in the history
The test files for non-ASCII characters in file names still had the
`-warning` suffix, even if this is now reported as a usage (`PKG-012`).
This commit renames the files accordingly.

It also adds spec ref tags to those tests.

Close #1384
  • Loading branch information
rdeltour committed Dec 9, 2022
1 parent 62473b6 commit 9de0392
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/resources/epub3/04-ocf/ocf.feature
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,17 @@ Feature: EPUB 3 — Open Container Format
Then error PKG-009 is reported
And no other errors or warnings are reported

@spec @xref:sec-container-filenames
Scenario: Inform about non-ASCII characters in file names (full-publication check)
Given the reporting level is set to USAGE
When checking EPUB 'ocf-filename-character-non-ascii-warning'
When checking EPUB 'ocf-filename-character-non-ascii-usage'
Then usage PKG-012 is reported
And no other errors or warnings are reported

@spec @xref:sec-container-filenames
Scenario: Inform about non-ASCII characters in file names (single package doc check)
Given the reporting level is set to USAGE
When checking EPUB 'ocf-filename-character-non-ascii-warning.opf'
When checking EPUB 'ocf-filename-character-non-ascii-usage.opf'
Then usage PKG-012 is reported
And no other errors or warnings are reported

Expand Down

0 comments on commit 9de0392

Please sign in to comment.