From 93cc6b4d278a3ba06e4f3ebbf5632229cd01c625 Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 28 Mar 2006 13:52:49 +0000 Subject: [PATCH] --- support/test/org/wamblee/xml/XmlUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/test/org/wamblee/xml/XmlUtils.java b/support/test/org/wamblee/xml/XmlUtils.java index 7d0fb123..638d64e4 100644 --- a/support/test/org/wamblee/xml/XmlUtils.java +++ b/support/test/org/wamblee/xml/XmlUtils.java @@ -96,7 +96,7 @@ public final class XmlUtils { List actualAttrs = aActual.attributes(); Collections.sort(actualAttrs, new AttributeComparator()); - TestCase.assertEquals(aMsg + "/count(@*)", expectedAttrs.size(), + TestCase.assertEquals("count(" + aMsg + "/@*)", expectedAttrs.size(), actualAttrs.size()); for (int i = 0; i < expectedAttrs.size(); i++) { String msg = aMsg + "/@" + expectedAttrs.get(i).getName(); @@ -106,7 +106,7 @@ public final class XmlUtils { // Nested elements. List expectedElems = aExpected.elements(); List actualElems = aActual.elements(); - TestCase.assertEquals(aMsg + "/count(*)", expectedElems.size(), + TestCase.assertEquals("count(" + aMsg + "/*)", expectedElems.size(), actualElems.size()); // determine the how-manyth element of the given name we are at. // Maps element name to the last used index (or null if not yet used) -- 2.31.1