You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2019/06/09 09:35:43 UTC

svn commit: r1860887 - /xmlbeans/trunk/test/src/compile/scomp/incr/schemaCompile/detailed/IncrCompilationTests.java

Author: fanningpj
Date: Sun Jun  9 09:35:43 2019
New Revision: 1860887

URL: http://svn.apache.org/viewvc?rev=1860887&view=rev
Log:
fix test that assumes Windows paths

Modified:
    xmlbeans/trunk/test/src/compile/scomp/incr/schemaCompile/detailed/IncrCompilationTests.java

Modified: xmlbeans/trunk/test/src/compile/scomp/incr/schemaCompile/detailed/IncrCompilationTests.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/test/src/compile/scomp/incr/schemaCompile/detailed/IncrCompilationTests.java?rev=1860887&r1=1860886&r2=1860887&view=diff
==============================================================================
--- xmlbeans/trunk/test/src/compile/scomp/incr/schemaCompile/detailed/IncrCompilationTests.java (original)
+++ xmlbeans/trunk/test/src/compile/scomp/incr/schemaCompile/detailed/IncrCompilationTests.java Sun Jun  9 09:35:43 2019
@@ -49,7 +49,7 @@ public class IncrCompilationTests extend
 
     @After
     public void tearDown() throws Exception {
-            if (errors.size() > 0)
+        if (errors.size() > 0)
             errors.clear();
     }
 
@@ -338,8 +338,9 @@ public class IncrCompilationTests extend
         Set keyset = initialTimeStamps.keySet();
 
         // Atype has been modified, BType has been removed
-        String modifiedFileName = out.getCanonicalFile() + "\\org\\openuri\\impl\\ATypeImpl.java";
-        String modifiedFileName2 = out.getCanonicalFile() + "\\org\\openuri\\AType.java";
+        String sep = System.getProperty("file.separator");
+        String modifiedFileName = out.getCanonicalFile() + sep + "org" + sep + "openuri" + sep + "impl" + sep + "ATypeImpl.java";
+        String modifiedFileName2 = out.getCanonicalFile() + sep + "org" + sep + "openuri" + sep + "AType.java";
 
         for (Iterator iterator = keyset.iterator(); iterator.hasNext();) {
             String eachFile = (String) iterator.next();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org