Removed legacy code that wasn't being used.
[openflowjava.git] / third-party / openflow-codec / src / test / java / org / openflow / codec / util / HexStringTest.java
diff --git a/third-party/openflow-codec/src/test/java/org/openflow/codec/util/HexStringTest.java b/third-party/openflow-codec/src/test/java/org/openflow/codec/util/HexStringTest.java
deleted file mode 100644 (file)
index 05a33c0..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-package org.openflow.codec.util;
-
-import org.openflow.codec.util.HexString;
-
-import junit.framework.TestCase;
-
-/**
- * Does hexstring conversion work?
- *
- * @author Rob Sherwood (rob.sherwood@stanford.edu)
- *
- */
-
-public class HexStringTest extends TestCase {
-
-    public void testMarshalling() throws Exception {
-        String dpidStr = "00:00:00:23:20:2d:16:71";
-        long dpid = HexString.toLong(dpidStr);
-        String testStr = HexString.toHexString(dpid);
-        TestCase.assertEquals(dpidStr, testStr);
-    }
-
-    public void testToStringBytes() {
-        byte[] dpid = { 0, 0, 0, 0, 0, 0, 0, -1 };
-        String valid = "00:00:00:00:00:00:00:ff";
-        String testString = HexString.toHexString(dpid);
-        TestCase.assertEquals(valid, testString);
-    }
-}