Merge "code cleanup : removed unused parts of code"
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / connection / ConnectionContextImplTest.java
1 /**
2  * Copyright (c) 2015 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
9 package org.opendaylight.openflowplugin.impl.connection;
10
11 import static org.junit.Assert.fail;
12 import org.junit.Before;
13 import org.junit.Ignore;
14 import org.junit.Test;
15 import org.junit.runner.RunWith;
16 import org.mockito.Mock;
17 import org.mockito.runners.MockitoJUnitRunner;
18 import org.opendaylight.openflowjava.protocol.api.connection.ConnectionAdapter;
19
20 /**
21  * openflowplugin-impl
22  * org.opendaylight.openflowplugin.impl.connection
23  * <p/>
24  * test of {@link ConnectionContextImpl} - lightweight version, using basic ways (TDD)
25  *
26  * @author <a href="mailto:vdemcak@cisco.com">Vaclav Demcak</a>
27  *         <p/>
28  *         Created: Mar 26, 2015
29  */
30 @RunWith(MockitoJUnitRunner.class)
31 public class ConnectionContextImplTest {
32
33
34     @Mock
35     private ConnectionAdapter conAdapter;
36
37     @Before
38     public void initialization() {
39         // place for mocking method's general behavior for ConnectorAdapter
40     }
41
42     /**
43      * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#ConnectionContextImpl(org.opendaylight.openflowjava.protocol.api.connection.ConnectionAdapter)}.
44      */
45     @Test
46     @Ignore
47     public void testConnectionContextImpl() {
48         fail("Not yet implemented");
49     }
50
51     /**
52      * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#getConnectionAdapter()}.
53      */
54     @Test
55     @Ignore
56     public void testGetConnectionAdapter() {
57         fail("Not yet implemented");
58     }
59
60     /**
61      * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#getConnectionState()}.
62      */
63     @Test
64     @Ignore
65     public void testGetConnectionState() {
66         fail("Not yet implemented");
67     }
68
69     /**
70      * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#getNodeId()}.
71      */
72     @Test
73     @Ignore
74     public void testGetNodeId() {
75         fail("Not yet implemented");
76     }
77
78     /**
79      * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#setConnectionState(org.opendaylight.openflowplugin.api.openflow.connection.ConnectionContext.CONNECTION_STATE)}.
80      */
81     @Test
82     @Ignore
83     public void testSetConnectionState() {
84         fail("Not yet implemented");
85     }
86
87     /**
88      * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#getFeatures()}.
89      */
90     @Test
91     @Ignore
92     public void testGetFeatures() {
93         fail("Not yet implemented");
94     }
95
96     /**
97      * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#setFeatures(org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.FeaturesReply)}.
98      */
99     @Test
100     @Ignore
101     public void testSetFeatures() {
102         fail("Not yet implemented");
103     }
104 }