Mass replace CRLF->LF
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / util / ListSerializerTest.java
index f314a3ae722ec3d60c8bcff0f726ac22aff25f36..15c367ad35b0d0c8f1fbbdbdf433799a9f5df0b8 100644 (file)
@@ -1,45 +1,45 @@
-/*\r
- * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.openflowjava.protocol.impl.util;\r
-\r
-import io.netty.buffer.ByteBuf;\r
-import io.netty.buffer.PooledByteBufAllocator;\r
-\r
-import java.util.List;\r
-\r
-import org.junit.Assert;\r
-import org.junit.Test;\r
-import org.junit.runner.RunWith;\r
-import org.mockito.Mock;\r
-import org.mockito.runners.MockitoJUnitRunner;\r
-import org.opendaylight.openflowjava.protocol.api.extensibility.SerializerRegistry;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.grouping.Action;\r
-\r
-/**\r
- * @author michal.polkorab\r
- *\r
- */\r
-@RunWith(MockitoJUnitRunner.class)\r
-public class ListSerializerTest {\r
-\r
-    @Mock TypeKeyMaker<Action> keyMaker;\r
-    @Mock SerializerRegistry registry;\r
-\r
-    /**\r
-     * Tests {@link ListSerializer#serializeHeaderList(List, TypeKeyMaker, SerializerRegistry, ByteBuf)}\r
-     * with null List\r
-     */\r
-    @Test\r
-    public void test() {\r
-        ByteBuf buffer = PooledByteBufAllocator.DEFAULT.buffer();\r
-        ListSerializer.serializeHeaderList(null, keyMaker, registry, buffer);\r
-\r
-        Assert.assertEquals("Data written to buffer", 0, buffer.readableBytes());\r
-    }\r
+/*
+ * Copyright (c) 2014 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.util;
+
+import io.netty.buffer.ByteBuf;
+import io.netty.buffer.PooledByteBufAllocator;
+
+import java.util.List;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.mockito.Mock;
+import org.mockito.runners.MockitoJUnitRunner;
+import org.opendaylight.openflowjava.protocol.api.extensibility.SerializerRegistry;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.grouping.Action;
+
+/**
+ * @author michal.polkorab
+ *
+ */
+@RunWith(MockitoJUnitRunner.class)
+public class ListSerializerTest {
+
+    @Mock TypeKeyMaker<Action> keyMaker;
+    @Mock SerializerRegistry registry;
+
+    /**
+     * Tests {@link ListSerializer#serializeHeaderList(List, TypeKeyMaker, SerializerRegistry, ByteBuf)}
+     * with null List
+     */
+    @Test
+    public void test() {
+        ByteBuf buffer = PooledByteBufAllocator.DEFAULT.buffer();
+        ListSerializer.serializeHeaderList(null, keyMaker, registry, buffer);
+
+        Assert.assertEquals("Data written to buffer", 0, buffer.readableBytes());
+    }
 }
\ No newline at end of file