From 560d9c09b087618bbe7b3c27e4969faf6e1f1d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kohlschu=CC=88tter?= Date: Sun, 10 Mar 2024 21:53:58 +0100 Subject: [PATCH] jetty: Move UnixDomainTest to junixsocket package --- .../server => newsclub/net/unix/jetty}/UnixDomainTest.java | 6 ++---- .../server => newsclub/net/unix/jetty}/UnixDomainTest.java | 7 ++----- 2 files changed, 4 insertions(+), 9 deletions(-) rename junixsocket-jetty-11/src/test/java/org/{eclipse/jetty/unixdomain/server => newsclub/net/unix/jetty}/UnixDomainTest.java (98%) rename junixsocket-jetty/src/test/java/org/{eclipse/jetty/unixdomain/server => newsclub/net/unix/jetty}/UnixDomainTest.java (98%) diff --git a/junixsocket-jetty-11/src/test/java/org/eclipse/jetty/unixdomain/server/UnixDomainTest.java b/junixsocket-jetty-11/src/test/java/org/newsclub/net/unix/jetty/UnixDomainTest.java similarity index 98% rename from junixsocket-jetty-11/src/test/java/org/eclipse/jetty/unixdomain/server/UnixDomainTest.java rename to junixsocket-jetty-11/src/test/java/org/newsclub/net/unix/jetty/UnixDomainTest.java index 8a5dd61ee..725f1594e 100644 --- a/junixsocket-jetty-11/src/test/java/org/eclipse/jetty/unixdomain/server/UnixDomainTest.java +++ b/junixsocket-jetty-11/src/test/java/org/newsclub/net/unix/jetty/UnixDomainTest.java @@ -1,7 +1,7 @@ /* * junixsocket * - * Copyright 2009-2022 Christian Kohlschütter + * Copyright 2009-2024 Christian Kohlschütter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ // ======================================================================== // -package org.eclipse.jetty.unixdomain.server; +package org.newsclub.net.unix.jetty; import static org.hamcrest.MatcherAssert.assertThat; import static org.junit.jupiter.api.Assertions.assertArrayEquals; @@ -74,8 +74,6 @@ import org.junit.jupiter.api.Test; import org.newsclub.net.unix.AFSocketAddress; import org.newsclub.net.unix.AFUNIXSocketAddress; -import org.newsclub.net.unix.jetty.AFSocketClientConnector; -import org.newsclub.net.unix.jetty.AFSocketServerConnector; import jakarta.servlet.ServletOutputStream; import jakarta.servlet.http.HttpServletRequest; diff --git a/junixsocket-jetty/src/test/java/org/eclipse/jetty/unixdomain/server/UnixDomainTest.java b/junixsocket-jetty/src/test/java/org/newsclub/net/unix/jetty/UnixDomainTest.java similarity index 98% rename from junixsocket-jetty/src/test/java/org/eclipse/jetty/unixdomain/server/UnixDomainTest.java rename to junixsocket-jetty/src/test/java/org/newsclub/net/unix/jetty/UnixDomainTest.java index add27ff2c..54dafd8d3 100644 --- a/junixsocket-jetty/src/test/java/org/eclipse/jetty/unixdomain/server/UnixDomainTest.java +++ b/junixsocket-jetty/src/test/java/org/newsclub/net/unix/jetty/UnixDomainTest.java @@ -1,7 +1,7 @@ /* * junixsocket * - * Copyright 2009-2022 Christian Kohlschütter + * Copyright 2009-2024 Christian Kohlschütter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ // ======================================================================== // -package org.eclipse.jetty.unixdomain.server; +package org.newsclub.net.unix.jetty; import static org.hamcrest.MatcherAssert.assertThat; import static org.junit.jupiter.api.Assertions.assertArrayEquals; @@ -79,9 +79,6 @@ import org.junit.jupiter.api.Test; import org.newsclub.net.unix.AFSocketAddress; import org.newsclub.net.unix.AFUNIXSocketAddress; -import org.newsclub.net.unix.jetty.AFSocketClientConnector; -import org.newsclub.net.unix.jetty.AFSocketServerConnector; -import org.newsclub.net.unix.jetty.AFSocketTransport; public class UnixDomainTest { private static final Class unixDomainSocketAddressClass = probe();