From ec6c61918e312bc485b65f1d728b5be82cfa4940 Mon Sep 17 00:00:00 2001 From: Bert Frees Date: Wed, 13 Jan 2016 20:56:35 +0100 Subject: [PATCH] Clean up tests generated from DP2 tests Delete tests that are covered by another test or that will be covered by new ones to be added later. --- .../engine/impl/MarkerIndicatorTest.java | 18 +- .../dotify/engine/impl/TakenFromDP2Test.java | 189 ------------------ .../test_01-expected.pef | 2 +- .../test_format.xprocspec/test_01-input.obfl | 2 +- .../test_02-expected.pef | 48 ----- .../test_format.xprocspec/test_02-input.obfl | 51 ----- .../test_03-expected.pef | 28 --- .../test_format.xprocspec/test_03-input.obfl | 42 ---- .../test_04-expected.pef | 2 +- .../test_format.xprocspec/test_04-input.obfl | 2 +- .../test_05-expected.pef | 2 +- .../test_format.xprocspec/test_05-input.obfl | 2 +- .../test_06-expected.pef | 23 --- .../test_format.xprocspec/test_06-input.obfl | 31 --- .../test_07-expected.pef | 124 ------------ .../test_format.xprocspec/test_07-input.obfl | 112 ----------- .../test_08-expected.pef | 44 ---- .../test_format.xprocspec/test_08-input.obfl | 37 ---- .../test_09-expected.pef | 22 -- .../test_format.xprocspec/test_09-input.obfl | 17 -- .../test_10-expected.pef | 26 --- .../test_format.xprocspec/test_10-input.obfl | 20 -- .../test_11-expected.pef | 29 --- .../test_format.xprocspec/test_11-input.obfl | 20 -- .../test_12-expected.pef | 21 -- .../test_format.xprocspec/test_12-input.obfl | 17 -- .../test_13-expected.pef | 19 -- .../test_format.xprocspec/test_13-input.obfl | 20 -- .../test_14-expected.pef | 19 -- .../test_format.xprocspec/test_14-input.obfl | 18 -- .../test_15-expected.pef | 19 -- .../test_format.xprocspec/test_15-input.obfl | 18 -- .../test_16-expected.pef | 2 +- .../test_format.xprocspec/test_16-input.obfl | 2 +- .../test_17-expected.pef | 2 +- .../test_format.xprocspec/test_17-input.obfl | 2 +- .../test_18-expected.pef | 23 --- .../test_format.xprocspec/test_18-input.obfl | 23 --- .../test_19-expected.pef | 23 --- .../test_format.xprocspec/test_19-input.obfl | 20 -- .../test_20-expected.pef | 56 ------ .../test_format.xprocspec/test_20-input.obfl | 52 ----- .../test_21-expected.pef | 2 +- .../test_format.xprocspec/test_21-input.obfl | 2 +- .../test_22-expected.pef | 2 +- .../test_format.xprocspec/test_22-input.obfl | 2 +- .../test_23-expected.pef | 20 -- .../test_format.xprocspec/test_23-input.obfl | 17 -- .../test_24-expected.pef | 23 --- .../test_format.xprocspec/test_24-input.obfl | 17 -- .../test_25-expected.pef | 2 +- .../test_format.xprocspec/test_25-input.obfl | 2 +- .../test_26-expected.pef | 2 +- .../test_format.xprocspec/test_26-input.obfl | 2 +- .../test_27-expected.pef | 2 +- .../test_format.xprocspec/test_27-input.obfl | 2 +- .../test_28-expected.pef | 22 -- .../test_format.xprocspec/test_28-input.obfl | 19 -- .../test_29-expected.pef | 22 -- .../test_format.xprocspec/test_29-input.obfl | 19 -- .../test_30-expected.pef | 23 --- .../test_format.xprocspec/test_30-input.obfl | 21 -- .../test_31-expected.pef | 2 +- .../test_format.xprocspec/test_31-input.obfl | 2 +- .../test_32-expected.pef | 21 -- .../test_format.xprocspec/test_32-input.obfl | 18 -- .../test_33-expected.pef | 2 +- .../test_format.xprocspec/test_33-input.obfl | 2 +- .../test_34-expected.pef | 2 +- .../test_format.xprocspec/test_34-input.obfl | 2 +- .../test_35-expected.pef | 2 +- .../test_format.xprocspec/test_35-input.obfl | 2 +- .../test_36-expected.pef | 2 +- .../test_format.xprocspec/test_36-input.obfl | 2 +- .../test_37-expected.pef | 2 +- .../test_format.xprocspec/test_37-input.obfl | 2 +- .../test_38-expected.pef | 2 +- .../test_format.xprocspec/test_38-input.obfl | 2 +- .../test_39-expected.pef | 2 +- .../test_format.xprocspec/test_39-input.obfl | 2 +- .../test_40-expected.pef | 20 -- .../test_format.xprocspec/test_40-input.obfl | 20 -- .../test_41-expected.pef | 24 --- .../test_format.xprocspec/test_41-input.obfl | 23 --- .../test_42-expected.pef | 2 +- .../test_format.xprocspec/test_42-input.obfl | 2 +- .../test_43-expected.pef | 2 +- .../test_format.xprocspec/test_43-input.obfl | 2 +- .../test_44-expected.pef | 2 +- .../test_format.xprocspec/test_44-input.obfl | 2 +- .../test_45-expected.pef | 2 +- .../test_format.xprocspec/test_45-input.obfl | 2 +- .../test_46-expected.pef | 2 +- .../test_format.xprocspec/test_46-input.obfl | 2 +- .../test_47-expected.pef | 30 --- .../test_format.xprocspec/test_47-input.obfl | 42 ---- .../test_48-expected.pef | 67 ------- .../test_format.xprocspec/test_48-input.obfl | 86 -------- .../test_49-expected.pef | 2 +- .../test_format.xprocspec/test_49-input.obfl | 2 +- .../test_50-expected.pef | 2 +- .../test_format.xprocspec/test_50-input.obfl | 2 +- .../test_51-expected.pef | 2 +- .../test_format.xprocspec/test_51-input.obfl | 2 +- .../test_52-expected.pef | 42 ---- .../test_format.xprocspec/test_52-input.obfl | 43 ---- .../test_53-expected.pef | 60 ------ .../test_format.xprocspec/test_53-input.obfl | 55 ----- .../test_54-expected.pef | 41 ---- .../test_format.xprocspec/test_54-input.obfl | 44 ---- .../test_55-expected.pef | 27 --- .../test_format.xprocspec/test_55-input.obfl | 26 --- .../test_56-expected.pef | 23 --- .../test_format.xprocspec/test_56-input.obfl | 28 --- .../test_57-expected.pef | 23 --- .../test_format.xprocspec/test_57-input.obfl | 28 --- .../test_01-expected.pef | 23 --- .../test_01-input.obfl | 27 --- .../test_02-expected.pef | 2 +- .../test_02-input.obfl | 2 +- .../test_03-expected.pef | 2 +- .../test_03-input.obfl | 2 +- .../test_04-expected.pef | 2 +- .../test_04-input.obfl | 2 +- .../test_05-expected.pef | 2 +- .../test_05-input.obfl | 2 +- .../test_06-expected.pef | 2 +- .../test_06-input.obfl | 2 +- .../test_07-expected.pef | 22 -- .../test_07-input.obfl | 19 -- .../test_08-expected.pef | 2 +- .../test_08-input.obfl | 2 +- .../test_09-expected.pef | 2 +- .../test_09-input.obfl | 2 +- .../test_10-expected.pef | 22 -- .../test_10-input.obfl | 17 -- .../test_11-expected.pef | 2 +- .../test_11-input.obfl | 2 +- .../test_12-expected.pef | 2 +- .../test_12-input.obfl | 2 +- .../test_13-expected.pef | 2 +- .../test_13-input.obfl | 2 +- .../test_14-expected.pef | 2 +- .../test_14-input.obfl | 2 +- .../test_15-expected.pef | 2 +- .../test_15-input.obfl | 2 +- .../test_16-expected.pef | 2 +- .../test_16-input.obfl | 2 +- .../test_17-expected.pef | 2 +- .../test_17-input.obfl | 2 +- .../test_18-expected.pef | 2 +- .../test_18-input.obfl | 2 +- .../test_19-expected.pef | 2 +- .../test_19-input.obfl | 2 +- .../test_20-expected.pef | 2 +- .../test_20-input.obfl | 2 +- .../test_21-expected.pef | 2 +- .../test_21-input.obfl | 2 +- .../test_22-expected.pef | 69 ------- .../test_22-input.obfl | 25 --- .../test_23-expected.pef | 2 +- .../test_23-input.obfl | 2 +- .../test_24-expected.pef | 2 +- .../test_24-input.obfl | 2 +- .../test_25-expected.pef | 2 +- .../test_25-input.obfl | 2 +- .../test_26-expected.pef | 40 ---- .../test_26-input.obfl | 42 ---- .../test_27-expected.pef | 2 +- .../test_27-input.obfl | 2 +- .../test_28-expected.pef | 2 +- .../test_28-input.obfl | 2 +- .../test_29-expected.pef | 2 +- .../test_29-input.obfl | 2 +- 174 files changed, 106 insertions(+), 2623 deletions(-) delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_02-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_02-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_03-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_03-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_06-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_06-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_07-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_07-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_08-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_08-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_09-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_09-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_10-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_10-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_11-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_11-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_12-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_12-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_13-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_13-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_14-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_14-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_15-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_15-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_18-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_18-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_19-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_19-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_20-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_20-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_23-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_23-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_24-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_24-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_28-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_28-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_29-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_29-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_30-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_30-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_32-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_32-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_40-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_40-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_41-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_41-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_47-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_47-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_48-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_48-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_52-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_52-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_53-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_53-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_54-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_54-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_55-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_55-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_56-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_56-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_57-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_57-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_obfl-to-pef.xprocspec/test_01-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_obfl-to-pef.xprocspec/test_01-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_obfl-to-pef.xprocspec/test_07-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_obfl-to-pef.xprocspec/test_07-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_obfl-to-pef.xprocspec/test_10-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_obfl-to-pef.xprocspec/test_10-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_obfl-to-pef.xprocspec/test_22-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_obfl-to-pef.xprocspec/test_22-input.obfl delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_obfl-to-pef.xprocspec/test_26-expected.pef delete mode 100644 dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_obfl-to-pef.xprocspec/test_26-input.obfl diff --git a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/MarkerIndicatorTest.java b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/MarkerIndicatorTest.java index d51e89a2..9cab01fb 100644 --- a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/MarkerIndicatorTest.java +++ b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/MarkerIndicatorTest.java @@ -11,20 +11,14 @@ public class MarkerIndicatorTest extends AbstractFormatterEngineTest { public void testPageMargin_01() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/marker-indicator-input.obfl", "resource-files/marker-indicator-expected.pef", false); } - - @Test - public void testFormat_55() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_55-input.obfl", - "resource-files/test_format.xprocspec/test_55-expected.pef", true); - } @Test - public void testFormat_56() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_56-input.obfl", - "resource-files/test_format.xprocspec/test_56-expected.pef", true); + public void testObflToPef_27() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { + testPEF("resource-files/test_obfl-to-pef.xprocspec/test_27-input.obfl", + "resource-files/test_obfl-to-pef.xprocspec/test_27-expected.pef", false); } @Test - public void testFormat_57() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_57-input.obfl", - "resource-files/test_format.xprocspec/test_57-expected.pef", true); + public void testObflToPef_28() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { + testPEF("resource-files/test_obfl-to-pef.xprocspec/test_28-input.obfl", + "resource-files/test_obfl-to-pef.xprocspec/test_28-expected.pef", false); } } diff --git a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/TakenFromDP2Test.java b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/TakenFromDP2Test.java index 5b5eb155..77238f1d 100644 --- a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/TakenFromDP2Test.java +++ b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/TakenFromDP2Test.java @@ -9,11 +9,6 @@ public class TakenFromDP2Test extends AbstractFormatterEngineTest { - @Test - public void testObflToPef_01() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_obfl-to-pef.xprocspec/test_01-input.obfl", - "resource-files/test_obfl-to-pef.xprocspec/test_01-expected.pef", false); - } @Test public void testObflToPef_02() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/test_obfl-to-pef.xprocspec/test_02-input.obfl", @@ -43,12 +38,6 @@ public void testObflToPef_06() throws LayoutEngineException, IOException, PagedM testPEF("resource-files/test_obfl-to-pef.xprocspec/test_06-input.obfl", "resource-files/test_obfl-to-pef.xprocspec/test_06-expected.pef", false); } - @Ignore // depends on a custom translator - @Test - public void testObflToPef_07() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_obfl-to-pef.xprocspec/test_07-input.obfl", - "resource-files/test_obfl-to-pef.xprocspec/test_07-expected.pef", false); - } @Test public void testObflToPef_08() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/test_obfl-to-pef.xprocspec/test_08-input.obfl", @@ -59,13 +48,6 @@ public void testObflToPef_09() throws LayoutEngineException, IOException, PagedM testPEF("resource-files/test_obfl-to-pef.xprocspec/test_09-input.obfl", "resource-files/test_obfl-to-pef.xprocspec/test_09-expected.pef", false); } - @Ignore // depends on org.daisy.pipeline.braille.dotify.impl.BrailleFilterFactoryImpl - // (breaks lines according to css line breaking rules) - @Test - public void testObflToPef_10() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_obfl-to-pef.xprocspec/test_10-input.obfl", - "resource-files/test_obfl-to-pef.xprocspec/test_10-expected.pef", false); - } @Test public void testObflToPef_11() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/test_obfl-to-pef.xprocspec/test_11-input.obfl", @@ -122,11 +104,6 @@ public void testObflToPef_21() throws LayoutEngineException, IOException, PagedM "resource-files/test_obfl-to-pef.xprocspec/test_21-expected.pef", false); } @Test - public void testObflToPef_22() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_obfl-to-pef.xprocspec/test_22-input.obfl", - "resource-files/test_obfl-to-pef.xprocspec/test_22-expected.pef", false); - } - @Test public void testObflToPef_23() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/test_obfl-to-pef.xprocspec/test_23-input.obfl", "resource-files/test_obfl-to-pef.xprocspec/test_23-expected.pef", false); @@ -141,21 +118,6 @@ public void testObflToPef_25() throws LayoutEngineException, IOException, PagedM testPEF("resource-files/test_obfl-to-pef.xprocspec/test_25-input.obfl", "resource-files/test_obfl-to-pef.xprocspec/test_25-expected.pef", false); } - @Test - public void testObflToPef_26() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_obfl-to-pef.xprocspec/test_26-input.obfl", - "resource-files/test_obfl-to-pef.xprocspec/test_26-expected.pef", false); - } - @Test - public void testObflToPef_27() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_obfl-to-pef.xprocspec/test_27-input.obfl", - "resource-files/test_obfl-to-pef.xprocspec/test_27-expected.pef", false); - } - @Test - public void testObflToPef_28() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_obfl-to-pef.xprocspec/test_28-input.obfl", - "resource-files/test_obfl-to-pef.xprocspec/test_28-expected.pef", false); - } @Ignore // regression in dotify 2.0.0-SNAPSHOT? @Test public void testObflToPef_29() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { @@ -167,21 +129,6 @@ public void testFormat_01() throws LayoutEngineException, IOException, PagedMedi testPEF("resource-files/test_format.xprocspec/test_01-input.obfl", "resource-files/test_format.xprocspec/test_01-expected.pef", false); } - @Ignore // * depends on org.daisy.pipeline.braille.dotify.impl.BrailleFilterFactoryImpl - // * position of middle field of header/footer depends on width of - // fields in left and right corner, so centering is not perfect - // (not sure if this is a requirement though) - @Test - public void testFormat_02() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_02-input.obfl", - "resource-files/test_format.xprocspec/test_02-expected.pef", false); - } - @Ignore // depends on org.daisy.pipeline.braille.dotify.impl.BrailleFilterFactoryImpl - @Test - public void testFormat_03() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_03-input.obfl", - "resource-files/test_format.xprocspec/test_03-expected.pef", false); - } @Ignore // is this a page numbering bug? @Test public void testFormat_04() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { @@ -193,57 +140,6 @@ public void testFormat_05() throws LayoutEngineException, IOException, PagedMedi testPEF("resource-files/test_format.xprocspec/test_05-input.obfl", "resource-files/test_format.xprocspec/test_05-expected.pef", false); } - @Ignore // depends on org.daisy.pipeline.braille.dotify.impl.BrailleFilterFactoryImpl - @Test - public void testFormat_06() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_06-input.obfl", - "resource-files/test_format.xprocspec/test_06-expected.pef", false); - } - @Test - public void testFormat_07() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_07-input.obfl", - "resource-files/test_format.xprocspec/test_07-expected.pef", false); - } - @Test - public void testFormat_08() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_08-input.obfl", - "resource-files/test_format.xprocspec/test_08-expected.pef", false); - } - @Test - public void testFormat_09() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_09-input.obfl", - "resource-files/test_format.xprocspec/test_09-expected.pef", false); - } - @Test - public void testFormat_10() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_10-input.obfl", - "resource-files/test_format.xprocspec/test_10-expected.pef", false); - } - @Test - public void testFormat_11() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_11-input.obfl", - "resource-files/test_format.xprocspec/test_11-expected.pef", false); - } - @Test - public void testFormat_12() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_12-input.obfl", - "resource-files/test_format.xprocspec/test_12-expected.pef", false); - } - @Test - public void testFormat_13() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_13-input.obfl", - "resource-files/test_format.xprocspec/test_13-expected.pef", false); - } - @Test - public void testFormat_14() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_14-input.obfl", - "resource-files/test_format.xprocspec/test_14-expected.pef", false); - } - @Test - public void testFormat_15() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_15-input.obfl", - "resource-files/test_format.xprocspec/test_15-expected.pef", false); - } @Test public void testFormat_16() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/test_format.xprocspec/test_16-input.obfl", @@ -254,22 +150,6 @@ public void testFormat_17() throws LayoutEngineException, IOException, PagedMedi testPEF("resource-files/test_format.xprocspec/test_17-input.obfl", "resource-files/test_format.xprocspec/test_17-expected.pef", false); } - @Test - public void testFormat_18() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_18-input.obfl", - "resource-files/test_format.xprocspec/test_18-expected.pef", false); - } - @Test - public void testFormat_19() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_19-input.obfl", - "resource-files/test_format.xprocspec/test_19-expected.pef", false); - } - @Ignore // leader issue - @Test - public void testFormat_20() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_20-input.obfl", - "resource-files/test_format.xprocspec/test_20-expected.pef", false); - } @Ignore // leader issue @Test public void testFormat_21() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { @@ -284,16 +164,6 @@ public void testFormat_22() throws LayoutEngineException, IOException, PagedMedi "resource-files/test_format.xprocspec/test_22-expected.pef", false); } @Test - public void testFormat_23() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_23-input.obfl", - "resource-files/test_format.xprocspec/test_23-expected.pef", false); - } - @Test - public void testFormat_24() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_24-input.obfl", - "resource-files/test_format.xprocspec/test_24-expected.pef", false); - } - @Test public void testFormat_25() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/test_format.xprocspec/test_25-input.obfl", "resource-files/test_format.xprocspec/test_25-expected.pef", false); @@ -309,31 +179,11 @@ public void testFormat_27() throws LayoutEngineException, IOException, PagedMedi "resource-files/test_format.xprocspec/test_27-expected.pef", false); } @Test - public void testFormat_28() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_28-input.obfl", - "resource-files/test_format.xprocspec/test_28-expected.pef", false); - } - @Test - public void testFormat_29() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_29-input.obfl", - "resource-files/test_format.xprocspec/test_29-expected.pef", false); - } - @Test - public void testFormat_30() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_30-input.obfl", - "resource-files/test_format.xprocspec/test_30-expected.pef", false); - } - @Test public void testFormat_31() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/test_format.xprocspec/test_31-input.obfl", "resource-files/test_format.xprocspec/test_31-expected.pef", false); } @Test - public void testFormat_32() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_32-input.obfl", - "resource-files/test_format.xprocspec/test_32-expected.pef", false); - } - @Test public void testFormat_33() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/test_format.xprocspec/test_33-input.obfl", "resource-files/test_format.xprocspec/test_33-expected.pef", false); @@ -369,16 +219,6 @@ public void testFormat_39() throws LayoutEngineException, IOException, PagedMedi "resource-files/test_format.xprocspec/test_39-expected.pef", false); } @Test - public void testFormat_40() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_40-input.obfl", - "resource-files/test_format.xprocspec/test_40-expected.pef", false); - } - @Test - public void testFormat_41() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_41-input.obfl", - "resource-files/test_format.xprocspec/test_41-expected.pef", false); - } - @Test public void testFormat_42() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/test_format.xprocspec/test_42-input.obfl", "resource-files/test_format.xprocspec/test_42-expected.pef", false); @@ -404,17 +244,6 @@ public void testFormat_46() throws LayoutEngineException, IOException, PagedMedi "resource-files/test_format.xprocspec/test_46-expected.pef", false); } @Test - public void testFormat_47() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_47-input.obfl", - "resource-files/test_format.xprocspec/test_47-expected.pef", false); - } - @Ignore // depends on org.daisy.pipeline.braille.dotify.impl.BrailleFilterFactoryImpl - @Test - public void testFormat_48() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_48-input.obfl", - "resource-files/test_format.xprocspec/test_48-expected.pef", false); - } - @Test public void testFormat_49() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { testPEF("resource-files/test_format.xprocspec/test_49-input.obfl", "resource-files/test_format.xprocspec/test_49-expected.pef", false); @@ -430,22 +259,4 @@ public void testFormat_51() throws LayoutEngineException, IOException, PagedMedi testPEF("resource-files/test_format.xprocspec/test_51-input.obfl", "resource-files/test_format.xprocspec/test_51-expected.pef", false); } - @Ignore // depends on org.daisy.pipeline.braille.dotify.impl.BrailleFilterFactoryImpl - @Test - public void testFormat_52() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_52-input.obfl", - "resource-files/test_format.xprocspec/test_52-expected.pef", false); - } - @Ignore // depends on org.daisy.pipeline.braille.dotify.impl.BrailleFilterFactoryImpl - @Test - public void testFormat_53() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_53-input.obfl", - "resource-files/test_format.xprocspec/test_53-expected.pef", false); - } - @Ignore // depends on org.daisy.pipeline.braille.dotify.impl.BrailleFilterFactoryImpl - @Test - public void testFormat_54() throws LayoutEngineException, IOException, PagedMediaWriterConfigurationException { - testPEF("resource-files/test_format.xprocspec/test_54-input.obfl", - "resource-files/test_format.xprocspec/test_54-expected.pef", false); - } } diff --git a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_01-expected.pef b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_01-expected.pef index b02323b4..a7f79d4a 100644 --- a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_01-expected.pef +++ b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_01-expected.pef @@ -2,7 +2,7 @@ - test_01 + test_format.xprocspec/test_01 application/x-pef+xml diff --git a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_01-input.obfl b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_01-input.obfl index 8cf39d7e..ec4b88ba 100644 --- a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_01-input.obfl +++ b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_01-input.obfl @@ -1,7 +1,7 @@ - test_01 + test_format.xprocspec/test_01 diff --git a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_02-expected.pef b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_02-expected.pef deleted file mode 100644 index 21ed15c5..00000000 --- a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_02-expected.pef +++ /dev/null @@ -1,48 +0,0 @@ - - - - - test_02 - - application/x-pef+xml - - - - -
- - - ⠤⠤⠤ - - - - ⠤⠤⠤ - - - ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠤ - - - - ⠤⠤⠤ - - - ⠀⠀⠀⠀⠀⠀⠀⠀⠤⠤⠀⠀⠀⠀⠀⠀⠀⠀⠤⠤ - - - ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠤⠤⠀⠀⠀⠀⠀⠀⠀⠀⠀ - ⠤⠤⠤ - - - ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠤⠤⠀⠀⠀⠀⠀⠀⠀⠀⠀ - - - ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠤⠤⠀⠀⠀⠀⠀⠀⠀⠀⠀ - ⠤⠤⠤ - - - ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠤⠤⠤ - -
-
- -
\ No newline at end of file diff --git a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_02-input.obfl b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_02-input.obfl deleted file mode 100644 index 8e270bd7..00000000 --- a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_02-input.obfl +++ /dev/null @@ -1,51 +0,0 @@ - - - - test_02 - - - - -
- - - - - - - - - - - -
-
- - - - - - - - - - - - - -
-
-
- - ⠤⠤⠤ - - ⠤⠤⠤ - - ⠤⠤⠤ - - ⠤⠤⠤ - - ⠤⠤⠤ - - -
diff --git a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_03-expected.pef b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_03-expected.pef deleted file mode 100644 index 8b37f596..00000000 --- a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_03-expected.pef +++ /dev/null @@ -1,28 +0,0 @@ - - - - - test_03 - - application/x-pef+xml - - - - -
- - ⠤⠤⠤ - -
-
- - ⠤⠤⠤ - - - - ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠤⠤⠀⠀⠀⠀⠀⠀⠀⠀⠤ - -
-
- -
\ No newline at end of file diff --git a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_03-input.obfl b/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_03-input.obfl deleted file mode 100644 index e18a8222..00000000 --- a/dotify.formatter.impl/test/org/daisy/dotify/engine/impl/resource-files/test_format.xprocspec/test_03-input.obfl +++ /dev/null @@ -1,42 +0,0 @@ - - - - test_03 - - - - -
-