You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-commits@incubator.apache.org by ng...@apache.org on 2007/08/30 15:44:49 UTC

svn commit: r571215 - in /incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl: IOClientAuthTest.java IOExplicitSSLTest.java IOExplicitTLSTest.java IOImplicitClientAuthTest.java IOImplicitSSLTest.java IOImplicitTLSTest.java

Author: ngn
Date: Thu Aug 30 08:44:48 2007
New Revision: 571215

URL: http://svn.apache.org/viewvc?rev=571215&view=rev
Log:
Doubled up all SSL tests so that both MINA and IO listeners are covered

Added:
    incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOClientAuthTest.java   (with props)
    incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitSSLTest.java   (with props)
    incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitTLSTest.java   (with props)
    incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitClientAuthTest.java   (with props)
    incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitSSLTest.java   (with props)
    incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitTLSTest.java   (with props)

Added: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOClientAuthTest.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOClientAuthTest.java?rev=571215&view=auto
==============================================================================
--- incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOClientAuthTest.java (added)
+++ incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOClientAuthTest.java Thu Aug 30 08:44:48 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ftpserver.ssl;
+
+import java.util.Properties;
+
+import org.apache.ftpserver.listener.io.IOListener;
+
+
+public class IOClientAuthTest extends MinaClientAuthTest {
+
+    protected Properties createConfig() {
+        Properties configProps = super.createConfig();
+        configProps.setProperty("config.listeners.default.class", IOListener.class.getName());
+        return configProps;
+    }
+
+}

Propchange: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOClientAuthTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitSSLTest.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitSSLTest.java?rev=571215&view=auto
==============================================================================
--- incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitSSLTest.java (added)
+++ incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitSSLTest.java Thu Aug 30 08:44:48 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ftpserver.ssl;
+
+import java.util.Properties;
+
+import org.apache.ftpserver.listener.io.IOListener;
+
+
+public class IOExplicitSSLTest extends MinaExplicitSSLTest {
+
+    protected Properties createConfig() {
+        Properties configProps = super.createConfig();
+        configProps.setProperty("config.listeners.default.class", IOListener.class.getName());
+        return configProps;
+    }
+
+}

Propchange: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitSSLTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitTLSTest.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitTLSTest.java?rev=571215&view=auto
==============================================================================
--- incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitTLSTest.java (added)
+++ incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitTLSTest.java Thu Aug 30 08:44:48 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ftpserver.ssl;
+
+import java.util.Properties;
+
+import org.apache.ftpserver.listener.io.IOListener;
+
+
+public class IOExplicitTLSTest extends MinaExplicitTLSTest {
+
+    protected Properties createConfig() {
+        Properties configProps = super.createConfig();
+        configProps.setProperty("config.listeners.default.class", IOListener.class.getName());
+        return configProps;
+    }
+
+}

Propchange: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOExplicitTLSTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitClientAuthTest.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitClientAuthTest.java?rev=571215&view=auto
==============================================================================
--- incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitClientAuthTest.java (added)
+++ incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitClientAuthTest.java Thu Aug 30 08:44:48 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ftpserver.ssl;
+
+import java.util.Properties;
+
+import org.apache.ftpserver.listener.io.IOListener;
+
+
+public class IOImplicitClientAuthTest extends MinaImplicitClientAuthTest {
+
+    protected Properties createConfig() {
+        Properties configProps = super.createConfig();
+        configProps.setProperty("config.listeners.default.class", IOListener.class.getName());
+        return configProps;
+    }
+
+}

Propchange: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitClientAuthTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitSSLTest.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitSSLTest.java?rev=571215&view=auto
==============================================================================
--- incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitSSLTest.java (added)
+++ incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitSSLTest.java Thu Aug 30 08:44:48 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ftpserver.ssl;
+
+import java.util.Properties;
+
+import org.apache.ftpserver.listener.io.IOListener;
+
+
+public class IOImplicitSSLTest extends MinaImplicitSSLTest {
+
+    protected Properties createConfig() {
+        Properties configProps = super.createConfig();
+        configProps.setProperty("config.listeners.default.class", IOListener.class.getName());
+        return configProps;
+    }
+
+}

Propchange: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitSSLTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitTLSTest.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitTLSTest.java?rev=571215&view=auto
==============================================================================
--- incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitTLSTest.java (added)
+++ incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitTLSTest.java Thu Aug 30 08:44:48 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ftpserver.ssl;
+
+import java.util.Properties;
+
+import org.apache.ftpserver.listener.io.IOListener;
+
+
+public class IOImplicitTLSTest extends MinaImplicitTLSTest {
+
+    protected Properties createConfig() {
+        Properties configProps = super.createConfig();
+        configProps.setProperty("config.listeners.default.class", IOListener.class.getName());
+        return configProps;
+    }
+
+}

Propchange: incubator/ftpserver/trunk/ssl-tests/src/test/org/apache/ftpserver/ssl/IOImplicitTLSTest.java
------------------------------------------------------------------------------
    svn:eol-style = native