Author: dmaliarevich
Date: 2010-06-25 10:28:17 -0400 (Fri, 25 Jun 2010)
New Revision: 23041
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/TestDomUtil.java
Log:
https://jira.jboss.org/browse/JBIDE-6539 , details were added to the error message.
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/TestDomUtil.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/TestDomUtil.java 2010-06-25
14:03:39 UTC (rev 23040)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/TestDomUtil.java 2010-06-25
14:28:17 UTC (rev 23041)
@@ -156,6 +156,7 @@
+ "\" but must be \"" + modelNode.getNodeValue().trim()
//$NON-NLS-1$
+ "\""); //$NON-NLS-1$
}
+
// compare node's attributes
if (modelNode.getNodeType() == Node.ELEMENT_NODE) {
compareAttributes(modelNode.getAttributes(), vpeNode
@@ -283,7 +284,9 @@
"VPE element has less style parameters [" //$NON-NLS-1$
+ vpeStyle.size()
+ "] than was specified [" //$NON-NLS-1$
- + xmlStyle.size() + "]."); //$NON-NLS-1$
+ + xmlStyle.size() + "]." //$NON-NLS-1$
+ + "\n Expected: " + xmlStyle //$NON-NLS-1$
+ + "\n Was: " + vpeStyle); //$NON-NLS-1$
} else {
if ((xmlStyle.size() > 0) && (vpeStyle.size() > 0)) {
for (String key : xmlStyle.keySet()) {