copyright header added
[openflowplugin.git] / openflowplugin / src / test / java / org / opendaylight / openflowplugin / openflow / md / core / sal / convertor / flowflag / FlowFlagReactorTest.java
index 2a3074c930fd39ccd89c3f5e3b9ccd859606faa4..c5ae4c0f6b8d9d53098e2e796cf04c136d3433c6 100644 (file)
@@ -1,5 +1,14 @@
+/**
+ * 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.Before;
@@ -36,7 +45,7 @@ public class FlowFlagReactorTest {
         for (FlowModFlags fFlag : flowFlags) {
             target.setFlags(null);
             FlowFlagReactor.getInstance().convert(fFlag, 
-                    OFConstants.OFP_VERSION_1_3, target);
+                    OFConstants.OFP_VERSION_1_3, target,BigInteger.valueOf(1));
             Assert.assertNotNull(target.getFlags());
         }
     }
@@ -50,7 +59,7 @@ public class FlowFlagReactorTest {
         for (FlowModFlags fFlag : flowFlags) {
             target.setFlagsV10(null);
             FlowFlagReactor.getInstance().convert(fFlag, 
-                    OFConstants.OFP_VERSION_1_0, target);
+                    OFConstants.OFP_VERSION_1_0, target,BigInteger.valueOf(1));
             Assert.assertNotNull(target.getFlagsV10());
         }
     }