X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fadsal%2Fnorthbound%2Fflowprogrammer%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fflowprogrammer%2Fnorthbound%2FFlowProgrammerNorthboundTest.java;fp=opendaylight%2Fadsal%2Fnorthbound%2Fflowprogrammer%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fflowprogrammer%2Fnorthbound%2FFlowProgrammerNorthboundTest.java;h=0000000000000000000000000000000000000000;hp=10767e87778cd0b1346cadb40aae2445d48613b3;hb=50f88249a65c52ba56a48852b71ce432fed2bbeb;hpb=abfa9a03550cbe9fccc4420684dced175dd6d119 diff --git a/opendaylight/adsal/northbound/flowprogrammer/src/test/java/org/opendaylight/controller/flowprogrammer/northbound/FlowProgrammerNorthboundTest.java b/opendaylight/adsal/northbound/flowprogrammer/src/test/java/org/opendaylight/controller/flowprogrammer/northbound/FlowProgrammerNorthboundTest.java deleted file mode 100644 index 10767e8777..0000000000 --- a/opendaylight/adsal/northbound/flowprogrammer/src/test/java/org/opendaylight/controller/flowprogrammer/northbound/FlowProgrammerNorthboundTest.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.controller.flowprogrammer.northbound; - -import java.util.ArrayList; - -import org.junit.Assert; -import org.junit.Test; -import org.opendaylight.controller.forwardingrulesmanager.FlowConfig; - -public class FlowProgrammerNorthboundTest { - - @Test - public void testFlowConfigs() { - FlowConfigs fc = new FlowConfigs(null); - Assert.assertNull(fc.getFlowConfig()); - - FlowConfig conf = new FlowConfig(); - FlowConfig conf2 = new FlowConfig(); - ArrayList list = new ArrayList(); - - list.add(conf); - list.add(conf2); - FlowConfigs fc2 = new FlowConfigs(list); - Assert.assertTrue(fc2.getFlowConfig().equals(list)); - - fc.setFlowConfig(list); - Assert.assertTrue(fc.getFlowConfig().equals(fc2.getFlowConfig())); - - fc.setFlowConfig(null); - Assert.assertNull(fc.getFlowConfig()); - - } - -}