mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-19 06:05:56 +02:00
[263190][testing] Avoid test failures due to SSH connection without password
This commit is contained in:
parent
fe348860a0
commit
ea5789755a
1 changed files with 12 additions and 1 deletions
|
@ -50,6 +50,7 @@ public class RSEFileStoreTest extends FileServiceBaseTest {
|
|||
private String fPropertiesFileName;
|
||||
//For testing the test: verify methods on Eclipse Local Filesystem
|
||||
public static String fDefaultPropertiesFile = null;
|
||||
//public static String fDefaultPropertiesFile = "sshConnection.properties"; //$NON-NLS-1$
|
||||
|
||||
private IRemoteFile fHomeDirectory;
|
||||
private String fTestStorePath;
|
||||
|
@ -88,7 +89,7 @@ public class RSEFileStoreTest extends FileServiceBaseTest {
|
|||
|
||||
//// Add a test suite for each connection type
|
||||
//String[] connTypes = { null, "local", "ssh", "ftp", "linux", "windows" };
|
||||
String[] connTypes = { null, "local", "ssh" };
|
||||
String[] connTypes = { null, "local" };
|
||||
//String[] connTypes = { "ssh" };
|
||||
|
||||
for (int i = 0; i < connTypes.length; i++) {
|
||||
|
@ -619,6 +620,16 @@ public class RSEFileStoreTest extends FileServiceBaseTest {
|
|||
assertFalse("5.3", child2.fetchInfo().exists());
|
||||
}
|
||||
|
||||
public static Test suite255files() {
|
||||
String baseName = RSEFileStoreTest.class.getName();
|
||||
TestSuite suite = new TestSuite(baseName);
|
||||
suite.addTest(new RSEFileStoreTest("test255files", "sshConnection.properties"));
|
||||
suite.addTest(new RSEFileStoreTest("test255files", "linuxConnection.properties"));
|
||||
suite.addTest(new RSEFileStoreTest("test255files", "sshConnection.properties"));
|
||||
suite.addTest(new RSEFileStoreTest("test255files", "linuxConnection.properties"));
|
||||
return suite;
|
||||
}
|
||||
|
||||
public void test255files() throws Exception {
|
||||
if (isTestDisabled())
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue