Author: markphip
Date: Wed Oct  5 20:43:13 2011
New Revision: 1179430

URL: http://svn.apache.org/viewvc?rev=1179430&view=rev
Log:
JavaHL: Show a bug in current code by expanding test suite to
assert that the URL for incoming status items is not null. The
bug I see is that when you run equivalent of svn st -u the 
status callback for items that are new in the repository have
a null for the URL.

[ subversion/bindings/javahl/ ]
* tests/org/apache/subversion/javahl/WC.java
  (check): Assert that URL is not null for incoming status items.


Modified:
    
subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/WC.java

Modified: 
subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/WC.java
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/WC.java?rev=1179430&r1=1179429&r2=1179430&view=diff
==============================================================================
--- 
subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/WC.java
 (original)
+++ 
subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/WC.java
 Wed Oct  5 20:43:13 2011
@@ -519,6 +519,8 @@ public class WC
                                         + item.myPath + "' don't match:",
                                         item.reposLastCmtAuthor,
                                         status.getReposLastCmtAuthor());
+                    Assert.assertNotNull("URL for status item should not be 
null", 
+                                        status.getUrl());
                 }
             }
             item.touched = true;


Reply via email to