From: Robert Varga Date: Mon, 2 Apr 2018 23:14:30 +0000 (+0200) Subject: Fix test identities X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=3016262857ef469d45e405b3f379b286bfa8e71e;p=groupbasedpolicy.git Fix test identities Identity mapping has changed to interfaces, adjust test identities to account for that. Change-Id: I0c417f8530186980b8b645607b0e299c92d6d15f Signed-off-by: Robert Varga --- diff --git a/neutron-mapper/src/test/java/org/opendaylight/groupbasedpolicy/neutron/mapper/mapping/rule/SecRuleEntityDecoderTest.java b/neutron-mapper/src/test/java/org/opendaylight/groupbasedpolicy/neutron/mapper/mapping/rule/SecRuleEntityDecoderTest.java index dffd50259..6aabdcfb9 100644 --- a/neutron-mapper/src/test/java/org/opendaylight/groupbasedpolicy/neutron/mapper/mapping/rule/SecRuleEntityDecoderTest.java +++ b/neutron-mapper/src/test/java/org/opendaylight/groupbasedpolicy/neutron/mapper/mapping/rule/SecRuleEntityDecoderTest.java @@ -255,7 +255,8 @@ public class SecRuleEntityDecoderTest { SecRuleEntityDecoder.getDirection(secRuleBuilder.build()); } - private static class UnknownDirection extends DirectionBase { + private interface UnknownDirection extends DirectionBase { + } @Test @@ -469,7 +470,8 @@ public class SecRuleEntityDecoderTest { SecRuleEntityDecoder.getEtherType(secRuleBuilder.build()); } - private static class UnknownEthertype extends EthertypeBase { + private interface UnknownEthertype extends EthertypeBase { + } @Test @@ -510,6 +512,7 @@ public class SecRuleEntityDecoderTest { SecRuleEntityDecoder.getProtocol(secRuleBuilder.build()); } - private static class UnknownProtocol extends ProtocolBase { + private interface UnknownProtocol extends ProtocolBase { + } }