X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=protocol%2Fnetconf-server%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fserver%2Fapi%2Foperations%2FAbstractLastNetconfOperationTest.java;h=8234d0e172480f888186c4ad834e3e73f63d6825;hb=a78eedbed12341f665d4988fa7c61c5c702cf2dd;hp=e861e1512953ae3c34f50db25bdc08896b939c13;hpb=3578c00ce2daa5850f77d76c0041996ee172d2c4;p=netconf.git diff --git a/protocol/netconf-server/src/test/java/org/opendaylight/netconf/server/api/operations/AbstractLastNetconfOperationTest.java b/protocol/netconf-server/src/test/java/org/opendaylight/netconf/server/api/operations/AbstractLastNetconfOperationTest.java index e861e15129..8234d0e172 100644 --- a/protocol/netconf-server/src/test/java/org/opendaylight/netconf/server/api/operations/AbstractLastNetconfOperationTest.java +++ b/protocol/netconf-server/src/test/java/org/opendaylight/netconf/server/api/operations/AbstractLastNetconfOperationTest.java @@ -16,6 +16,8 @@ import org.junit.Before; import org.junit.Test; import org.opendaylight.netconf.api.DocumentedException; import org.opendaylight.netconf.api.xml.XmlElement; +import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.base._1._0.rev110601.SessionIdType; +import org.opendaylight.yangtools.yang.common.Uint32; import org.w3c.dom.Document; import org.w3c.dom.Element; @@ -23,8 +25,8 @@ public class AbstractLastNetconfOperationTest { private static final class LastNetconfOperationImplTest extends AbstractLastNetconfOperation { boolean handleWithNoSubsequentOperationsRun; - protected LastNetconfOperationImplTest(final String netconfSessionIdForReporting) { - super(netconfSessionIdForReporting); + protected LastNetconfOperationImplTest(final SessionIdType sessionId) { + super(sessionId); handleWithNoSubsequentOperationsRun = false; } @@ -45,7 +47,7 @@ public class AbstractLastNetconfOperationTest { @Before public void setUp() throws Exception { - netconfOperation = new LastNetconfOperationImplTest(""); + netconfOperation = new LastNetconfOperationImplTest(new SessionIdType(Uint32.ONE)); } @Test