Removed legacy code that wasn't being used.
[openflowjava.git] / third-party / openflow-codec / src / test / java / org / openflow / codec / protocol / OFPTypeTest.java
diff --git a/third-party/openflow-codec/src/test/java/org/openflow/codec/protocol/OFPTypeTest.java b/third-party/openflow-codec/src/test/java/org/openflow/codec/protocol/OFPTypeTest.java
deleted file mode 100644 (file)
index 7204649..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.openflow.codec.protocol;
-
-import junit.framework.TestCase;
-
-import org.junit.Test;
-import org.openflow.codec.protocol.OFPHello;
-import org.openflow.codec.protocol.OFPMessage;
-import org.openflow.codec.protocol.OFPType;
-
-public class OFPTypeTest extends TestCase {
-
-    public void testOFTypeCreate() throws Exception {
-        OFPType foo = OFPType.HELLO;
-        Class<? extends OFPMessage> c = foo.toClass();
-        TestCase.assertEquals(c, OFPHello.class);
-    }
-
-    @Test
-    public void testMapping() throws Exception {
-        TestCase.assertEquals(OFPType.HELLO, OFPType.valueOf((byte) 0));
-        TestCase.assertEquals(OFPType.BARRIER_REPLY, OFPType.valueOf((byte) 21));
-    }
-}