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.action.types.rev131112.action.Action;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.action.OutputActionCase;
18 public class ConverterExtensionMatchKeyTest {
21 * Test method for {@link org.opendaylight.openflowplugin.extension.api.ConverterExtensionKey#equals(java.lang.Object)}.
24 // public void testEqualsObject() {
25 // ConverterExtensionActionKey key1 = new ConverterExtensionActionKey(OutputActionCase.class);
26 // ConverterExtensionActionKey key2 = new ConverterExtensionActionKey(OutputActionCase.class);
27 // ConverterExtensionActionKey key3 = new ConverterExtensionActionKey(SpecialAction.class);
28 // ConverterExtensionActionKey key4 = new ConverterExtensionActionKey(SpecialAction.class);
30 // Assert.assertEquals(key1, key2);
31 // Assert.assertEquals(key3, key4);
32 // Assert.assertNotEquals(key1, key4);
35 // private static interface SpecialAction extends Action {