diff options
author | Hengye <yehui.wang@est.tech> | 2019-03-29 15:07:38 +0000 |
---|---|---|
committer | Hengye <yehui.wang@est.tech> | 2019-03-29 15:07:38 +0000 |
commit | 645f53bc65ca649d0ffbdea31d720a371f20811a (patch) | |
tree | 407eddcfca3de415e5d0c225e4e760eb6d71513a /models-interactions/model-impl/so/src/test/java | |
parent | 6d99c4013b43f48a891ac15dd149d4b97c6b291e (diff) |
fix code smell in model-impl
Issue-ID: POLICY-1264
Change-Id: Idacb7151978373e48098790d9d86825410b65aa6
Signed-off-by: Hengye <yehui.wang@est.tech>
Diffstat (limited to 'models-interactions/model-impl/so/src/test/java')
-rw-r--r-- | models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoDummyServer.java (renamed from models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoDummyServerTest.java) | 2 | ||||
-rw-r--r-- | models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoManagerTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoDummyServerTest.java b/models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoDummyServer.java index 910c0ac13..e9c338356 100644 --- a/models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoDummyServerTest.java +++ b/models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoDummyServer.java @@ -34,7 +34,7 @@ import javax.ws.rs.PathParam; import javax.ws.rs.core.Response; @Path("/SO") -public class SoDummyServerTest { +public class SoDummyServer { private static int postMessagesReceived = 0; private static int putMessagesReceived = 0; diff --git a/models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoManagerTest.java b/models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoManagerTest.java index 85f5ac7f9..4d7228ff7 100644 --- a/models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoManagerTest.java +++ b/models-interactions/model-impl/so/src/test/java/org/onap/policy/so/SoManagerTest.java @@ -59,7 +59,7 @@ public class SoManagerTest { */ @BeforeClass public static void setUp() throws IOException { - final ResourceConfig rc = new ResourceConfig(SoDummyServerTest.class); + final ResourceConfig rc = new ResourceConfig(SoDummyServer.class); //Grizzly by default doesn't allow payload for HTTP methods (ex: DELETE), for which HTTP spec doesn't // explicitly state that. //allow it before starting the server |