X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-monitoring%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fmonitoring%2Fxml%2FJaxBSerializerTest.java;h=e19febf1a7d4a89a757d26dee7ecfc5ea60036ec;hb=refs%2Fchanges%2F13%2F23413%2F26;hp=a8236b2ebc38017a64af7a2ad1619a9a129d1f3e;hpb=47ef70359e1a7dc28cb7e080b7fa7aaf060afa0c;p=controller.git diff --git a/opendaylight/netconf/netconf-monitoring/src/test/java/org/opendaylight/controller/netconf/monitoring/xml/JaxBSerializerTest.java b/opendaylight/netconf/netconf-monitoring/src/test/java/org/opendaylight/controller/netconf/monitoring/xml/JaxBSerializerTest.java index a8236b2ebc..e19febf1a7 100644 --- a/opendaylight/netconf/netconf-monitoring/src/test/java/org/opendaylight/controller/netconf/monitoring/xml/JaxBSerializerTest.java +++ b/opendaylight/netconf/netconf-monitoring/src/test/java/org/opendaylight/controller/netconf/monitoring/xml/JaxBSerializerTest.java @@ -1,10 +1,11 @@ /* -* Copyright (c) 2013 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 -*/ + * Copyright (c) 2013 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.netconf.monitoring.xml; import static org.hamcrest.MatcherAssert.assertThat; @@ -16,11 +17,11 @@ import com.google.common.collect.Lists; import java.util.Set; import org.hamcrest.CoreMatchers; import org.junit.Test; -import org.opendaylight.controller.netconf.api.Capability; +import org.opendaylight.controller.config.util.capability.Capability; +import org.opendaylight.controller.config.util.xml.XmlUtil; import org.opendaylight.controller.netconf.api.monitoring.NetconfManagementSession; import org.opendaylight.controller.netconf.api.monitoring.NetconfMonitoringService; import org.opendaylight.controller.netconf.monitoring.xml.model.NetconfState; -import org.opendaylight.controller.netconf.util.xml.XmlUtil; import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.DomainName; import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Host; import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Uri; @@ -48,22 +49,17 @@ public class JaxBSerializerTest { final NetconfMonitoringService service = new NetconfMonitoringService() { @Override - public void onSessionUp(final NetconfManagementSession session) { + public void onCapabilitiesChanged(Set added, Set removed) { } @Override - public void onSessionDown(final NetconfManagementSession session) { - - } - - @Override - public void onCapabilitiesAdded(final Set addedCaps) { + public void onSessionUp(final NetconfManagementSession session) { } @Override - public void onCapabilitiesRemoved(final Set addedCaps) { + public void onSessionDown(final NetconfManagementSession session) { }