From 8d4a97e05be6bbe3072a24bbd51db39a57be60b3 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Sun, 14 Dec 2014 21:57:24 +0900 Subject: [PATCH] Generate non-test JAR for netty-testsuite Motivation: So far, we generated and deployed test JARs to Maven repositories. The deployed JAR had the classifier 'test-jar'. The test JAR is consumed by transport-native-epoll as a test dependency. The problem is, when netty-transport-native-epoll pulls the test JAR as a dependency, that Maven resolves its transitive dependencies at 'compile' and 'runtime' scope only, which is incorrect. I was bitten by this problem recently while trying to add a new dependency to netty-testsuite. Because I added a new dependency at the 'test' scope, the new dependency was not pulled transitively by transport-native-epoll and caused an unexpected build failure. - d6160208c37cfd21b690f1a0df67776bf986b28e - bf77bb4c3ae04778e65b8a38c2a9ec0e15207de8 Modifications: - Move all classes in netty-testsuite from src/test to src/main - Update the 'compile' scope dependencies of netty-testsuite - Override the test directory configuration properties of the surefire plugin - Do not generate the test JAR anymore - Update the dependency of netty-transport-native-epoll Result: It is less error-prone to add a new dependency to netty-testsuite. --- testsuite/pom.xml | 54 +++++++++++++++---- .../transport/AbstractComboTestsuiteTest.java | 0 .../transport/AbstractTestsuiteTest.java | 0 .../transport/TestsuitePermutation.java | 0 .../testsuite/transport/package-info.java | 20 +++++++ .../transport/sctp/AbstractSctpTest.java | 0 .../transport/sctp/SctpEchoTest.java | 0 .../transport/sctp/SctpTestPermutation.java | 0 .../transport/sctp/package-info.java | 0 .../socket/AbstractClientSocketTest.java | 0 .../socket/AbstractDatagramTest.java | 0 .../socket/AbstractServerSocketTest.java | 0 .../transport/socket/AbstractSocketTest.java | 0 .../socket/DatagramMulticastTest.java | 0 .../transport/socket/DatagramUnicastTest.java | 0 .../socket/ServerSocketSuspendTest.java | 0 .../transport/socket/SocketAutoReadTest.java | 0 .../socket/SocketBufReleaseTest.java | 0 .../socket/SocketCancelWriteTest.java | 0 .../socket/SocketConnectionAttemptTest.java | 0 .../transport/socket/SocketEchoTest.java | 0 .../socket/SocketFileRegionTest.java | 0 .../socket/SocketFixedLengthEchoTest.java | 0 .../socket/SocketGatheringWriteTest.java | 0 .../socket/SocketObjectEchoTest.java | 0 .../SocketShutdownOutputByPeerTest.java | 0 .../SocketShutdownOutputBySelfTest.java | 0 .../transport/socket/SocketSpdyEchoTest.java | 0 .../transport/socket/SocketSslEchoTest.java | 0 .../socket/SocketSslGreetingTest.java | 0 .../transport/socket/SocketStartTlsTest.java | 0 .../socket/SocketStringEchoTest.java | 0 .../socket/SocketTestPermutation.java | 0 .../socket/TrafficShapingHandlerTest.java | 0 .../socket/WriteBeforeRegisteredTest.java | 0 .../transport/socket/package-info.java | 0 .../udt/UDTClientServerConnectionTest.java | 0 .../testsuite/transport/udt/package-info.java | 0 .../io/netty/testsuite/util/TestUtils.java | 0 .../io/netty/testsuite/util/package-info.java | 0 .../websockets/autobahn/AutobahnServer.java | 0 .../autobahn/AutobahnServerHandler.java | 0 .../autobahn/AutobahnServerInitializer.java | 0 .../websockets/autobahn/package-info.java | 0 transport-native-epoll/pom.xml | 1 - 45 files changed, 64 insertions(+), 11 deletions(-) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/AbstractComboTestsuiteTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/AbstractTestsuiteTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/TestsuitePermutation.java (100%) create mode 100644 testsuite/src/main/java/io/netty/testsuite/transport/package-info.java rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/sctp/AbstractSctpTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/sctp/SctpEchoTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/sctp/SctpTestPermutation.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/sctp/package-info.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/AbstractClientSocketTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/AbstractDatagramTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/AbstractServerSocketTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/AbstractSocketTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/DatagramMulticastTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/DatagramUnicastTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/ServerSocketSuspendTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketAutoReadTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketBufReleaseTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketCancelWriteTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketConnectionAttemptTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketEchoTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketFileRegionTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketFixedLengthEchoTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketGatheringWriteTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketObjectEchoTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketShutdownOutputByPeerTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketShutdownOutputBySelfTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketSpdyEchoTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketSslGreetingTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketStartTlsTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketStringEchoTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/TrafficShapingHandlerTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/WriteBeforeRegisteredTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/socket/package-info.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/udt/UDTClientServerConnectionTest.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/transport/udt/package-info.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/util/TestUtils.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/util/package-info.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/websockets/autobahn/AutobahnServer.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/websockets/autobahn/AutobahnServerHandler.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/websockets/autobahn/AutobahnServerInitializer.java (100%) rename testsuite/src/{test => main}/java/io/netty/testsuite/websockets/autobahn/package-info.java (100%) diff --git a/testsuite/pom.xml b/testsuite/pom.xml index 192e3067c3..425988b290 100644 --- a/testsuite/pom.xml +++ b/testsuite/pom.xml @@ -56,10 +56,49 @@ true + org.tukaani xz + + + + + junit + junit + compile + + + org.hamcrest + hamcrest-library + compile + + + org.easymock + easymock + compile + + + org.easymock + easymockclassextension + compile + + + org.jmock + jmock-junit4 + compile + + + org.mockito + mockito-core + compile + + + ch.qos.logback + logback-classic + compile + @@ -83,15 +122,11 @@ - org.apache.maven.plugins - maven-jar-plugin - - - - test-jar - - - + maven-surefire-plugin + + ${project.build.sourceDirectory} + ${project.build.outputDirectory} + me.normanmaurer.maven.autobahntestsuite @@ -117,6 +152,5 @@ - diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/AbstractComboTestsuiteTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/AbstractComboTestsuiteTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/AbstractComboTestsuiteTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/AbstractComboTestsuiteTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/AbstractTestsuiteTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/AbstractTestsuiteTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/AbstractTestsuiteTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/AbstractTestsuiteTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/TestsuitePermutation.java b/testsuite/src/main/java/io/netty/testsuite/transport/TestsuitePermutation.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/TestsuitePermutation.java rename to testsuite/src/main/java/io/netty/testsuite/transport/TestsuitePermutation.java diff --git a/testsuite/src/main/java/io/netty/testsuite/transport/package-info.java b/testsuite/src/main/java/io/netty/testsuite/transport/package-info.java new file mode 100644 index 0000000000..188b1164dd --- /dev/null +++ b/testsuite/src/main/java/io/netty/testsuite/transport/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright 2012 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. + */ + +/** + * Common test suite classes. + */ +package io.netty.testsuite.transport; diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/sctp/AbstractSctpTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/sctp/AbstractSctpTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/sctp/AbstractSctpTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/sctp/AbstractSctpTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/sctp/SctpEchoTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/sctp/SctpEchoTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/sctp/SctpEchoTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/sctp/SctpEchoTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/sctp/SctpTestPermutation.java b/testsuite/src/main/java/io/netty/testsuite/transport/sctp/SctpTestPermutation.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/sctp/SctpTestPermutation.java rename to testsuite/src/main/java/io/netty/testsuite/transport/sctp/SctpTestPermutation.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/sctp/package-info.java b/testsuite/src/main/java/io/netty/testsuite/transport/sctp/package-info.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/sctp/package-info.java rename to testsuite/src/main/java/io/netty/testsuite/transport/sctp/package-info.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractClientSocketTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractClientSocketTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractClientSocketTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractClientSocketTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractDatagramTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractDatagramTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractDatagramTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractDatagramTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractServerSocketTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractServerSocketTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractServerSocketTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractServerSocketTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractSocketTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractSocketTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractSocketTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractSocketTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/DatagramMulticastTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/DatagramMulticastTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/DatagramMulticastTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/DatagramMulticastTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/DatagramUnicastTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/DatagramUnicastTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/DatagramUnicastTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/DatagramUnicastTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/ServerSocketSuspendTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/ServerSocketSuspendTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/ServerSocketSuspendTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/ServerSocketSuspendTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketAutoReadTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketAutoReadTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketAutoReadTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketAutoReadTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketBufReleaseTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketBufReleaseTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketBufReleaseTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketBufReleaseTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketCancelWriteTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketCancelWriteTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketCancelWriteTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketCancelWriteTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketConnectionAttemptTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketConnectionAttemptTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketConnectionAttemptTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketConnectionAttemptTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketEchoTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketEchoTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketEchoTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketEchoTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketFileRegionTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketFileRegionTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketFileRegionTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketFileRegionTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketFixedLengthEchoTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketFixedLengthEchoTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketFixedLengthEchoTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketFixedLengthEchoTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketGatheringWriteTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketGatheringWriteTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketGatheringWriteTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketGatheringWriteTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketObjectEchoTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketObjectEchoTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketObjectEchoTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketObjectEchoTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketShutdownOutputByPeerTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketShutdownOutputByPeerTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketShutdownOutputByPeerTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketShutdownOutputByPeerTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketShutdownOutputBySelfTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketShutdownOutputBySelfTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketShutdownOutputBySelfTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketShutdownOutputBySelfTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketSpdyEchoTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSpdyEchoTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketSpdyEchoTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSpdyEchoTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketSslGreetingTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslGreetingTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketSslGreetingTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslGreetingTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketStartTlsTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketStartTlsTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketStartTlsTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketStartTlsTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketStringEchoTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketStringEchoTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketStringEchoTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketStringEchoTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/TrafficShapingHandlerTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/TrafficShapingHandlerTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/TrafficShapingHandlerTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/TrafficShapingHandlerTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/WriteBeforeRegisteredTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/WriteBeforeRegisteredTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/WriteBeforeRegisteredTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/WriteBeforeRegisteredTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/package-info.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/package-info.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/socket/package-info.java rename to testsuite/src/main/java/io/netty/testsuite/transport/socket/package-info.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/udt/UDTClientServerConnectionTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/udt/UDTClientServerConnectionTest.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/udt/UDTClientServerConnectionTest.java rename to testsuite/src/main/java/io/netty/testsuite/transport/udt/UDTClientServerConnectionTest.java diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/udt/package-info.java b/testsuite/src/main/java/io/netty/testsuite/transport/udt/package-info.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/transport/udt/package-info.java rename to testsuite/src/main/java/io/netty/testsuite/transport/udt/package-info.java diff --git a/testsuite/src/test/java/io/netty/testsuite/util/TestUtils.java b/testsuite/src/main/java/io/netty/testsuite/util/TestUtils.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/util/TestUtils.java rename to testsuite/src/main/java/io/netty/testsuite/util/TestUtils.java diff --git a/testsuite/src/test/java/io/netty/testsuite/util/package-info.java b/testsuite/src/main/java/io/netty/testsuite/util/package-info.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/util/package-info.java rename to testsuite/src/main/java/io/netty/testsuite/util/package-info.java diff --git a/testsuite/src/test/java/io/netty/testsuite/websockets/autobahn/AutobahnServer.java b/testsuite/src/main/java/io/netty/testsuite/websockets/autobahn/AutobahnServer.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/websockets/autobahn/AutobahnServer.java rename to testsuite/src/main/java/io/netty/testsuite/websockets/autobahn/AutobahnServer.java diff --git a/testsuite/src/test/java/io/netty/testsuite/websockets/autobahn/AutobahnServerHandler.java b/testsuite/src/main/java/io/netty/testsuite/websockets/autobahn/AutobahnServerHandler.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/websockets/autobahn/AutobahnServerHandler.java rename to testsuite/src/main/java/io/netty/testsuite/websockets/autobahn/AutobahnServerHandler.java diff --git a/testsuite/src/test/java/io/netty/testsuite/websockets/autobahn/AutobahnServerInitializer.java b/testsuite/src/main/java/io/netty/testsuite/websockets/autobahn/AutobahnServerInitializer.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/websockets/autobahn/AutobahnServerInitializer.java rename to testsuite/src/main/java/io/netty/testsuite/websockets/autobahn/AutobahnServerInitializer.java diff --git a/testsuite/src/test/java/io/netty/testsuite/websockets/autobahn/package-info.java b/testsuite/src/main/java/io/netty/testsuite/websockets/autobahn/package-info.java similarity index 100% rename from testsuite/src/test/java/io/netty/testsuite/websockets/autobahn/package-info.java rename to testsuite/src/main/java/io/netty/testsuite/websockets/autobahn/package-info.java diff --git a/transport-native-epoll/pom.xml b/transport-native-epoll/pom.xml index 1be0c0c7ec..a2d225bf08 100644 --- a/transport-native-epoll/pom.xml +++ b/transport-native-epoll/pom.xml @@ -46,7 +46,6 @@ io.netty netty-testsuite ${project.version} - test-jar test