4e233323427cc247a572d88bb671752606d2caa0
[openflowplugin.git] / extension / openflowplugin-extension-api / src / test / java / org / opendaylight / openflowplugin / extension / api / ConverterExtensionActionKeyTest.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.model.match.types.rev131026.Match;
13
14 /**
15  * 
16  */
17 public class ConverterExtensionActionKeyTest {
18
19     /**
20      * Test method for {@link org.opendaylight.openflowplugin.extension.api.ConverterExtensionKey#equals(java.lang.Object)}.
21      */
22     /**
23      * Test method for {@link org.opendaylight.openflowplugin.extension.api.ConverterExtensionKey#equals(java.lang.Object)}.
24      */
25 //    @Test
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);
31 //        
32 //        Assert.assertEquals(key1, key2);
33 //        Assert.assertEquals(key3, key4);
34 //        Assert.assertNotEquals(key1, key4);
35 //    }
36 //    
37 //    private static interface SpecialMatch extends Match {
38 //        // nobody
39 //    }
40
41 }