Mass replace CRLF->LF
[openflowjava.git] / openflow-protocol-api / src / test / java / org / opendaylight / openflowjava / protocol / api / connection / TlsConfigurationImplTest.java
index 9816c25003ca4de744edd6c358973b21a0efc206..f71d23022c8ea3e0d6b63980a3971f69df6d06e7 100644 (file)
@@ -1,40 +1,40 @@
-/*\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.api.connection;\r
-\r
-import static org.junit.Assert.*;\r
-\r
-import org.junit.Test;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType;\r
-\r
-/**\r
- * @author michal.polkorab\r
- *\r
- */\r
-public class TlsConfigurationImplTest {\r
-\r
-    /**\r
-     * Test correct TlsConfigurationImpl creation\r
-     */\r
-    @Test\r
-    public void test() {\r
-        TlsConfigurationImpl config = new TlsConfigurationImpl(KeystoreType.JKS,\r
-                "user/dir", PathType.CLASSPATH, KeystoreType.PKCS12, "/var/lib", PathType.PATH);\r
-        assertEquals("Wrong keystore location", "/var/lib", config.getTlsKeystore());\r
-        assertEquals("Wrong truststore location", "user/dir", config.getTlsTruststore());\r
-        assertEquals("Wrong keystore type", KeystoreType.PKCS12, config.getTlsKeystoreType());\r
-        assertEquals("Wrong truststore type", KeystoreType.JKS, config.getTlsTruststoreType());\r
-        assertEquals("Wrong keystore path type", PathType.PATH, config.getTlsKeystorePathType());\r
-        assertEquals("Wrong truststore path type", PathType.CLASSPATH, config.getTlsTruststorePathType());\r
-        assertEquals("Wrong certificate password", "opendaylight", config.getCertificatePassword());\r
-        assertEquals("Wrong keystore password", "opendaylight", config.getKeystorePassword());\r
-        assertEquals("Wrong truststore password", "opendaylight", config.getTruststorePassword());\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.api.connection;
+
+import static org.junit.Assert.*;
+
+import org.junit.Test;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType;
+
+/**
+ * @author michal.polkorab
+ *
+ */
+public class TlsConfigurationImplTest {
+
+    /**
+     * Test correct TlsConfigurationImpl creation
+     */
+    @Test
+    public void test() {
+        TlsConfigurationImpl config = new TlsConfigurationImpl(KeystoreType.JKS,
+                "user/dir", PathType.CLASSPATH, KeystoreType.PKCS12, "/var/lib", PathType.PATH);
+        assertEquals("Wrong keystore location", "/var/lib", config.getTlsKeystore());
+        assertEquals("Wrong truststore location", "user/dir", config.getTlsTruststore());
+        assertEquals("Wrong keystore type", KeystoreType.PKCS12, config.getTlsKeystoreType());
+        assertEquals("Wrong truststore type", KeystoreType.JKS, config.getTlsTruststoreType());
+        assertEquals("Wrong keystore path type", PathType.PATH, config.getTlsKeystorePathType());
+        assertEquals("Wrong truststore path type", PathType.CLASSPATH, config.getTlsTruststorePathType());
+        assertEquals("Wrong certificate password", "opendaylight", config.getCertificatePassword());
+        assertEquals("Wrong keystore password", "opendaylight", config.getKeystorePassword());
+        assertEquals("Wrong truststore password", "opendaylight", config.getTruststorePassword());
+    }
 }
\ No newline at end of file