commit | 7ec0d1be857a3d117f527a416c73a5f3b6552df2 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Fri Nov 13 08:51:35 2015 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Nov 19 20:01:13 2015 +0000 |
tree | a13846ba88a5874bc42b96a5629f1a8e72244538 | |
parent | 3401a3fe1438ca8eb7c7cbe948d148ae5516bb57 [diff] [blame] |
Unit tests for open flow controller message handling. Change-Id: I9cffe4f4585eaf0df48d9fcb6a9f62ddcc0f9403
diff --git a/openflow/ctl/src/test/java/org/onosproject/openflow/controller/impl/OFMessageEncoderTest.java b/openflow/ctl/src/test/java/org/onosproject/openflow/controller/impl/OFMessageEncoderTest.java index 59685f1..d09e566 100644 --- a/openflow/ctl/src/test/java/org/onosproject/openflow/controller/impl/OFMessageEncoderTest.java +++ b/openflow/ctl/src/test/java/org/onosproject/openflow/controller/impl/OFMessageEncoderTest.java
@@ -22,6 +22,7 @@ import org.junit.Test; import org.onosproject.openflow.OfMessageAdapter; import org.projectfloodlight.openflow.protocol.OFMessage; +import org.projectfloodlight.openflow.protocol.OFType; import com.google.common.collect.ImmutableList; @@ -39,6 +40,7 @@ final int id; MockOfMessage() { + super(OFType.ERROR); id = nextId++; }