From 3016262857ef469d45e405b3f379b286bfa8e71e Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 3 Apr 2018 01:14:30 +0200 Subject: [PATCH] Fix test identities Identity mapping has changed to interfaces, adjust test identities to account for that. Change-Id: I0c417f8530186980b8b645607b0e299c92d6d15f Signed-off-by: Robert Varga --- .../mapper/mapping/rule/SecRuleEntityDecoderTest.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 { + } } -- 2.36.6