You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2013/11/28 04:48:12 UTC
svn commit: r1546274 - in
/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons: ./ vfs2/
vfs2/auth/ vfs2/provider/ vfs2/provider/ftps/test/ vfs2/provider/hdfs/test/
vfs2/provider/http/test/ vfs2/provider/https/test/ vfs2/provider/jar/test/
v...
Author: ggregory
Date: Thu Nov 28 03:48:11 2013
New Revision: 1546274
URL: http://svn.apache.org/r1546274
Log:
Reorg imports.
Modified:
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/AbstractVfsTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/UserAuthenticationDataTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/auth/StaticUserAuthenticatorTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/UriParserTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/AbstractFtpsProviderTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderExplicitTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderImplicitTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/hdfs/test/HdfsFileProviderTest.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpFilesCacheTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpProviderTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/jar/test/JarAttributesTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/ConversionTestCase.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractTestSuite.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/PermissionsTests.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderRandomSetLengthTests.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/VerifyingFileSelector.java
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/AbstractVfsTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/AbstractVfsTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/AbstractVfsTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/AbstractVfsTestCase.java Thu Nov 28 03:48:11 2013
@@ -116,7 +116,7 @@ public abstract class AbstractVfsTestCas
baseDir = getCanonicalFile(new File(baseDirProp));
}
} else {
- baseDir = getCanonicalFile(new File(baseDirProp));
+ baseDir = getCanonicalFile(new File(baseDirProp));
}
}
return baseDir;
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/UserAuthenticationDataTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/UserAuthenticationDataTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/UserAuthenticationDataTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/UserAuthenticationDataTestCase.java Thu Nov 28 03:48:11 2013
@@ -16,7 +16,9 @@
*/
package org.apache.commons.vfs2;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertArrayEquals;
+import static org.junit.Assert.assertNull;
+import static org.junit.Assert.assertSame;
import org.junit.Test;
@@ -34,7 +36,7 @@ public class UserAuthenticationDataTestC
data.setData(UserAuthenticationData.DOMAIN, "Apache Commons".toCharArray());
assertArrayEquals("Apache Commons".toCharArray(), data.getData(UserAuthenticationData.DOMAIN));
assertNull(data.getData(UserAuthenticationData.PASSWORD));
-
+
data.cleanup();
assertNull(data.getData(UserAuthenticationData.USERNAME));
assertNull(data.getData(UserAuthenticationData.DOMAIN));
@@ -45,7 +47,7 @@ public class UserAuthenticationDataTestC
@Test
public void testCustomType()
{
- final UserAuthenticationData.Type type = new UserAuthenticationData.Type("JUNIT");
+ final UserAuthenticationData.Type type = new UserAuthenticationData.Type("JUNIT");
final UserAuthenticationData data = new UserAuthenticationData();
final char[] array = "test".toCharArray();
data.setData(type, array);
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/auth/StaticUserAuthenticatorTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/auth/StaticUserAuthenticatorTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/auth/StaticUserAuthenticatorTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/auth/StaticUserAuthenticatorTestCase.java Thu Nov 28 03:48:11 2013
@@ -16,12 +16,14 @@
*/
package org.apache.commons.vfs2.auth;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertArrayEquals;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotEquals;
+import static org.junit.Assert.assertNull;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.vfs2.UserAuthenticationData;
import org.apache.commons.vfs2.UserAuthenticator;
-
import org.junit.Test;
public class StaticUserAuthenticatorTestCase
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/UriParserTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/UriParserTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/UriParserTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/UriParserTestCase.java Thu Nov 28 03:48:11 2013
@@ -17,7 +17,6 @@
package org.apache.commons.vfs2.provider;
import org.junit.Assert;
-
import org.junit.Test;
/**
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/AbstractFtpsProviderTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/AbstractFtpsProviderTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/AbstractFtpsProviderTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/AbstractFtpsProviderTestCase.java Thu Nov 28 03:48:11 2013
@@ -87,8 +87,8 @@ abstract class AbstractFtpsProviderTestC
/**
* Creates and starts an embedded Apache FTP Server (MINA).
- *
- * @param implicit FTPS connection mode
+ *
+ * @param implicit FTPS connection mode
* @throws FtpException
* @throws IOException
*/
@@ -147,7 +147,7 @@ abstract class AbstractFtpsProviderTestC
}
}
- static final class FtpProviderTestSuite extends ProviderTestSuite {
+ static final class FtpProviderTestSuite extends ProviderTestSuite {
private final boolean implicit;
public FtpProviderTestSuite(final AbstractFtpsProviderTestCase providerConfig) throws Exception
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderExplicitTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderExplicitTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderExplicitTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderExplicitTestCase.java Thu Nov 28 03:48:11 2013
@@ -16,12 +16,12 @@
*/
package org.apache.commons.vfs2.provider.ftps.test;
+import junit.framework.Test;
+
import org.apache.commons.vfs2.provider.ftps.FtpsDataChannelProtectionLevel;
import org.apache.commons.vfs2.provider.ftps.FtpsFileSystemConfigBuilder;
import org.apache.commons.vfs2.provider.ftps.FtpsMode;
-import junit.framework.Test;
-
/**
* Tests for FTPS file systems with explicit FTPS connection.
*/
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderImplicitTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderImplicitTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderImplicitTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderImplicitTestCase.java Thu Nov 28 03:48:11 2013
@@ -16,16 +16,16 @@
*/
package org.apache.commons.vfs2.provider.ftps.test;
+import junit.framework.Test;
+
import org.apache.commons.vfs2.provider.ftps.FtpsFileSystemConfigBuilder;
import org.apache.commons.vfs2.provider.ftps.FtpsMode;
-import junit.framework.Test;
-
/**
* Tests for FTPS file systems with implicit FTPS connection.
- *
+ *
* TODO: Fails for concurrent access.
- * Note, that the implicit mode is not standardized and the protocol may differ between the FTPS servers.
+ * Note, that the implicit mode is not standardized and the protocol may differ between the FTPS servers.
* @see <a href="http://en.wikipedia.org/wiki/FTPS#Implicit">Wikipedia: FTPS/Implicit</a>
*/
public class FtpsProviderImplicitTestCase extends AbstractFtpsProviderTestCase
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/hdfs/test/HdfsFileProviderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/hdfs/test/HdfsFileProviderTest.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/hdfs/test/HdfsFileProviderTest.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/hdfs/test/HdfsFileProviderTest.java Thu Nov 28 03:48:11 2013
@@ -31,7 +31,6 @@ import org.apache.commons.vfs2.impl.Defa
import org.apache.commons.vfs2.impl.DefaultFileSystemManager;
import org.apache.commons.vfs2.impl.FileContentInfoFilenameFactory;
import org.apache.commons.vfs2.provider.hdfs.HdfsFileAttributes;
-import org.apache.commons.vfs2.provider.hdfs.HdfsFileObject;
import org.apache.commons.vfs2.provider.hdfs.HdfsFileProvider;
import org.apache.commons.vfs2.util.RandomAccessMode;
import org.apache.hadoop.conf.Configuration;
@@ -334,7 +333,7 @@ public class HdfsFileProviderTest
// Create the test file
final FileObject file = createTestFile(hdfs);
- Assert.assertTrue(fo.exists());
+ Assert.assertTrue(fo.exists());
Assert.assertTrue(file.isReadable());
}
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpFilesCacheTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpFilesCacheTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpFilesCacheTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpFilesCacheTestCase.java Thu Nov 28 03:48:11 2013
@@ -16,13 +16,13 @@
*/
package org.apache.commons.vfs2.provider.http.test;
-import org.junit.Assert;
import junit.framework.TestCase;
import org.apache.commons.vfs2.FileObject;
import org.apache.commons.vfs2.FileSystemException;
import org.apache.commons.vfs2.FileSystemManager;
import org.apache.commons.vfs2.VFS;
+import org.junit.Assert;
import org.junit.Test;
/**
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpProviderTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpProviderTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpProviderTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpProviderTestCase.java Thu Nov 28 03:48:11 2013
@@ -19,7 +19,6 @@ package org.apache.commons.vfs2.provider
import java.io.File;
import java.io.IOException;
-import org.junit.Assert;
import junit.framework.Test;
import org.apache.commons.vfs2.FileNotFolderException;
@@ -35,6 +34,7 @@ import org.apache.commons.vfs2.test.Abst
import org.apache.commons.vfs2.test.ProviderTestSuite;
import org.apache.commons.vfs2.util.FreeSocketPortUtil;
import org.apache.commons.vfs2.util.NHttpServer;
+import org.junit.Assert;
/**
* Test cases for the HTTP provider.
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java Thu Nov 28 03:48:11 2013
@@ -26,7 +26,6 @@ import org.apache.commons.vfs2.FileSyste
import org.apache.commons.vfs2.FileSystemOptions;
import org.apache.commons.vfs2.VFS;
import org.apache.commons.vfs2.provider.http.HttpFileSystemConfigBuilder;
-
import org.junit.Assert;
import org.junit.Test;
@@ -43,7 +42,7 @@ public class GetContentInfoFunctionalTes
*
* @throws FileSystemException
* thrown when the getContentInfo API fails.
- * @throws MalformedURLException
+ * @throws MalformedURLException
* thrown when the System environment contains an invalid URL for an HTTPS proxy.
*/
@Test
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/jar/test/JarAttributesTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/jar/test/JarAttributesTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/jar/test/JarAttributesTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/jar/test/JarAttributesTestCase.java Thu Nov 28 03:48:11 2013
@@ -18,11 +18,11 @@ package org.apache.commons.vfs2.provider
import java.util.Map;
-import org.junit.Assert;
import junit.framework.TestCase;
import org.apache.commons.vfs2.FileObject;
import org.apache.commons.vfs2.VFS;
+import org.junit.Assert;
import org.junit.Test;
/**
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/ConversionTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/ConversionTestCase.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/ConversionTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/ConversionTestCase.java Thu Nov 28 03:48:11 2013
@@ -35,7 +35,7 @@ import org.junit.Test;
* Tests conversion from VFS to File.
* <p/>
* VFS-443 Need an easy way to convert from a FileObject to a File.
- *
+ *
* @version $Id$
*/
public class ConversionTestCase
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractTestSuite.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractTestSuite.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractTestSuite.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractTestSuite.java Thu Nov 28 03:48:11 2013
@@ -24,11 +24,10 @@ import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
-import junit.framework.Protectable;
-import junit.framework.TestResult;
-
import junit.extensions.TestSetup;
+import junit.framework.Protectable;
import junit.framework.Test;
+import junit.framework.TestResult;
import junit.framework.TestSuite;
import org.apache.commons.AbstractVfsTestCase;
@@ -233,7 +232,7 @@ public abstract class AbstractTestSuite
private void validateThreadSnapshot()
{
endThreadSnapshot = createThreadSnapshot();
-
+
final Thread[] diffThreadSnapshot = diffThreadSnapshot(startThreadSnapshot, endThreadSnapshot);
if (diffThreadSnapshot.length > 0)
{
@@ -293,7 +292,7 @@ public abstract class AbstractTestSuite
sb.append("#");
sb.append(iter + 1);
sb.append(": ");
- sb.append(thread.getThreadGroup() != null ?
+ sb.append(thread.getThreadGroup() != null ?
thread.getThreadGroup().getName() : "(null)");
sb.append("\t");
sb.append(thread.getName());
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/PermissionsTests.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/PermissionsTests.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/PermissionsTests.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/PermissionsTests.java Thu Nov 28 03:48:11 2013
@@ -18,13 +18,12 @@ package org.apache.commons.vfs2.test;
import java.io.OutputStream;
-import org.junit.Assert;
-
import org.apache.commons.lang3.SystemUtils;
import org.apache.commons.vfs2.Capability;
import org.apache.commons.vfs2.FileObject;
import org.apache.commons.vfs2.Selectors;
import org.apache.commons.vfs2.provider.local.LocalFileSystem;
+import org.junit.Assert;
/**
* Additional naming tests for local file system.
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderRandomSetLengthTests.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderRandomSetLengthTests.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderRandomSetLengthTests.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderRandomSetLengthTests.java Thu Nov 28 03:48:11 2013
@@ -18,13 +18,12 @@ package org.apache.commons.vfs2.test;
import java.io.IOException;
-import org.junit.Assert;
-
import org.apache.commons.vfs2.Capability;
import org.apache.commons.vfs2.FileObject;
import org.apache.commons.vfs2.RandomAccessContent;
import org.apache.commons.vfs2.Selectors;
import org.apache.commons.vfs2.util.RandomAccessMode;
+import org.junit.Assert;
/**
* Random set length test cases for file providers.
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java Thu Nov 28 03:48:11 2013
@@ -22,8 +22,6 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.List;
-import org.junit.Assert;
-
import org.apache.commons.vfs2.Capability;
import org.apache.commons.vfs2.FileContent;
import org.apache.commons.vfs2.FileContentInfo;
@@ -31,6 +29,7 @@ import org.apache.commons.vfs2.FileObjec
import org.apache.commons.vfs2.FileSystem;
import org.apache.commons.vfs2.FileSystemException;
import org.apache.commons.vfs2.FileType;
+import org.junit.Assert;
/**
* Read-only test cases for file providers.
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java Thu Nov 28 03:48:11 2013
@@ -21,8 +21,6 @@ import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
-import org.junit.Assert;
-
import org.apache.commons.vfs2.Capability;
import org.apache.commons.vfs2.FileChangeEvent;
import org.apache.commons.vfs2.FileContent;
@@ -32,6 +30,7 @@ import org.apache.commons.vfs2.FileSyste
import org.apache.commons.vfs2.FileSystemException;
import org.apache.commons.vfs2.FileType;
import org.apache.commons.vfs2.Selectors;
+import org.junit.Assert;
/**
* File system test that check that a file system can be modified.
Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/VerifyingFileSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/VerifyingFileSelector.java?rev=1546274&r1=1546273&r2=1546274&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/VerifyingFileSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/VerifyingFileSelector.java Thu Nov 28 03:48:11 2013
@@ -21,13 +21,12 @@ import java.util.HashSet;
import java.util.List;
import java.util.Set;
-import org.junit.Assert;
-
import org.apache.commons.vfs2.FileObject;
import org.apache.commons.vfs2.FileSelectInfo;
import org.apache.commons.vfs2.FileSelector;
import org.apache.commons.vfs2.FileSystemException;
import org.apache.commons.vfs2.FileType;
+import org.junit.Assert;
/**
* A file selector that asserts that all files are visited, in the correct