[xwiki/xwiki-platform] a80fc3: [Misc] Convert XHTML2FOTest to JUnit5 + cleanup tests
Branch: refs/heads/stable-17.10.x Home: https://github.com/xwiki/xwiki-platform Commit: a80fc312b38f0626f912cf17a9ee4c92055a8e41 https://github.com/xwiki/xwiki-platform/commit/a80fc312b38f0626f912cf17a9ee4... Author: Vincent Massol <[email protected]> Date: 2026-08-12 (Wed, 12 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/internal/pdf/XHTML2FOTest.java Log Message: ----------- [Misc] Convert XHTML2FOTest to JUnit5 + cleanup tests Partial cherry-pick that only contains the changes of XHTML2FOTest so that the fix of XWIKI-24582 can be cherry-picked cleanly. (partially cherry picked from commit ce3d787b03a084c22efecfbdb48a46c1d9c25f3c) Commit: fdfde78f01ec52fd52d0a89baea961cf687a0619 https://github.com/xwiki/xwiki-platform/commit/fdfde78f01ec52fd52d0a89baea96... Author: Michael Hamann <[email protected]> Date: 2026-08-12 (Wed, 12 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/xhtml2fo.xsl M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/internal/pdf/XHTML2FOTest.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/pdf/impl/PdfExportImplTest.java Log Message: ----------- XWIKI-24582: Old PDF export fail with custom CSS rules (#6134) * Transform CSS Color Level 4 notations that aren't understood by Apache FOP into either a fully transparent (when fully transparent) or fully opaque color. While this drops transparency in some cases, this is the best we can get with Apache FOP. * Change existing tests to use Hamcrest containsString for better assertion errors. Co-authored-by: Claude Opus 5 (1M context) <[email protected]> (cherry picked from commit bf85a1198d9d05fbb323ad1001aa976e568c97ca) Compare: https://github.com/xwiki/xwiki-platform/compare/0937de325a74...fdfde78f01ec To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications