Fix test identities 58/70258/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 2 Apr 2018 23:14:30 +0000 (01:14 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 2 Apr 2018 23:14:30 +0000 (01:14 +0200)
Identity mapping has changed to interfaces, adjust test identities
to account for that.

Change-Id: I0c417f8530186980b8b645607b0e299c92d6d15f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
neutron-mapper/src/test/java/org/opendaylight/groupbasedpolicy/neutron/mapper/mapping/rule/SecRuleEntityDecoderTest.java

index dffd5025923490594b476f207818728e3cc49f49..6aabdcfb98de409e3657c8ab644d85170686c377 100644 (file)
@@ -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 {
+
     }
 }