Merge "BUG-731: fix warnings from missing generic arguments"
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / implementation / src / test / java / org / opendaylight / controller / sal / connector / remoterpc / SerilizationTest.java
index 36a4acddca62bc2e8933b199d39b9944c34e0efd..41422fd680b00a33660f880f12462eb96197e51a 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. 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.controller.sal.connector.remoterpc;
 
 import org.junit.Test;
@@ -31,7 +38,8 @@ public class SerilizationTest {
   @Test
   public void toXml() throws FileNotFoundException {
 
-    InputStream xmlStream = SerilizationTest.class.getResourceAsStream("/FourSimpleChildren.xml");
+    //InputStream xmlStream = SerilizationTest.class.getResourceAsStream("/FourSimpleChildren.xml");
+    InputStream xmlStream = SerilizationTest.class.getResourceAsStream("/AddFlow.xml");
     StringWriter writer = new StringWriter();
 
     CompositeNode data = loadCompositeNode(xmlStream);
@@ -52,8 +60,6 @@ public class SerilizationTest {
     _logger.info("Parsed xml [{}]", writer.toString());
   }
 
-  //Note to self:  Stolen from TestUtils
-  ///Users/alefan/odl/controller4/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/TestUtils.java
   // Figure out how to include TestUtils through pom ...was getting errors
   private CompositeNode loadCompositeNode(InputStream xmlInputStream) throws FileNotFoundException {
     if (xmlInputStream == null) {