mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-15 13:05:22 +02:00
[tests] Add "FTP Windows" systemType for testing
This commit is contained in:
parent
d13a5e88bb
commit
ba066ebbb3
3 changed files with 74 additions and 0 deletions
|
@ -59,6 +59,19 @@
|
||||||
icon="icons/systemconnection.gif"
|
icon="icons/systemconnection.gif"
|
||||||
priority="2000">
|
priority="2000">
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
||||||
|
<configuration
|
||||||
|
id="org.eclipse.rse.tests.subsystems.ftp.windows"
|
||||||
|
systemTypeIds="org.eclipse.rse.tests.systemType.ftp.windows"
|
||||||
|
name="FTP Windows"
|
||||||
|
description="FTP Windows Description"
|
||||||
|
category="files"
|
||||||
|
class="org.eclipse.rse.tests.subsystems.files.FTPWindowsFileSubSystemConfiguration"
|
||||||
|
priority="100"
|
||||||
|
vendor="Tests"
|
||||||
|
serviceType="_ftp._tcp">
|
||||||
|
</configuration>
|
||||||
|
|
||||||
</extension>
|
</extension>
|
||||||
|
|
||||||
<extension
|
<extension
|
||||||
|
@ -70,6 +83,16 @@
|
||||||
id="org.eclipse.rse.tests.testSystemType"
|
id="org.eclipse.rse.tests.testSystemType"
|
||||||
name="Tests Only">
|
name="Tests Only">
|
||||||
</systemType>
|
</systemType>
|
||||||
|
<systemType
|
||||||
|
enableOffline="false"
|
||||||
|
id="org.eclipse.rse.tests.systemType.ftp.windows"
|
||||||
|
label="FTP Windows"
|
||||||
|
name="FTP Windows">
|
||||||
|
<property
|
||||||
|
name="isWindows"
|
||||||
|
value="true">
|
||||||
|
</property>
|
||||||
|
</systemType>
|
||||||
</extension>
|
</extension>
|
||||||
|
|
||||||
<extension point="org.eclipse.rse.core.modelInitializers">
|
<extension point="org.eclipse.rse.core.modelInitializers">
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2008 Wind River Systems, Inc. and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Martin Oberhuber (Wind River) - initial API and implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
|
package org.eclipse.rse.tests.subsystems.files;
|
||||||
|
|
||||||
|
import org.eclipse.rse.subsystems.files.ftp.FTPFileSubSystemConfiguration;
|
||||||
|
|
||||||
|
public class FTPWindowsFileSubSystemConfiguration extends FTPFileSubSystemConfiguration {
|
||||||
|
|
||||||
|
public FTPWindowsFileSubSystemConfiguration() {
|
||||||
|
super();
|
||||||
|
setIsUnixStyle(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
###############################################################################
|
||||||
|
# Copyright (c) 2008 IBM Corporation and others. All rights reserved.
|
||||||
|
# All rights reserved. This program and the accompanying materials
|
||||||
|
# are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
# which accompanies this distribution, and is available at
|
||||||
|
# http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
#
|
||||||
|
# Contributors:
|
||||||
|
# IBM Corporation - initial API and implementation
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
# name/label for this ftp connection
|
||||||
|
name = test_ftp_only_windows
|
||||||
|
|
||||||
|
# profile name this connection should be created for
|
||||||
|
profile_name = junit_test_profile
|
||||||
|
|
||||||
|
# FTP system ID
|
||||||
|
system_type_id = org.eclipse.rse.tests.systemType.ftp.windows
|
||||||
|
|
||||||
|
# Address of ftp connection
|
||||||
|
address = 127.0.0.1
|
||||||
|
|
||||||
|
# userid to connect to ftp connection
|
||||||
|
userid = d
|
||||||
|
|
||||||
|
# password to connect to ftp connection
|
||||||
|
password = d
|
Loading…
Add table
Reference in a new issue