diff options
author | liamfallon <liam.fallon@ericsson.com> | 2018-09-07 13:45:52 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@ericsson.com> | 2018-09-07 13:48:25 +0100 |
commit | 6279d12fc01c4ded32bca030d82b58d3d786864b (patch) | |
tree | d29a654ff476b8c63907145cb7147b10d3f28abf /main/src/test/java | |
parent | 9d3612f325ae52e41a0a6d9e794b42e98305d7ec (diff) |
Parameter Group fields must have getters
Parameter handling is changed so that all fields
must have a getter following normal naming conventions.
This change brings that in.
Issue-ID: POLICY-1095
Change-Id: Idc61960347a67c50f33fc272dcd00ceca7553d95
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'main/src/test/java')
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterGroup.java b/main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterGroup.java index 2df1cd47..6f6ddd81 100644 --- a/main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterGroup.java +++ b/main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterGroup.java @@ -87,7 +87,7 @@ public class TestDistributionParameterGroup { assertEquals(CommonTestData.MY_BOOLEAN_PARAMETER_VALUE, ((DummyReceptionHandlerParameterGroup) distributionParameters .getReceptionHandlerConfigurationParameters() - .get(CommonTestData.RECEPTION_CONFIGURATION_PARAMETERS)).getMyBooleanParameter()); + .get(CommonTestData.RECEPTION_CONFIGURATION_PARAMETERS)).isMyBooleanParameter()); assertEquals(CommonTestData.FORWARDER_HOST, ((DummyPolicyForwarderParameterGroup) distributionParameters.getPolicyForwarderConfigurationParameters() .get(CommonTestData.FORWARDER_CONFIGURATION_PARAMETERS)).getHostname()); diff --git a/main/src/test/java/org/onap/policy/distribution/main/testclasses/DummyReceptionHandlerParameterGroup.java b/main/src/test/java/org/onap/policy/distribution/main/testclasses/DummyReceptionHandlerParameterGroup.java index d452e96c..20f433d0 100644 --- a/main/src/test/java/org/onap/policy/distribution/main/testclasses/DummyReceptionHandlerParameterGroup.java +++ b/main/src/test/java/org/onap/policy/distribution/main/testclasses/DummyReceptionHandlerParameterGroup.java @@ -81,7 +81,7 @@ public class DummyReceptionHandlerParameterGroup extends ReceptionHandlerConfigu return myIntegerParameter; } - public boolean getMyBooleanParameter() { + public boolean isMyBooleanParameter() { return myBooleanParameter; } |