2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.openflowplugin.extension.api;
10 import org.junit.Assert;
11 import org.junit.Test;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.Match;
17 public class ConverterExtensionActionKeyTest {
20 * Test method for {@link org.opendaylight.openflowplugin.extension.api.ConverterExtensionKey#equals(java.lang.Object)}.
23 * Test method for {@link org.opendaylight.openflowplugin.extension.api.ConverterExtensionKey#equals(java.lang.Object)}.
26 // public void testEqualsObject() {
27 // ConverterExtensionMatchKey key1 = new ConverterExtensionMatchKey(Match.class);
28 // ConverterExtensionMatchKey key2 = new ConverterExtensionMatchKey(Match.class);
29 // ConverterExtensionMatchKey key3 = new ConverterExtensionMatchKey(SpecialMatch.class);
30 // ConverterExtensionMatchKey key4 = new ConverterExtensionMatchKey(SpecialMatch.class);
32 // Assert.assertEquals(key1, key2);
33 // Assert.assertEquals(key3, key4);
34 // Assert.assertNotEquals(key1, key4);
37 // private static interface SpecialMatch extends Match {