2 * Copyright (c) 2015 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
9 package org.opendaylight.openflowplugin.impl.connection;
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;
22 * org.opendaylight.openflowplugin.impl.connection
24 * test of {@link ConnectionContextImpl} - lightweight version, using basic ways (TDD)
26 * @author <a href="mailto:vdemcak@cisco.com">Vaclav Demcak</a>
28 * Created: Mar 26, 2015
30 @RunWith(MockitoJUnitRunner.class)
31 public class ConnectionContextImplTest {
35 private ConnectionAdapter conAdapter;
38 public void initialization() {
39 // place for mocking method's general behavior for ConnectorAdapter
43 * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#ConnectionContextImpl(org.opendaylight.openflowjava.protocol.api.connection.ConnectionAdapter)}.
47 public void testConnectionContextImpl() {
48 fail("Not yet implemented");
52 * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#getConnectionAdapter()}.
56 public void testGetConnectionAdapter() {
57 fail("Not yet implemented");
61 * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#getConnectionState()}.
65 public void testGetConnectionState() {
66 fail("Not yet implemented");
70 * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#getNodeId()}.
74 public void testGetNodeId() {
75 fail("Not yet implemented");
79 * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#setConnectionState(org.opendaylight.openflowplugin.api.openflow.connection.ConnectionContext.CONNECTION_STATE)}.
83 public void testSetConnectionState() {
84 fail("Not yet implemented");
88 * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#getFeatures()}.
92 public void testGetFeatures() {
93 fail("Not yet implemented");
97 * Test method for {@link org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl#setFeatures(org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.FeaturesReply)}.
101 public void testSetFeatures() {
102 fail("Not yet implemented");