You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2014/11/26 12:55:41 UTC
svn commit: r1641798 -
/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/mockfile/TestMockFilesystems.java
Author: rmuir
Date: Wed Nov 26 11:55:41 2014
New Revision: 1641798
URL: http://svn.apache.org/r1641798
Log:
disable windows here
Modified:
lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/mockfile/TestMockFilesystems.java
Modified: lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/mockfile/TestMockFilesystems.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/mockfile/TestMockFilesystems.java?rev=1641798&r1=1641797&r2=1641798&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/mockfile/TestMockFilesystems.java (original)
+++ lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/mockfile/TestMockFilesystems.java Wed Nov 26 11:55:41 2014
@@ -30,6 +30,7 @@ import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
import java.util.concurrent.atomic.AtomicBoolean;
+import org.apache.lucene.util.Constants;
import org.apache.lucene.util.InfoStream;
import org.apache.lucene.util.LuceneTestCase;
@@ -123,6 +124,7 @@ public class TestMockFilesystems extends
}
public void testDeleteOpenFile() throws IOException {
+ assumeFalse("windows is not supported", Constants.WINDOWS);
Path dir = FilterPath.unwrap(createTempDir());
FileSystem fs = new WindowsFS(dir.getFileSystem()).getFileSystem(URI.create("file:///"));
Path wrapped = new FilterPath(dir, fs);
@@ -141,6 +143,7 @@ public class TestMockFilesystems extends
}
public void testDeleteIfExistsOpenFile() throws IOException {
+ assumeFalse("windows is not supported", Constants.WINDOWS);
Path dir = FilterPath.unwrap(createTempDir());
FileSystem fs = new WindowsFS(dir.getFileSystem()).getFileSystem(URI.create("file:///"));
Path wrapped = new FilterPath(dir, fs);
@@ -159,6 +162,7 @@ public class TestMockFilesystems extends
}
public void testRenameOpenFile() throws IOException {
+ assumeFalse("windows is not supported", Constants.WINDOWS);
Path dir = FilterPath.unwrap(createTempDir());
FileSystem fs = new WindowsFS(dir.getFileSystem()).getFileSystem(URI.create("file:///"));
Path wrapped = new FilterPath(dir, fs);