From b314bfcc94b17b18badeb249f44c4b814f37aea5 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Wed, 29 Oct 2014 09:50:32 -0700 Subject: [PATCH] 446944 - ServletTester and HttpTester should be in tests Moving HttpTester to "tests" scoped jetty-http artifact. + HttpTester, a testing class, was used by jetty-servlets, embedded-jetty-examples, and test-integration, all from those testing scopes. Moved the HttpTester into the pre-existing jetty-http "tests" classified artifact. Moving ServletTester to "tests" scoped jetty-servlet artifact. + ServletTester, a testing class, was used by jetty-servlets, test-integration, and test-jetty-webapp. This move puts this class in the pre-existing jetty-servlet "tests" classified artifact. --- examples/embedded/pom.xml | 7 +++++++ .../java/org/eclipse/jetty/http/HttpTester.java | 0 .../org/eclipse/jetty/servlet/ServletTester.java | 0 jetty-servlets/pom.xml | 14 ++++++++++++++ tests/test-integration/pom.xml | 7 +++++++ tests/test-webapps/test-jetty-webapp/pom.xml | 7 +++++++ 6 files changed, 35 insertions(+) rename jetty-http/src/{main => test}/java/org/eclipse/jetty/http/HttpTester.java (100%) rename jetty-servlet/src/{main => test}/java/org/eclipse/jetty/servlet/ServletTester.java (100%) diff --git a/examples/embedded/pom.xml b/examples/embedded/pom.xml index 2149a0318bd..0aab3c82f9f 100644 --- a/examples/embedded/pom.xml +++ b/examples/embedded/pom.xml @@ -108,5 +108,12 @@ jetty-test-helper + + org.eclipse.jetty + jetty-http + ${project.version} + tests + test + diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpTester.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpTester.java similarity index 100% rename from jetty-http/src/main/java/org/eclipse/jetty/http/HttpTester.java rename to jetty-http/src/test/java/org/eclipse/jetty/http/HttpTester.java diff --git a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletTester.java b/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/ServletTester.java similarity index 100% rename from jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletTester.java rename to jetty-servlet/src/test/java/org/eclipse/jetty/servlet/ServletTester.java diff --git a/jetty-servlets/pom.xml b/jetty-servlets/pom.xml index a8c2ee8b6a6..1108097d4b4 100644 --- a/jetty-servlets/pom.xml +++ b/jetty-servlets/pom.xml @@ -62,6 +62,20 @@ ${project.version} test + + org.eclipse.jetty + jetty-http + ${project.version} + tests + test + + + org.eclipse.jetty + jetty-servlet + ${project.version} + tests + test + org.eclipse.jetty.toolchain jetty-test-helper diff --git a/tests/test-integration/pom.xml b/tests/test-integration/pom.xml index dfe8aed823a..ada8906a1d6 100644 --- a/tests/test-integration/pom.xml +++ b/tests/test-integration/pom.xml @@ -118,6 +118,13 @@ ${project.version} pom + + org.eclipse.jetty + jetty-http + ${project.version} + tests + test + org.eclipse.jetty.toolchain jetty-test-helper diff --git a/tests/test-webapps/test-jetty-webapp/pom.xml b/tests/test-webapps/test-jetty-webapp/pom.xml index 5affbf425a6..bb2a7519b9f 100644 --- a/tests/test-webapps/test-jetty-webapp/pom.xml +++ b/tests/test-webapps/test-jetty-webapp/pom.xml @@ -200,6 +200,13 @@ ${project.version} test + + org.eclipse.jetty + jetty-servlet + ${project.version} + tests + test + org.eclipse.jetty.toolchain jetty-test-helper