You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2010/07/19 17:01:10 UTC
svn commit: r965520 -
/subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
Author: dannas
Date: Mon Jul 19 15:01:09 2010
New Revision: 965520
URL: http://svn.apache.org/viewvc?rev=965520&view=rev
Log:
Update a javahl test to always display a diff header, even if we just have
property changes.
* subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
(testDiff): Add diff headers to the expected diff output.
Modified:
subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
Modified: subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java?rev=965520&r1=965519&r2=965520&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java (original)
+++ subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java Mon Jul 19 15:01:09 2010
@@ -2856,7 +2856,10 @@ public class BasicTests extends SVNTests
String aPath = fileToSVNPath(new File(thisTest.getWCPath() + "/A"),
false);
- expectedDiffOutput = NL + "Property changes on: A" + NL +
+ expectedDiffOutput = "Index: A" + NL + sepLine +
+ "--- A\t(revision 1)" + NL +
+ "+++ A\t(working copy)" + NL +
+ NL + "Property changes on: A" + NL +
underSepLine +
"Added: testprop" + NL +
"## -0,0 +1 ##" + NL +
@@ -2872,7 +2875,10 @@ public class BasicTests extends SVNTests
expectedDiffOutput, diffOutput);
// Test diff where relativeToDir and path are the same.
- expectedDiffOutput = NL + "Property changes on: ." + NL +
+ expectedDiffOutput = "Index: ." + NL + sepLine +
+ "--- .\t(revision 1)" + NL +
+ "+++ .\t(working copy)" + NL +
+ NL + "Property changes on: ." + NL +
underSepLine +
"Added: testprop" + NL +
"## -0,0 +1 ##" + NL +