Add missing license headers
[openflowplugin.git] / openflowplugin / src / test / java / org / opendaylight / openflowplugin / openflow / md / core / sal / convertor / flowflag / FlowFlagReactorTest.java
index 8e51e3d6e08bc0cf8d97c034c6e42190b52a7842..0e2c685b5a2ef3e6a04d8982eb78b8c088c64f6d 100644 (file)
@@ -1,22 +1,27 @@
+/**
+ * Copyright (c) 2013 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.openflowplugin.openflow.md.core.sal.convertor.flowflag;
 
 import java.math.BigInteger;
-
-import junit.framework.Assert;
-
+import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
-import org.opendaylight.openflowplugin.openflow.md.OFConstants;
+import org.opendaylight.openflowplugin.api.OFConstants;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.FlowModFlags;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.FlowModInputBuilder;
 
 /**
- * match conversion and injection test 
+ * match conversion and injection test
  */
 public class FlowFlagReactorTest {
 
     private FlowModFlags[] flowFlags;
-    
+
     /**
      * prepare input match
      */
@@ -37,12 +42,12 @@ public class FlowFlagReactorTest {
         FlowModInputBuilder target = new FlowModInputBuilder();
         for (FlowModFlags fFlag : flowFlags) {
             target.setFlags(null);
-            FlowFlagReactor.getInstance().convert(fFlag, 
+            FlowFlagReactor.getInstance().convert(fFlag,
                     OFConstants.OFP_VERSION_1_3, target,BigInteger.valueOf(1));
             Assert.assertNotNull(target.getFlags());
         }
     }
-    
+
     /**
      * convert for OF-1.0, inject into {@link FlowModInputBuilder}
      */
@@ -51,7 +56,7 @@ public class FlowFlagReactorTest {
         FlowModInputBuilder target = new FlowModInputBuilder();
         for (FlowModFlags fFlag : flowFlags) {
             target.setFlagsV10(null);
-            FlowFlagReactor.getInstance().convert(fFlag, 
+            FlowFlagReactor.getInstance().convert(fFlag,
                     OFConstants.OFP_VERSION_1_0, target,BigInteger.valueOf(1));
             Assert.assertNotNull(target.getFlagsV10());
         }