From 620e8ee84cb2d144f57883ca48237b313fad673a Mon Sep 17 00:00:00 2001 From: Romain Deltour Date: Mon, 28 Dec 2020 15:31:38 +0100 Subject: [PATCH] refactor: rename a test to better apply naming conventions --- .../EPUB/chapter_001_overlay.smil | 0 .../EPUB/content_001.xhtml | 0 .../EPUB/nav.xhtml | 0 .../EPUB/package.opf | 0 .../META-INF/container.xml | 0 .../mimetype | 0 src/test/resources/epub3/package-publication.feature | 2 +- 7 files changed, 1 insertion(+), 1 deletion(-) rename src/test/resources/epub3/files/epub/{package-manifest-prop-remote-resource-overlays-error => resources-remote-audio-in-overlays-missing-property-error}/EPUB/chapter_001_overlay.smil (100%) rename src/test/resources/epub3/files/epub/{package-manifest-prop-remote-resource-overlays-error => resources-remote-audio-in-overlays-missing-property-error}/EPUB/content_001.xhtml (100%) rename src/test/resources/epub3/files/epub/{package-manifest-prop-remote-resource-overlays-error => resources-remote-audio-in-overlays-missing-property-error}/EPUB/nav.xhtml (100%) rename src/test/resources/epub3/files/epub/{package-manifest-prop-remote-resource-overlays-error => resources-remote-audio-in-overlays-missing-property-error}/EPUB/package.opf (100%) rename src/test/resources/epub3/files/epub/{package-manifest-prop-remote-resource-overlays-error => resources-remote-audio-in-overlays-missing-property-error}/META-INF/container.xml (100%) rename src/test/resources/epub3/files/epub/{package-manifest-prop-remote-resource-overlays-error => resources-remote-audio-in-overlays-missing-property-error}/mimetype (100%) diff --git a/src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/EPUB/chapter_001_overlay.smil b/src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/EPUB/chapter_001_overlay.smil similarity index 100% rename from src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/EPUB/chapter_001_overlay.smil rename to src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/EPUB/chapter_001_overlay.smil diff --git a/src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/EPUB/content_001.xhtml b/src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/EPUB/content_001.xhtml similarity index 100% rename from src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/EPUB/content_001.xhtml rename to src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/EPUB/content_001.xhtml diff --git a/src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/EPUB/nav.xhtml b/src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/EPUB/nav.xhtml similarity index 100% rename from src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/EPUB/nav.xhtml rename to src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/EPUB/nav.xhtml diff --git a/src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/EPUB/package.opf b/src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/EPUB/package.opf similarity index 100% rename from src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/EPUB/package.opf rename to src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/EPUB/package.opf diff --git a/src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/META-INF/container.xml b/src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/META-INF/container.xml similarity index 100% rename from src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/META-INF/container.xml rename to src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/META-INF/container.xml diff --git a/src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/mimetype b/src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/mimetype similarity index 100% rename from src/test/resources/epub3/files/epub/package-manifest-prop-remote-resource-overlays-error/mimetype rename to src/test/resources/epub3/files/epub/resources-remote-audio-in-overlays-missing-property-error/mimetype diff --git a/src/test/resources/epub3/package-publication.feature b/src/test/resources/epub3/package-publication.feature index 79047d1d3..8d51428bf 100644 --- a/src/test/resources/epub3/package-publication.feature +++ b/src/test/resources/epub3/package-publication.feature @@ -175,7 +175,7 @@ Feature: EPUB 3 ▸ Packages ▸ Full Publication Checks And no other errors or warnings are reported Scenario: Report a media overlay document with remote resources but missing the `remote-resources` property - When checking EPUB 'package-manifest-prop-remote-resource-overlays-error' + When checking EPUB 'resources-remote-audio-in-overlays-missing-property-error' Then error OPF-014 is reported And no other errors or warnings are reported