From a94916da666de2e214b15949792194e56e37d239 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Sun, 3 Jun 2012 03:12:55 -0700 Subject: [PATCH] Remove unnecessary test cases --- .../nio/nio/NioNioDatagramMulticastTest.java | 37 ------------------ .../socket/nio/nio/NioNioDatagramTest.java | 37 ------------------ .../nio/oio/NioOioDatagramMulticastTest.java | 39 ------------------- .../socket/nio/oio/NioOioDatagramTest.java | 37 ------------------ .../oio/nio/OioNioDatagramMulticastTest.java | 38 ------------------ .../socket/oio/nio/OioNioDatagramTest.java | 37 ------------------ .../oio/oio/OioOioDatagramMulticastTest.java | 36 ----------------- .../socket/oio/oio/OioOioDatagramTest.java | 36 ----------------- 8 files changed, 297 deletions(-) delete mode 100644 testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/nio/NioNioDatagramMulticastTest.java delete mode 100644 testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/nio/NioNioDatagramTest.java delete mode 100644 testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramMulticastTest.java delete mode 100644 testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramTest.java delete mode 100644 testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/nio/OioNioDatagramMulticastTest.java delete mode 100644 testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/nio/OioNioDatagramTest.java delete mode 100644 testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/oio/OioOioDatagramMulticastTest.java delete mode 100644 testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/oio/OioOioDatagramTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/nio/NioNioDatagramMulticastTest.java b/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/nio/NioNioDatagramMulticastTest.java deleted file mode 100644 index 0c1161c0ef..0000000000 --- a/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/nio/NioNioDatagramMulticastTest.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2011 The Netty Project - * - * The Netty Project 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 io.netty.testsuite.transport.socket.nio.nio; - -import java.util.concurrent.Executor; - -import io.netty.channel.socket.DatagramChannelFactory; -import io.netty.channel.socket.nio.NioDatagramChannel; -import io.netty.channel.socket.nio.NioDatagramChannelFactory; -import io.netty.testsuite.transport.socket.AbstractDatagramMulticastTest; - -public class NioNioDatagramMulticastTest extends AbstractDatagramMulticastTest { - - @Override - protected DatagramChannelFactory newServerSocketChannelFactory(Executor executor) { - return new NioDatagramChannelFactory(executor, NioDatagramChannel.ProtocolFamily.INET); - } - - @Override - protected DatagramChannelFactory newClientSocketChannelFactory(Executor executor) { - return new NioDatagramChannelFactory(executor, NioDatagramChannel.ProtocolFamily.INET); - } - -} diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/nio/NioNioDatagramTest.java b/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/nio/NioNioDatagramTest.java deleted file mode 100644 index cd1e3ba339..0000000000 --- a/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/nio/NioNioDatagramTest.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2011 The Netty Project - * - * The Netty Project 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 io.netty.testsuite.transport.socket.nio.nio; - -import java.util.concurrent.Executor; - -import io.netty.channel.socket.DatagramChannelFactory; -import io.netty.channel.socket.nio.NioDatagramChannelFactory; -import io.netty.testsuite.transport.socket.AbstractDatagramTest; - -public class NioNioDatagramTest extends AbstractDatagramTest{ - - - @Override - protected DatagramChannelFactory newServerSocketChannelFactory(Executor executor) { - return new NioDatagramChannelFactory(executor); - } - - @Override - protected DatagramChannelFactory newClientSocketChannelFactory(Executor executor) { - return new NioDatagramChannelFactory(executor); - } - -} diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramMulticastTest.java b/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramMulticastTest.java deleted file mode 100644 index 337618a1e4..0000000000 --- a/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramMulticastTest.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2011 The Netty Project - * - * The Netty Project 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 io.netty.testsuite.transport.socket.nio.oio; - -import java.util.concurrent.Executor; - -import io.netty.channel.socket.DatagramChannelFactory; -import io.netty.channel.socket.nio.NioDatagramChannel; -import io.netty.channel.socket.nio.NioDatagramChannelFactory; -import io.netty.channel.socket.oio.OioDatagramChannelFactory; -import io.netty.testsuite.transport.socket.AbstractDatagramMulticastTest; - -public class NioOioDatagramMulticastTest extends AbstractDatagramMulticastTest { - - @Override - protected DatagramChannelFactory newServerSocketChannelFactory(Executor executor) { - return new OioDatagramChannelFactory(executor); - } - - @Override - protected DatagramChannelFactory newClientSocketChannelFactory(Executor executor) { - return new NioDatagramChannelFactory(executor, NioDatagramChannel.ProtocolFamily.INET); - - } - -} diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramTest.java b/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramTest.java deleted file mode 100644 index f843c06733..0000000000 --- a/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramTest.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2011 The Netty Project - * - * The Netty Project 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 io.netty.testsuite.transport.socket.nio.oio; - -import java.util.concurrent.Executor; - -import io.netty.channel.socket.DatagramChannelFactory; -import io.netty.channel.socket.nio.NioDatagramChannelFactory; -import io.netty.channel.socket.oio.OioDatagramChannelFactory; -import io.netty.testsuite.transport.socket.AbstractDatagramTest; - -public class NioOioDatagramTest extends AbstractDatagramTest{ - - @Override - protected DatagramChannelFactory newServerSocketChannelFactory(Executor executor) { - return new OioDatagramChannelFactory(executor); - } - - @Override - protected DatagramChannelFactory newClientSocketChannelFactory(Executor executor) { - return new NioDatagramChannelFactory(executor); - } - -} diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/nio/OioNioDatagramMulticastTest.java b/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/nio/OioNioDatagramMulticastTest.java deleted file mode 100644 index 593755e829..0000000000 --- a/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/nio/OioNioDatagramMulticastTest.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2011 The Netty Project - * - * The Netty Project 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 io.netty.testsuite.transport.socket.oio.nio; - -import java.util.concurrent.Executor; - -import io.netty.channel.socket.DatagramChannelFactory; -import io.netty.channel.socket.nio.NioDatagramChannel; -import io.netty.channel.socket.nio.NioDatagramChannelFactory; -import io.netty.channel.socket.oio.OioDatagramChannelFactory; -import io.netty.testsuite.transport.socket.AbstractDatagramMulticastTest; - -public class OioNioDatagramMulticastTest extends AbstractDatagramMulticastTest{ - - @Override - protected DatagramChannelFactory newServerSocketChannelFactory(Executor executor) { - return new NioDatagramChannelFactory(executor, NioDatagramChannel.ProtocolFamily.INET); - } - - @Override - protected DatagramChannelFactory newClientSocketChannelFactory(Executor executor) { - return new OioDatagramChannelFactory(executor); - } - -} diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/nio/OioNioDatagramTest.java b/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/nio/OioNioDatagramTest.java deleted file mode 100644 index 64f6e3dda6..0000000000 --- a/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/nio/OioNioDatagramTest.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2011 The Netty Project - * - * The Netty Project 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 io.netty.testsuite.transport.socket.oio.nio; - -import java.util.concurrent.Executor; - -import io.netty.channel.socket.DatagramChannelFactory; -import io.netty.channel.socket.nio.NioDatagramChannelFactory; -import io.netty.channel.socket.oio.OioDatagramChannelFactory; -import io.netty.testsuite.transport.socket.AbstractDatagramTest; - -public class OioNioDatagramTest extends AbstractDatagramTest{ - - @Override - protected DatagramChannelFactory newServerSocketChannelFactory(Executor executor) { - return new NioDatagramChannelFactory(executor); - } - - @Override - protected DatagramChannelFactory newClientSocketChannelFactory(Executor executor) { - return new OioDatagramChannelFactory(executor); - } - -} diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/oio/OioOioDatagramMulticastTest.java b/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/oio/OioOioDatagramMulticastTest.java deleted file mode 100644 index d663045be8..0000000000 --- a/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/oio/OioOioDatagramMulticastTest.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2011 The Netty Project - * - * The Netty Project 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 io.netty.testsuite.transport.socket.oio.oio; - -import java.util.concurrent.Executor; - -import io.netty.channel.socket.DatagramChannelFactory; -import io.netty.channel.socket.oio.OioDatagramChannelFactory; -import io.netty.testsuite.transport.socket.AbstractDatagramMulticastTest; - -public class OioOioDatagramMulticastTest extends AbstractDatagramMulticastTest{ - - @Override - protected DatagramChannelFactory newServerSocketChannelFactory(Executor executor) { - return new OioDatagramChannelFactory(executor); - } - - @Override - protected DatagramChannelFactory newClientSocketChannelFactory(Executor executor) { - return new OioDatagramChannelFactory(executor); - } - -} diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/oio/OioOioDatagramTest.java b/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/oio/OioOioDatagramTest.java deleted file mode 100644 index edf4f9c94d..0000000000 --- a/testsuite/src/test/java/io/netty/testsuite/transport/socket/oio/oio/OioOioDatagramTest.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2011 The Netty Project - * - * The Netty Project 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 io.netty.testsuite.transport.socket.oio.oio; - -import java.util.concurrent.Executor; - -import io.netty.channel.socket.DatagramChannelFactory; -import io.netty.channel.socket.oio.OioDatagramChannelFactory; -import io.netty.testsuite.transport.socket.AbstractDatagramTest; - -public class OioOioDatagramTest extends AbstractDatagramTest{ - - @Override - protected DatagramChannelFactory newServerSocketChannelFactory(Executor executor) { - return new OioDatagramChannelFactory(executor); - } - - @Override - protected DatagramChannelFactory newClientSocketChannelFactory(Executor executor) { - return new OioDatagramChannelFactory(executor); - } - -}