OSDN Git Service

Fix CDMA BCD unit test.
authorTammo Spalink <tammo@google.com>
Mon, 7 Sep 2009 07:45:09 +0000 (15:45 +0800)
committerTammo Spalink <tammo@google.com>
Mon, 7 Sep 2009 08:17:45 +0000 (16:17 +0800)
Addresses issues:
http://buganizer/issue?id=2056263

Change-Id: I80e2412bd53b9045ae3cdc95cdf132da0946c2ea

tests/CoreTests/com/android/internal/telephony/SimUtilsTest.java

index 6f25fd9..db38ede 100644 (file)
@@ -59,7 +59,7 @@ public class SimUtilsTest extends TestCase {
         assertEquals(89, IccUtils.cdmaBcdByteToInt((byte) 0x89));
 
         // Out of range is treated as 0
-        assertEquals(80, IccUtils.gsmBcdByteToInt((byte) 0x8c));
+        assertEquals(80, IccUtils.cdmaBcdByteToInt((byte) 0x8c));
 
         /*
          * adnStringFieldToString()