From 3488823c49e3a35a383978d6e263f32b7ace539c Mon Sep 17 00:00:00 2001 From: Monu Lakshkar Date: Thu, 21 Sep 2023 13:21:14 +0530 Subject: [PATCH] Renamed package --- .../instrumentation}/httpServer/test/HttpServerTest.java | 9 +-------- .../instrumentation}/httpServer/test/Httpserver.java | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) rename instrumentation-security/sun-net-httpserver/src/test/java/com/{nr/instrumentation/security => newrelic/agent/security/instrumentation}/httpServer/test/HttpServerTest.java (88%) rename instrumentation-security/sun-net-httpserver/src/test/java/com/{nr/instrumentation/security => newrelic/agent/security/instrumentation}/httpServer/test/Httpserver.java (96%) diff --git a/instrumentation-security/sun-net-httpserver/src/test/java/com/nr/instrumentation/security/httpServer/test/HttpServerTest.java b/instrumentation-security/sun-net-httpserver/src/test/java/com/newrelic/agent/security/instrumentation/httpServer/test/HttpServerTest.java similarity index 88% rename from instrumentation-security/sun-net-httpserver/src/test/java/com/nr/instrumentation/security/httpServer/test/HttpServerTest.java rename to instrumentation-security/sun-net-httpserver/src/test/java/com/newrelic/agent/security/instrumentation/httpServer/test/HttpServerTest.java index cbadb7e1e..9be2bd9ed 100644 --- a/instrumentation-security/sun-net-httpserver/src/test/java/com/nr/instrumentation/security/httpServer/test/HttpServerTest.java +++ b/instrumentation-security/sun-net-httpserver/src/test/java/com/newrelic/agent/security/instrumentation/httpServer/test/HttpServerTest.java @@ -1,24 +1,17 @@ -package com.nr.instrumentation.security.httpServer.test; +package com.newrelic.agent.security.instrumentation.httpServer.test; -import com.fasterxml.jackson.databind.ObjectMapper; import com.newrelic.agent.security.introspec.InstrumentationTestConfig; import com.newrelic.agent.security.introspec.SecurityInstrumentationTestRunner; import com.newrelic.agent.security.introspec.SecurityIntrospector; import com.newrelic.api.agent.security.schema.AbstractOperation; import com.newrelic.api.agent.security.schema.VulnerabilityCaseType; import com.newrelic.api.agent.security.schema.operation.RXSSOperation; -import com.sun.net.httpserver.Filter; -import com.sun.net.httpserver.HttpHandler; import org.junit.Assert; -import org.junit.BeforeClass; import org.junit.ClassRule; -import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runner.RunWith; -import org.junit.runners.MethodSorters; import java.io.IOException; -import java.lang.instrument.UnmodifiableClassException; import java.net.HttpURLConnection; import java.net.URISyntaxException; import java.net.URL; diff --git a/instrumentation-security/sun-net-httpserver/src/test/java/com/nr/instrumentation/security/httpServer/test/Httpserver.java b/instrumentation-security/sun-net-httpserver/src/test/java/com/newrelic/agent/security/instrumentation/httpServer/test/Httpserver.java similarity index 96% rename from instrumentation-security/sun-net-httpserver/src/test/java/com/nr/instrumentation/security/httpServer/test/Httpserver.java rename to instrumentation-security/sun-net-httpserver/src/test/java/com/newrelic/agent/security/instrumentation/httpServer/test/Httpserver.java index 5e4431555..b0b9f8aea 100644 --- a/instrumentation-security/sun-net-httpserver/src/test/java/com/nr/instrumentation/security/httpServer/test/Httpserver.java +++ b/instrumentation-security/sun-net-httpserver/src/test/java/com/newrelic/agent/security/instrumentation/httpServer/test/Httpserver.java @@ -1,4 +1,4 @@ -package com.nr.instrumentation.security.httpServer.test; +package com.newrelic.agent.security.instrumentation.httpServer.test; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpHandler;