From e2c211b7fbe6de49f0cfa3d161cf0c2255b1d446 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 1 Dec 2005 20:27:30 +0000 Subject: [PATCH] Test case for Bugzilla #37743, reduced to the absolute minimum. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351460 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/disabled-testcases.xml | 7 ++ .../inline_border_bug37743.xml | 64 +++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 test/layoutengine/standard-testcases/inline_border_bug37743.xml diff --git a/test/layoutengine/disabled-testcases.xml b/test/layoutengine/disabled-testcases.xml index f4fccc702..a4b3d64e6 100755 --- a/test/layoutengine/disabled-testcases.xml +++ b/test/layoutengine/disabled-testcases.xml @@ -123,6 +123,13 @@ Placing a table as a child of an fo:inline produces a NullPointerException. + + ClassCastException caused by inline border + inline_border_bug37743.xml + A ClassCastException occurs during element list creation when an + inline with a border is directly followed by character data. + http://issues.apache.org/bugzilla/show_bug.cgi?id=37743 + inline-container is not implemented, yet. inline-container_block_nested.xml diff --git a/test/layoutengine/standard-testcases/inline_border_bug37743.xml b/test/layoutengine/standard-testcases/inline_border_bug37743.xml new file mode 100644 index 000000000..446bcce89 --- /dev/null +++ b/test/layoutengine/standard-testcases/inline_border_bug37743.xml @@ -0,0 +1,64 @@ + + + + + +

+ This test checks the situation described in Bugzilla #37743: A ClassCastException after an fo:inline with a border + followed by a character. +

+
+ + + + + + + + + + inline. + inline test + + inline. + + + + + + + + + 3 + + + + + + + + + 3 + + + + + + 3 + + +
-- 2.39.5