dc43966123b2a53fd646a6265bb11f5f76296b83
[openflowplugin.git] / extension / openflowplugin-extension-api / src / test / java / org / opendaylight / openflowplugin / extension / api / ConverterExtensionMatchKeyTest.java
1 /**
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  * 
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
7  */
8 package org.opendaylight.openflowplugin.extension.api;
9
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;
14
15 /**
16  * 
17  */
18 public class ConverterExtensionMatchKeyTest {
19
20     /**
21      * Test method for {@link org.opendaylight.openflowplugin.extension.api.ConverterExtensionKey#equals(java.lang.Object)}.
22      */
23 //    @Test
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);
29 //        
30 //        Assert.assertEquals(key1, key2);
31 //        Assert.assertEquals(key3, key4);
32 //        Assert.assertNotEquals(key1, key4);
33 //    }
34 //    
35 //    private static interface SpecialAction extends Action {
36 //        // nobody
37 //    }
38
39 }