From: <bo...@us...> - 2010-09-14 07:28:56
|
Revision: 475 http://xmlunit.svn.sourceforge.net/xmlunit/?rev=475&view=rev Author: bodewig Date: 2010-09-14 07:28:50 +0000 (Tue, 14 Sep 2010) Log Message: ----------- whitespace Modified Paths: -------------- trunk/xmlunit/src/main/java-legacy/org/custommonkey/xmlunit/DifferenceConstants.java trunk/xmlunit/src/main/net-core/diff/DefaultNodeMatcher.cs trunk/xmlunit/src/tests/java-legacy/org/custommonkey/xmlunit/test_DetailedDiff.java trunk/xmlunit/src/tests/net-core/diff/DOMDifferenceEngineTest.cs Modified: trunk/xmlunit/src/main/java-legacy/org/custommonkey/xmlunit/DifferenceConstants.java =================================================================== --- trunk/xmlunit/src/main/java-legacy/org/custommonkey/xmlunit/DifferenceConstants.java 2010-09-14 07:26:52 UTC (rev 474) +++ trunk/xmlunit/src/main/java-legacy/org/custommonkey/xmlunit/DifferenceConstants.java 2010-09-14 07:28:50 UTC (rev 475) @@ -97,7 +97,7 @@ * attribute at all. */ int NO_NAMESPACE_SCHEMA_LOCATION_ID = 24; - + /** Comparing an implied attribute value against an explicit value */ public static final Difference ATTR_VALUE_EXPLICITLY_SPECIFIED = new Difference(ATTR_VALUE_EXPLICITLY_SPECIFIED_ID, @@ -181,7 +181,7 @@ public static final Difference CHILD_NODELIST_SEQUENCE = new Difference(CHILD_NODELIST_SEQUENCE_ID, "sequence of child nodes", true); - + /** Comparing 2 Documents only one of which has a doctype */ public static final Difference HAS_DOCTYPE_DECLARATION = new Difference(HAS_DOCTYPE_DECLARATION_ID, Modified: trunk/xmlunit/src/main/net-core/diff/DefaultNodeMatcher.cs =================================================================== --- trunk/xmlunit/src/main/net-core/diff/DefaultNodeMatcher.cs 2010-09-14 07:26:52 UTC (rev 474) +++ trunk/xmlunit/src/main/net-core/diff/DefaultNodeMatcher.cs 2010-09-14 07:28:50 UTC (rev 475) @@ -16,7 +16,7 @@ using System.Xml; namespace net.sf.xmlunit.diff { - + /// <summary> /// Strategy that matches control and tests nodes for comparison. /// </summary> Modified: trunk/xmlunit/src/tests/java-legacy/org/custommonkey/xmlunit/test_DetailedDiff.java =================================================================== --- trunk/xmlunit/src/tests/java-legacy/org/custommonkey/xmlunit/test_DetailedDiff.java 2010-09-14 07:26:52 UTC (rev 474) +++ trunk/xmlunit/src/tests/java-legacy/org/custommonkey/xmlunit/test_DetailedDiff.java 2010-09-14 07:28:50 UTC (rev 475) @@ -125,7 +125,7 @@ unmatchedNodes++; } } - + assertEquals(1402 + unmatchedNodes, differencesWithWhitespace.getAllDifferences().size()); @@ -169,7 +169,7 @@ assertEquals(i + " control " + aDifference.toString(), value, aDifference.getControlNodeDetail().getValue()); } - + expr = aDifference.getTestNodeDetail().getXpathLocation(); if (expr == null || expr.length()==0) { System.out.println(aDifference); @@ -219,7 +219,7 @@ // sequence of nodes assertEquals(3, l.size()); } - + /** * @see http://sourceforge.net/forum/forum.php?thread_id=1691528&forum_id=73274 */ @@ -241,7 +241,7 @@ + "<td>Newsitem 1</td>" + "</tr>" + "</table>"; - + DetailedDiff diff = new DetailedDiff(new Diff(control, test)); List changes = diff.getAllDifferences(); // number of children, text of first child, unexpected second Modified: trunk/xmlunit/src/tests/net-core/diff/DOMDifferenceEngineTest.cs =================================================================== --- trunk/xmlunit/src/tests/net-core/diff/DOMDifferenceEngineTest.cs 2010-09-14 07:26:52 UTC (rev 474) +++ trunk/xmlunit/src/tests/net-core/diff/DOMDifferenceEngineTest.cs 2010-09-14 07:28:50 UTC (rev 475) @@ -42,7 +42,7 @@ internal DiffExpecter(ComparisonType type, string controlXPath, string testXPath) : this(type, 1, true, controlXPath, testXPath) { } - + private DiffExpecter(ComparisonType type, int expected, bool withXPath, string controlXPath, string testXPath) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |