ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1069350 - in /webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi: IntersectTest.java MergeTest.java NormalizeTest.java
Date Thu, 10 Feb 2011 12:06:26 GMT
Author: dkulp
Date: Thu Feb 10 12:06:26 2011
New Revision: 1069350

URL: http://svn.apache.org/viewvc?rev=1069350&view=rev
Log:
Ignore .snv dirs

Modified:
    webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/IntersectTest.java
    webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/MergeTest.java
    webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/NormalizeTest.java

Modified: webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/IntersectTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/IntersectTest.java?rev=1069350&r1=1069349&r2=1069350&view=diff
==============================================================================
--- webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/IntersectTest.java
(original)
+++ webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/IntersectTest.java
Thu Feb 10 12:06:26 2011
@@ -70,6 +70,11 @@ public class IntersectTest extends Polic
             if (files[i].isHidden()) { // to ignore .svn files
                 continue;
             }
+            if (f.startsWith(".")) {
+                continue;
+            }
+
+            
             boolean strict = !f.contains("lax");
             if (f.contains("-lax")) {
                 f = f.substring(0, f.indexOf("-lax")) + f.substring(f.indexOf("-lax") + 4);

Modified: webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/MergeTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/MergeTest.java?rev=1069350&r1=1069349&r2=1069350&view=diff
==============================================================================
--- webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/MergeTest.java
(original)
+++ webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/MergeTest.java
Thu Feb 10 12:06:26 2011
@@ -62,6 +62,11 @@ public class MergeTest extends PolicyTes
             }
 
             f = files[i].getName();
+            if (f.startsWith(".")) {
+                continue;
+            }
+
+            
             f1 = f.substring(f.indexOf('y') + 1, f.indexOf('-'));
             f2 = f.substring(f.indexOf('-') + 1, f.indexOf('.'));
 

Modified: webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/NormalizeTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/NormalizeTest.java?rev=1069350&r1=1069349&r2=1069350&view=diff
==============================================================================
--- webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/NormalizeTest.java
(original)
+++ webservices/commons/trunk/modules/neethi/src/test/java/org/apache/neethi/NormalizeTest.java
Thu Feb 10 12:06:26 2011
@@ -74,6 +74,9 @@ public class NormalizeTest extends Polic
             if (excludes.contains(name)) {
                 continue;
             }
+            if (name.startsWith(".")) {
+                continue;
+            }
             
             r1 = base + File.separator + name;
             r2 = normalized + File.separator + name;



Mime
View raw message