Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG-2459: reuse EXI Transmogrifier
[controller.git]
/
opendaylight
/
netconf
/
netconf-netty-util
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
netconf
/
nettyutil
/
handler
/
NetconfEXIHandlersTest.java
diff --git
a/opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/NetconfEXIHandlersTest.java
b/opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/NetconfEXIHandlersTest.java
index 4f804abfe8e4478fffb89b69e817afc1157665d0..1972cb181fe0cfac7483a59ab06112717676f531 100644
(file)
--- a/
opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/NetconfEXIHandlersTest.java
+++ b/
opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/NetconfEXIHandlersTest.java
@@
-10,7
+10,6
@@
package org.opendaylight.controller.netconf.nettyutil.handler;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
-
import com.google.common.collect.Lists;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import com.google.common.collect.Lists;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
@@
-41,7
+40,7
@@
public class NetconfEXIHandlersTest {
@Before
public void setUp() throws Exception {
final NetconfEXICodec codec = new NetconfEXICodec(new EXIOptions());
@Before
public void setUp() throws Exception {
final NetconfEXICodec codec = new NetconfEXICodec(new EXIOptions());
- netconfMessageToEXIEncoder =
new NetconfMessageToEXIEncoder
(codec);
+ netconfMessageToEXIEncoder =
NetconfMessageToEXIEncoder.create
(codec);
netconfEXIToMessageDecoder = new NetconfEXIToMessageDecoder(codec);
msg = new NetconfMessage(XmlUtil.readXmlToDocument(msgAsString));
netconfEXIToMessageDecoder = new NetconfEXIToMessageDecoder(codec);
msg = new NetconfMessage(XmlUtil.readXmlToDocument(msgAsString));