X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fadsal%2Fnorthbound%2Fsubnets%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsubnets%2Fnorthbound%2FSubnetsNorthboundTest.java;fp=opendaylight%2Fadsal%2Fnorthbound%2Fsubnets%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsubnets%2Fnorthbound%2FSubnetsNorthboundTest.java;h=0000000000000000000000000000000000000000;hb=50f88249a65c52ba56a48852b71ce432fed2bbeb;hp=833b5d4ce7710a57c930ed595995a02a61eaff80;hpb=abfa9a03550cbe9fccc4420684dced175dd6d119;p=controller.git diff --git a/opendaylight/adsal/northbound/subnets/src/test/java/org/opendaylight/controller/subnets/northbound/SubnetsNorthboundTest.java b/opendaylight/adsal/northbound/subnets/src/test/java/org/opendaylight/controller/subnets/northbound/SubnetsNorthboundTest.java deleted file mode 100644 index 833b5d4ce7..0000000000 --- a/opendaylight/adsal/northbound/subnets/src/test/java/org/opendaylight/controller/subnets/northbound/SubnetsNorthboundTest.java +++ /dev/null @@ -1,33 +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.subnets.northbound; - -import java.util.ArrayList; - -import org.junit.Assert; -import org.junit.Test; -import org.opendaylight.controller.switchmanager.SubnetConfig; - -public class SubnetsNorthboundTest { - - @Test - public void testSubnetConfigs() { - SubnetConfigs sc1 = new SubnetConfigs(null); - Assert.assertNull(sc1.getSubnetConfig()); - - ArrayList list = new ArrayList(); - SubnetConfig s1 = new SubnetConfig(); - list.add(s1); - sc1.setSubnetConfig(list); - Assert.assertTrue(sc1.getSubnetConfig().equals(list)); - - sc1.setSubnetConfig(null); - Assert.assertNull(sc1.getSubnetConfig()); - } - -}