diff options
author | liamfallon <liam.fallon@est.tech> | 2019-12-10 13:57:32 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2019-12-10 13:57:37 +0000 |
commit | 5a366fdab88b7205cedd2ba687109b80dc374544 (patch) | |
tree | 26a98347ddfe39c2c20fad20a487014c1a0f2263 /models-interactions/model-actors/actor.appc | |
parent | db85df62efbf70597d9f7e965f68b77f4ddc1f1f (diff) |
Fix minor checksyle issues in models
New checkstyle profile flagged some minor issues in policy models.
Issue-ID: POLICY-2165
Change-Id: I17ed070a3d55601ad31e48fdfd29fff01d29fa42
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'models-interactions/model-actors/actor.appc')
-rw-r--r-- | models-interactions/model-actors/actor.appc/src/test/java/org/onap/policy/controlloop/actor/appc/AppcServiceProviderTest.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/models-interactions/model-actors/actor.appc/src/test/java/org/onap/policy/controlloop/actor/appc/AppcServiceProviderTest.java b/models-interactions/model-actors/actor.appc/src/test/java/org/onap/policy/controlloop/actor/appc/AppcServiceProviderTest.java index 249e1fc25..0dfea32d6 100644 --- a/models-interactions/model-actors/actor.appc/src/test/java/org/onap/policy/controlloop/actor/appc/AppcServiceProviderTest.java +++ b/models-interactions/model-actors/actor.appc/src/test/java/org/onap/policy/controlloop/actor/appc/AppcServiceProviderTest.java @@ -29,6 +29,7 @@ import static org.junit.Assert.assertTrue; import java.time.Instant; import java.util.HashMap; import java.util.UUID; + import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; @@ -72,8 +73,7 @@ public class AppcServiceProviderTest { static { /* - * Construct an onset with an AAI subtag containing generic-vnf.vnf-id and a target type of - * VM. + * Construct an onset with an AAI subtag containing generic-vnf.vnf-id and a target type of VM. */ onsetEvent = new VirtualControlLoopEvent(); onsetEvent.setClosedLoopControlName("closedLoopControlName-Test"); @@ -111,6 +111,7 @@ public class AppcServiceProviderTest { /** * Set up before test class. + * * @throws Exception if the A&AI simulator cannot be started */ @BeforeClass @@ -127,7 +128,7 @@ public class AppcServiceProviderTest { } @Test - public void constructModifyConfigRequestTest() { + public void testConstructModifyConfigRequest() { policy.setPayload(new HashMap<>()); policy.getPayload().put(KEY1, VALUE1); policy.getPayload().put(KEY2, VALUE2); @@ -180,7 +181,7 @@ public class AppcServiceProviderTest { } @Test - public void constructModifyConfigRequestTest_NullPayload() { + public void testConstructModifyConfigRequest_NullPayload() { Request appcRequest; appcRequest = AppcActorServiceProvider.constructRequest(onsetEvent, operation, policy, "vnf01"); |