aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2005-09-14 23:51:14 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2005-09-14 23:51:14 +0000
commit5d5ef11369d11e898477c5985473ffb04ede1b50 (patch)
tree874059a553b3beb31e0b3ec0858390c4e6d13748 /test
parenta842d24885aa0a1eda141281cd2c563c21c1bb49 (diff)
downloadxmlgraphics-fop-5d5ef11369d11e898477c5985473ffb04ede1b50.tar.gz
xmlgraphics-fop-5d5ef11369d11e898477c5985473ffb04ede1b50.zip
Added line-/column-number output for easier tracing of errors
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280971 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/java/org/apache/fop/fotreetest/ext/AssertElement.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/java/org/apache/fop/fotreetest/ext/AssertElement.java b/test/java/org/apache/fop/fotreetest/ext/AssertElement.java
index 6d12073f7..ebd8335c1 100644
--- a/test/java/org/apache/fop/fotreetest/ext/AssertElement.java
+++ b/test/java/org/apache/fop/fotreetest/ext/AssertElement.java
@@ -62,7 +62,9 @@ public class AssertElement extends TestObj {
String expected = attlist.getValue("expected");
if (!expected.equals(s)) {
collector.notifyException(new IllegalStateException("Property '" + propName
- + "' expected to evaluate to '" + expected + "' but got: " + s));
+ + "' expected to evaluate to '" + expected + "' but got: " + s
+ + "\nLine #" + locator.getLineNumber()
+ + " Column #" + locator.getColumnNumber()));
}
}