Skip to content

Commit ae5f7d8

Browse files
committed
More verbose ignore messages for ignored parsing tests
1 parent ed3efb3 commit ae5f7d8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

core/src/test/java/com/itextpdf/core/parser/HighlightItemsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void highlightCharactersIsoTc171() throws IOException, InterruptedExcepti
7373
}
7474

7575
@Test
76-
@Ignore("Seems to be a problem with decode")
76+
@Ignore("Seems to be a problem with decode. CJK not supported")
7777
public void highlightHeaderFooter() throws IOException, InterruptedException {
7878
String input = sourceFolder + "HeaderFooter.pdf";
7979
String output = outputPath + "HeaderFooter.pdf";
@@ -83,7 +83,7 @@ public void highlightHeaderFooter() throws IOException, InterruptedException {
8383
}
8484

8585
@Test
86-
@Ignore("Seems to be a problem with decode")
86+
@Ignore("Seems to be a problem with decode. CJK not supported")
8787
public void highlightCharactersHeaderFooter() throws IOException, InterruptedException {
8888
String input = sourceFolder + "HeaderFooter.pdf";
8989
String output = outputPath + "HeaderFooter_characters.pdf";

core/src/test/java/com/itextpdf/core/parser/IndicTextExtractionTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ public class IndicTextExtractionTest extends ExtendedITextTest {
1919
private static final String sourceFolder = "./src/test/resources/com/itextpdf/core/parser/IndicTextExtractionTest/";
2020

2121
@Test
22-
@Ignore("Seems to be a problem with decode. Also note that /ActualText is parsed. For pure content stream parsing set useActualText to false")
22+
@Ignore("Seems to be a problem with decode. We need to support /ToUnicode mapping to several characters (ligatures case). " +
23+
"Also note that /ActualText is parsed. For pure content stream parsing set useActualText to false")
2324
public void test01() throws IOException {
2425
PdfDocument pdfDocument = new PdfDocument(new PdfReader(sourceFolder + "test01.pdf"));
2526

@@ -61,7 +62,8 @@ public void test01() throws IOException {
6162
}
6263

6364
@Test
64-
@Ignore("Seems to be a problem with decode. Also note that /ActualText is parsed. For pure content stream parsing set useActualText to false")
65+
@Ignore("Seems to be a problem with decode. We need to support /ToUnicode mapping to several characters (ligatures case). " +
66+
"Also note that /ActualText is parsed. For pure content stream parsing set useActualText to false")
6567
public void test02() throws IOException {
6668
PdfDocument pdfDocument = new PdfDocument(new PdfReader(sourceFolder + "test01.pdf"));
6769
String text = "\u0926\u0947\u0935\u0928\u093E\u0917\u0930\u0940 \u090F\u0915 \u0932\u093F\u092A\u093F \u0939\u0948 \u091C\u093F\u0938\u092E\u0947\u0902 \u0905\u0928\u0947\u0915 \u092D\u093E\u0930\u0924\u0940\u092F \u092D\u093E\u0937\u093E\u090F\u0901 \u0924\u0925\u093E \u0915\u0941\u091B \u0935\u093F\u0926\u0947\u0936\u0940 \u092D\u093E\u0937\u093E\u090F\u0902 \u0932\u093F\u0916\u0940\u0902 \u091C\u093E\u0924\u0940 \u0939\u0948\u0902\u0964 \u0926\u0947\u0935\u0928\u093E\u0917\u0930\u0940 \u092C\u093E\u092F\u0947\u0902 \u0938\u0947 \u0926\u093E\u092F\u0947\u0902 \u0932\u093F\u0916\u0940 \u091C\u093E\u0924\u0940 \u0939\u0948, \u0907\u0938\u0915\u0940 \u092A\u0939\u091A\u093E\u0928 \u090F\u0915 \u0915\u094D\u0937\u0948\u0924\u093F\u091C \u0930\u0947\u0916\u093E \u0938\u0947 \u0939\u0948 \u091C\u093F\u0938\u0947 \'\u0936\u093F\u0930\u093F\u0930\u0947\u0916\u093E\' \u0915\u0939\u0924\u0947 \u0939\u0948\u0902\u0964 \u0938\u0902\u0938\u094D\u0915\u0943\u0924, \u092A\u093E\u0932\u093F, \u0939\u093F\u0928\u094D\u0926\u0940, \u092E\u0930\u093E\u0920\u0940, \u0915\u094B\u0902\u0915\u0923\u0940, \u0938\u093F\u0928\u094D\u0927\u0940, \u0915\u0936\u094D\u092E\u0940\u0930\u0940, \u0921\u094B\u0917\u0930\u0940, \u0928\u0947\u092A\u093E\u0932\u0940, \u0928\u0947\u092A\u093E\u0932 \u092D\u093E\u0937\u093E (\u0924\u0925\u093E \u0905\u0928\u094D\u092F \u0928\u0947\u092A\u093E\u0932\u0940 \u0909\u092A\u092D\u093E\u0937\u093E\u090F\u0901), \u0924\u093E\u092E\u093E\u0919 \u092D\u093E\u0937\u093E, \u0917\u0922\u093C\u0935\u093E\u0932\u0940, \u092C\u094B\u0921\u094B, \u0905\u0902\u0917\u093F\u0915\u093E, \u092E\u0917\u0939\u0940, \u092D\u094B\u091C\u092A\u0941\u0930\u0940, \u092E\u0948\u0925\u093F\u0932\u0940, \u0938\u0902\u0925\u093E\u0932\u0940 \u0906\u0926\u093F \u092D\u093E\u0937\u093E\u090F\u0901 \u0926\u0947\u0935\u0928\u093E\u0917\u0930\u0940 \u092E\u0947\u0902 \u0932\u093F\u0916\u0940 \u091C\u093E\u0924\u0940 \u0939\u0948\u0902\u0964 \u0907\u0938\u0915\u0947 \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924 \u0915\u0941\u091B \u0938\u094D\u0925\u093F\u0924\u093F\u092F\u094B\u0902 \u092E\u0947\u0902 \u0917\u0941\u091C\u0930\u093E\u0924\u0940, \u092A\u0902\u091C\u093E\u092C\u0940, \u092C\u093F\u0937\u094D\u0923\u0941\u092A\u0941\u0930\u093F\u092F\u093E \u092E\u0923\u093F\u092A\u0941\u0930\u0940, \u0930\u094B\u092E\u093E\u0928\u0940 \u0914\u0930 \u0909\u0930\u094D\u0926\u0942 \u092D\u093E\u0937\u093E\u090F\u0902 \u092D\u0940 \u0926\u0947\u0935\u0928\u093E\u0917\u0930\u0940 \u092E\u0947\u0902 \u0932\u093F\u0916\u0940 \u091C\u093E\u0924\u0940 \u0939\u0948\u0902\u0964";

0 commit comments

Comments
 (0)