Copyright update
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / deserialization / factories / BarrierReplyMessageFactoryTest.java
index 714e23c5b1687e3f2018d2a090dbd2057cb00694..51c700e74a612f18f5bd9a847c8ad006f8815e8c 100644 (file)
@@ -1,39 +1,46 @@
-/* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */\r
-package org.opendaylight.openflowjava.protocol.impl.deserialization.factories;\r
-\r
-import io.netty.buffer.ByteBuf;\r
-\r
-import org.junit.Test;\r
-import org.opendaylight.openflowjava.protocol.impl.util.BufferHelper;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.BarrierOutput;\r
-\r
-/**\r
- * @author michal.polkorab\r
- * @author timotej.kubas\r
- */\r
-public class BarrierReplyMessageFactoryTest {\r
-\r
-    /**\r
-     * Testing of {@link BarrierReplyMessageFactory} for correct translation into POJO\r
-     */\r
-    @Test\r
-    public void test() {\r
-        ByteBuf bb = BufferHelper.buildBuffer();\r
-        BarrierOutput builtByFactory = BufferHelper.decodeV13(\r
-                BarrierReplyMessageFactory.getInstance(), bb);\r
-\r
-        BufferHelper.checkHeaderV13(builtByFactory);\r
-    }\r
-    \r
-    /**\r
-     * Testing of {@link BarrierReplyMessageFactory} for correct translation into POJO\r
-     */\r
-    @Test\r
-    public void testV10() {\r
-        ByteBuf bb = BufferHelper.buildBuffer();\r
-        BarrierOutput builtByFactory = BufferHelper.decodeV10(\r
-                BarrierReplyMessageFactory.getInstance(), bb);\r
-\r
-        BufferHelper.checkHeaderV10(builtByFactory);\r
-    }\r
-}\r
+/*
+ * Copyright (c) 2013 Pantheon Technologies s.r.o. 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.openflowjava.protocol.impl.deserialization.factories;
+
+import io.netty.buffer.ByteBuf;
+
+import org.junit.Test;
+import org.opendaylight.openflowjava.protocol.impl.util.BufferHelper;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.BarrierOutput;
+
+/**
+ * @author michal.polkorab
+ * @author timotej.kubas
+ */
+public class BarrierReplyMessageFactoryTest {
+
+    /**
+     * Testing of {@link BarrierReplyMessageFactory} for correct translation into POJO
+     */
+    @Test
+    public void test() {
+        ByteBuf bb = BufferHelper.buildBuffer();
+        BarrierOutput builtByFactory = BufferHelper.decodeV13(
+                BarrierReplyMessageFactory.getInstance(), bb);
+
+        BufferHelper.checkHeaderV13(builtByFactory);
+    }
+    
+    /**
+     * Testing of {@link BarrierReplyMessageFactory} for correct translation into POJO
+     */
+    @Test
+    public void testV10() {
+        ByteBuf bb = BufferHelper.buildBuffer();
+        BarrierOutput builtByFactory = BufferHelper.decodeV10(
+                BarrierReplyMessageFactory.getInstance(), bb);
+
+        BufferHelper.checkHeaderV10(builtByFactory);
+    }
+}