xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adelme...@apache.org
Subject svn commit: r280971 - /xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/ext/AssertElement.java
Date Wed, 14 Sep 2005 23:51:17 GMT
Author: adelmelle
Date: Wed Sep 14 16:51:14 2005
New Revision: 280971

URL: http://svn.apache.org/viewcvs?rev=280971&view=rev
Log:
Added line-/column-number output for easier tracing of errors

Modified:
    xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/ext/AssertElement.java

Modified: xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/ext/AssertElement.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/ext/AssertElement.java?rev=280971&r1=280970&r2=280971&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/ext/AssertElement.java (original)
+++ xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/ext/AssertElement.java Wed Sep
14 16:51:14 2005
@@ -62,7 +62,9 @@
             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()));
             }
         }
         



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message