diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-11-15 14:18:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-15 14:18:05 +0000 |
commit | 94c19c4395d37147a1721c508e4ba4d18a555464 (patch) | |
tree | bcd3ba43a187809f4178fa94407ceb0e8cce26c0 /models-interactions/model-yaml/src/test | |
parent | bf3f7a8af2db33cd22d2e8dbc455549298538e6a (diff) | |
parent | 6de5a0c9e2acf3a799f53c9fedf8a40861b6ddbe (diff) |
Merge "Removing Named Query."
Diffstat (limited to 'models-interactions/model-yaml/src/test')
2 files changed, 4 insertions, 5 deletions
diff --git a/models-interactions/model-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopPolicyBuilderTest.java b/models-interactions/model-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopPolicyBuilderTest.java index 3236bca3f..b6b5c7acb 100644 --- a/models-interactions/model-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopPolicyBuilderTest.java +++ b/models-interactions/model-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopPolicyBuilderTest.java @@ -36,8 +36,7 @@ import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; -import org.onap.policy.aai.Pnf; -import org.onap.policy.aai.PnfType; +import org.onap.aai.domain.yang.Pnf; import org.onap.policy.controlloop.policy.builder.BuilderException; import org.onap.policy.controlloop.policy.builder.ControlLoopPolicyBuilder; import org.onap.policy.controlloop.policy.builder.Message; @@ -239,7 +238,7 @@ public class ControlLoopPolicyBuilderTest { // PLEASE ADVISE IF THE BEHAVIOUR IS INCORRECT OR THE TEST CASE IS INVALID public void testControlLoopForPnf() throws BuilderException { Pnf pnf = new Pnf(); - pnf.setPnfType(PnfType.ENODEB); + //pnf.setPnfType(PnfType.ENODEB); ControlLoopPolicyBuilder builder = ControlLoopPolicyBuilder.Factory.buildControlLoop(UUID.randomUUID().toString(), 2400, pnf); assertEquals(pnf, builder.getControlLoop().getPnf()); @@ -257,7 +256,7 @@ public class ControlLoopPolicyBuilderTest { assertNull(builder.getControlLoop().getPnf()); Pnf pnf = new Pnf(); - pnf.setPnfType(PnfType.ENODEB); + //pnf.setPnfType(PnfType.ENODEB); builder.setPnf(pnf); assertEquals(pnf, builder.getControlLoop().getPnf()); diff --git a/models-interactions/model-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopTest.java b/models-interactions/model-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopTest.java index 23287da68..c0131f506 100644 --- a/models-interactions/model-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopTest.java +++ b/models-interactions/model-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopTest.java @@ -31,7 +31,7 @@ import java.util.List; import org.junit.Ignore; import org.junit.Test; -import org.onap.policy.aai.Pnf; +import org.onap.aai.domain.yang.Pnf; import org.onap.policy.common.utils.io.Serializer; import org.onap.policy.sdc.Resource; import org.onap.policy.sdc.ResourceType; |