removed unused imports and disabled test

This commit is contained in:
2012-01-12 08:25:54 +01:00
parent 6263681e8f
commit ee64f27c22

View File

@@ -18,13 +18,8 @@
*/
package ch.psi.fda.core.loops;
import java.io.File;
import java.net.MalformedURLException;
import java.net.UnknownHostException;
import java.util.logging.Logger;
import jcifs.smb.NtlmPasswordAuthentication;
import jcifs.smb.SmbException;
import jcifs.smb.SmbFile;
import org.junit.Ignore;
@@ -40,17 +35,17 @@ public class SambaTest {
private static final Logger logger = Logger.getLogger(SambaTest.class.getName());
@Ignore
@Test
public void testSamba() throws Exception{
try{
System.setProperty("jcifs.smb.client.dfs.disabled", "true");
// System.setProperty("jcifs.smb.client.dfs.disabled", "true");
// System.setProperty("jcifs.smb.client.ssnLimit", "1");
// System.setProperty("jcifs.smb.client.domain", "x05la.psi.ch");
System.setProperty("jcifs.smb.client.username", "x05laop");
System.setProperty("jcifs.smb.client.password", "mXAS");
System.setProperty("jcifs.util.loglevel", "6");
//
// System.setProperty("jcifs.util.loglevel", "6");
// System.setProperty("jcifs.smb.lmCompatibility", "0");
@@ -71,10 +66,5 @@ public class SambaTest {
logger.info(""+tmpDir.isDirectory());
SmbFile tmpFile = new SmbFile(tmpDir, "000000.txt.lock");
tmpFile.exists();
}
catch(Exception e){
e.printStackTrace();
throw e;
}
}
}