You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2025/01/18 14:22:08 UTC

svn commit: r1923207 - /pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java

Author: tilman
Date: Sat Jan 18 14:22:08 2025
New Revision: 1923207

URL: http://svn.apache.org/viewvc?rev=1923207&view=rev
Log:
PDFBOX-5660: adjust test to improved exception message

Modified:
    pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java

Modified: pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java?rev=1923207&r1=1923206&r2=1923207&view=diff
==============================================================================
--- pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java (original)
+++ pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java Sat Jan 18 14:22:08 2025
@@ -655,7 +655,7 @@ this.getClass().getResourceAsStream("/or
             }
             catch (IllegalStateException e)
             {
-                assertEquals("could not find the glyphId for the character: あ", e.getMessage());
+                assertEquals("could not find the glyphId for the character: あ, codePoint: 12354 (0x3042)", e.getMessage());
                 return;
             }
 
@@ -684,7 +684,7 @@ this.getClass().getResourceAsStream("/or
             }
             catch (IllegalStateException e)
             {
-                assertEquals("could not find the glyphId for the character: 𩸽" ,e.getMessage());
+                assertEquals("could not find the glyphId for the character: 𩸽, codePoint: 171581 (0x29E3D)" ,e.getMessage());
                 return;
             }