Home
last modified time | relevance | path

Searched refs:assertEquals (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java28 assertEquals( in testExtractNetworkPortion()
33 assertEquals( in testExtractNetworkPortion()
38 assertEquals( in testExtractNetworkPortion()
44 assertEquals( in testExtractNetworkPortion()
49 assertEquals( in testExtractNetworkPortion()
54 assertEquals( in testExtractNetworkPortion()
59 assertEquals( in testExtractNetworkPortion()
66 assertEquals( in testExtractNetworkPortion()
74 assertEquals("", PhoneNumberUtils.extractNetworkPortion("")); in testExtractNetworkPortion()
76 assertEquals("", PhoneNumberUtils.extractNetworkPortion(",1234")); in testExtractNetworkPortion()
[all …]
DIntRangeManagerTest.java100 assertEquals("expecting empty configlist", 0, testManager.mConfigList.size()); in testEmptyRangeManager()
105 assertEquals("fromServiceId", fromServiceId, info.getFromServiceId()); in checkConfigInfo()
106 assertEquals("toServiceId", toServiceId, info.getToServiceId()); in checkConfigInfo()
107 assertEquals("fromCodeScheme", fromCodeScheme, info.getFromCodeScheme()); in checkConfigInfo()
108 assertEquals("toCodeScheme", toCodeScheme, info.getToCodeScheme()); in checkConfigInfo()
109 assertEquals("selected", selected, info.isSelected()); in checkConfigInfo()
114 assertEquals("flags before test", 0, testManager.flags); in testAddSingleChannel()
116 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel()
117 assertEquals("configlist size", 1, testManager.mConfigList.size()); in testAddSingleChannel()
122 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel()
[all …]
DMccTableTest.java31 assertEquals(MccTable.defaultTimeZoneForMcc(208), "ECT"); in testTimeZone()
32 assertEquals(MccTable.defaultTimeZoneForMcc(232), "Europe/Vienna"); in testTimeZone()
33 assertEquals(MccTable.defaultTimeZoneForMcc(655), "Africa/Johannesburg"); in testTimeZone()
34 assertEquals(MccTable.defaultTimeZoneForMcc(440), "Asia/Tokyo"); in testTimeZone()
35 assertEquals(MccTable.defaultTimeZoneForMcc(441), "Asia/Tokyo"); in testTimeZone()
36 assertEquals(MccTable.defaultTimeZoneForMcc(525), "Asia/Singapore"); in testTimeZone()
37 assertEquals(MccTable.defaultTimeZoneForMcc(240), null); // tz not defined, hence default in testTimeZone()
38 assertEquals(MccTable.defaultTimeZoneForMcc(0), null); // mcc not defined, hence default in testTimeZone()
39 assertEquals(MccTable.defaultTimeZoneForMcc(2000), null); // mcc not defined, hence default in testTimeZone()
44 assertEquals(MccTable.countryCodeForMcc(270), "lu"); in testCountryCode()
[all …]
DGsmSmsTest.java34 assertEquals("+14155551212", sms.getServiceCenterAddress()); in testAddressing()
35 assertEquals("+16505551111", sms.getOriginatingAddress()); in testAddressing()
36 assertEquals("Test", sms.getMessageBody()); in testAddressing()
41 assertEquals("+14155551212", sms.getServiceCenterAddress()); in testAddressing()
42 assertEquals("+16505551111", sms.getOriginatingAddress()); in testAddressing()
43 assertEquals("(Subject)Test", sms.getMessageBody()); in testAddressing()
58 assertEquals(header.concatRef.refNumber, 42); in testUdh()
59 assertEquals(header.concatRef.msgCount, 2); in testUdh()
60 assertEquals(header.concatRef.seqNumber, 1); in testUdh()
61 assertEquals(header.concatRef.isEightBits, true); in testUdh()
[all …]
DGsmAlphabetTest.java47 assertEquals(message, parsedMessage); in test7bitWithHeader()
55 assertEquals(0, GsmAlphabet.charToGsm('@')); in testBasic()
58 assertEquals(0x7f, GsmAlphabet.charToGsm('\u00e0')); in testBasic()
66 assertEquals(GsmAlphabet.GSM_EXTENDED_ESCAPE, in testBasic()
72 assertEquals(GsmAlphabet.GSM_EXTENDED_ESCAPE, in testBasic()
76 assertEquals(GsmAlphabet.charToGsm(' '), in testBasic()
80 assertEquals(1, GsmAlphabet.countGsmSeptets('\u00a2')); in testBasic()
87 assertEquals(sGsmExtendedChars.charAt(i), in testBasic()
94 assertEquals(GsmAlphabet.charToGsm(' '), in testBasic()
101 assertEquals('@', GsmAlphabet.gsmToChar(0)); in testBasic()
[all …]
DAdnRecordTest.java40 assertEquals("Voice Mail", adn.getAlphaTag()); in testBasic()
41 assertEquals("+18056377243", adn.getNumber()); in testBasic()
50 assertEquals("", adn.getAlphaTag()); in testBasic()
51 assertEquals("", adn.getNumber()); in testBasic()
59 assertEquals("", adn.getAlphaTag()); in testBasic()
60 assertEquals("", adn.getNumber()); in testBasic()
69 assertEquals("Voice Mail", adn.getAlphaTag()); in testBasic()
70 assertEquals("18056377243", adn.getNumber()); in testBasic()
79 assertEquals("Voice Mail", adn.getAlphaTag()); in testBasic()
80 assertEquals("18056377243", adn.getNumber()); in testBasic()
[all …]
DNeighboringCellInfoTest.java35 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType()); in testConstructor()
36 assertEquals(rssi, nc.getRssi()); in testConstructor()
37 assertEquals(0xfff, nc.getLac()); in testConstructor()
38 assertEquals(0xffff, nc.getCid()); in testConstructor()
39 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getPsc()); in testConstructor()
42 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType()); in testConstructor()
43 assertEquals(rssi, nc.getRssi()); in testConstructor()
44 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getCid()); in testConstructor()
45 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getLac()); in testConstructor()
46 assertEquals(0x1ff, nc.getPsc()); in testConstructor()
[all …]
DApnSettingTest.java34 assertEquals(a1.size(), a2.size()); in assertApnSettingsEqual()
41 assertEquals(a1.carrier, a2.carrier); in assertApnSettingEqual()
42 assertEquals(a1.apn, a2.apn); in assertApnSettingEqual()
43 assertEquals(a1.proxy, a2.proxy); in assertApnSettingEqual()
44 assertEquals(a1.port, a2.port); in assertApnSettingEqual()
45 assertEquals(a1.mmsc, a2.mmsc); in assertApnSettingEqual()
46 assertEquals(a1.mmsProxy, a2.mmsProxy); in assertApnSettingEqual()
47 assertEquals(a1.mmsPort, a2.mmsPort); in assertApnSettingEqual()
48 assertEquals(a1.user, a2.user); in assertApnSettingEqual()
49 assertEquals(a1.password, a2.password); in assertApnSettingEqual()
[all …]
DATResponseParserTest.java27 assertEquals(0, p.nextInt()); in testBasic()
39 assertEquals(0, p.nextInt()); in testBasic()
40 assertEquals(1, p.nextInt()); in testBasic()
44 assertEquals(0, p.nextInt()); in testBasic()
45 assertEquals(1, p.nextInt()); in testBasic()
49 assertEquals(0, p.nextInt()); in testBasic()
50 assertEquals(1, p.nextInt()); in testBasic()
61 assertEquals(0, p.nextInt()); in testBasic()
62 assertEquals(1, p.nextInt()); in testBasic()
87 assertEquals(1, p.nextInt()); in testBasic()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DDayOfMonthCursorTest.java47 assertEquals(Calendar.SEPTEMBER, mc.getMonth()); in testMoveLeft()
48 assertEquals(3, mc.getSelectedDayOfMonth()); in testMoveLeft()
49 assertEquals(1, mc.getSelectedRow()); in testMoveLeft()
50 assertEquals(1, mc.getSelectedColumn()); in testMoveLeft()
54 assertEquals(2, mc.getSelectedDayOfMonth()); in testMoveLeft()
55 assertEquals(1, mc.getSelectedRow()); in testMoveLeft()
56 assertEquals(0, mc.getSelectedColumn()); in testMoveLeft()
60 assertEquals(1, mc.getSelectedDayOfMonth()); in testMoveLeft()
61 assertEquals(0, mc.getSelectedRow()); in testMoveLeft()
62 assertEquals(6, mc.getSelectedColumn()); in testMoveLeft()
[all …]
DBase64Test.java44 assertEquals(in, dec); in encodeToString()
58 private void assertEquals(byte[] expected, int len, byte[] actual) { in assertEquals() method in Base64Test
59 assertEquals(len, actual.length); in assertEquals()
61 assertEquals(expected[i], actual[i]); in assertEquals()
66 private void assertEquals(byte[] expected, int len, byte[] actual, int alen) { in assertEquals() method in Base64Test
67 assertEquals(len, alen); in assertEquals()
69 assertEquals(expected[i], actual[i]); in assertEquals()
74 private void assertEquals(byte[] expected, byte[] actual) { in assertEquals() method in Base64Test
75 assertEquals(expected.length, actual.length); in assertEquals()
77 assertEquals(expected[i], actual[i]); in assertEquals()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java49 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN); in testCdmaSmsAddrParsing()
50 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF); in testCdmaSmsAddrParsing()
51 assertEquals(addr.numberMode, CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK); in testCdmaSmsAddrParsing()
52 assertEquals(addr.numberOfDigits, 10); in testCdmaSmsAddrParsing()
53 assertEquals(addr.origBytes.length, 10); in testCdmaSmsAddrParsing()
56 assertEquals(addr.origBytes[i], data[i]); in testCdmaSmsAddrParsing()
59 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN); in testCdmaSmsAddrParsing()
60 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF); in testCdmaSmsAddrParsing()
61 assertEquals(addr.numberMode, CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK); in testCdmaSmsAddrParsing()
62 assertEquals(addr.numberOfDigits, 10); in testCdmaSmsAddrParsing()
[all …]
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
DJavaBridgeCoercionTest.java180 assertEquals(42, mTestObject.waitForByteValue()); in testPassNumberInt32()
182 assertEquals(Byte.MIN_VALUE + 42 - 1, mTestObject.waitForByteValue()); in testPassNumberInt32()
186 assertEquals('\u0000', mTestObject.waitForCharValue()); in testPassNumberInt32()
189 assertEquals(42, mTestObject.waitForShortValue()); in testPassNumberInt32()
191 assertEquals(Short.MIN_VALUE + 42 - 1, mTestObject.waitForShortValue()); in testPassNumberInt32()
194 assertEquals(42, mTestObject.waitForIntValue()); in testPassNumberInt32()
197 assertEquals(42L, mTestObject.waitForLongValue()); in testPassNumberInt32()
200 assertEquals(42.0f, mTestObject.waitForFloatValue()); in testPassNumberInt32()
203 assertEquals(42.0, mTestObject.waitForDoubleValue()); in testPassNumberInt32()
229 assertEquals(42, mTestObject.waitForByteValue()); in testPassNumberDouble()
[all …]
DJavaBridgeArrayCoercionTest.java182 assertEquals(42, mTestObject.waitForByteArray()[0]); in testPassNumberInt32()
186 assertEquals('\u0000', mTestObject.waitForCharArray()[0]); in testPassNumberInt32()
189 assertEquals(42, mTestObject.waitForShortArray()[0]); in testPassNumberInt32()
192 assertEquals(42, mTestObject.waitForIntArray()[0]); in testPassNumberInt32()
195 assertEquals(42L, mTestObject.waitForLongArray()[0]); in testPassNumberInt32()
198 assertEquals(42.0f, mTestObject.waitForFloatArray()[0]); in testPassNumberInt32()
201 assertEquals(42.0, mTestObject.waitForDoubleArray()[0]); in testPassNumberInt32()
224 assertEquals(42, mTestObject.waitForByteArray()[0]); in testPassNumberDouble()
228 assertEquals('\u0000', mTestObject.waitForCharArray()[0]); in testPassNumberDouble()
231 assertEquals(42, mTestObject.waitForShortArray()[0]); in testPassNumberDouble()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DStateMachineTest.java162 assertEquals(8, smQuitTest.mLogRecs.size()); in testStateMachineQuit()
168 assertEquals(i, lr.getWhat()); in testStateMachineQuit()
169 assertEquals(smQuitTest.mS1, lr.getState()); in testStateMachineQuit()
170 assertEquals(smQuitTest.mS1, lr.getOriginalState()); in testStateMachineQuit()
173 assertEquals(EXIT, lr.getInfo()); in testStateMachineQuit()
174 assertEquals(smQuitTest.mS1, lr.getState()); in testStateMachineQuit()
177 assertEquals(ON_QUITTING, lr.getInfo()); in testStateMachineQuit()
266 assertEquals(3, smQuitNowTest.mLogRecs.size()); in testStateMachineQuitNow()
270 assertEquals(1, lr.getWhat()); in testStateMachineQuitNow()
271 assertEquals(smQuitNowTest.mS1, lr.getState()); in testStateMachineQuitNow()
[all …]
DProcFileReaderTest.java46 assertEquals("a", reader.nextString()); in testSingleString()
50 assertEquals("b", reader.nextString()); in testSingleString()
54 assertEquals("c", reader.nextString()); in testSingleString()
62 assertEquals(1, reader.nextInt()); in testMixedNumbersSkip()
63 assertEquals(2, reader.nextInt()); in testMixedNumbersSkip()
64 assertEquals(3, reader.nextInt()); in testMixedNumbersSkip()
68 assertEquals(4, reader.nextInt()); in testMixedNumbersSkip()
69 assertEquals("abc_def", reader.nextString()); in testMixedNumbersSkip()
70 assertEquals(5, reader.nextInt()); in testMixedNumbersSkip()
74 assertEquals(10, reader.nextInt()); in testMixedNumbersSkip()
[all …]
/frameworks/ex/common/tests/src/com/android/common/
DOperationSchedulerTest.java48 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler()
49 assertEquals(0, scheduler.getLastSuccessTimeMillis()); in testScheduler()
50 assertEquals(0, scheduler.getLastAttemptTimeMillis()); in testScheduler()
54 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); in testScheduler()
58 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); in testScheduler()
60 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); in testScheduler()
64 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler()
66 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); in testScheduler()
71 assertEquals(0, scheduler.getLastSuccessTimeMillis()); in testScheduler()
72 assertEquals(beforeError, scheduler.getLastAttemptTimeMillis()); in testScheduler()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java144 assertEquals(PhoneConstants.State.IDLE, mGSMPhone.getState()); in brokenTestGeneral()
145 assertEquals(0, mGSMPhone.getRingingCall().getConnections().size()); in brokenTestGeneral()
146 assertEquals(0, mGSMPhone.getForegroundCall().getConnections().size()); in brokenTestGeneral()
147 assertEquals(0, mGSMPhone.getBackgroundCall().getConnections().size()); in brokenTestGeneral()
149 assertEquals(Call.State.IDLE, mGSMPhone.getRingingCall().getState()); in brokenTestGeneral()
150 assertEquals(Call.State.IDLE, mGSMPhone.getForegroundCall().getState()); in brokenTestGeneral()
151 assertEquals(Call.State.IDLE, mGSMPhone.getBackgroundCall().getState()); in brokenTestGeneral()
153 assertEquals(0, mGSMPhone.getForegroundCall().getEarliestCreateTime()); in brokenTestGeneral()
154 assertEquals(0, mGSMPhone.getForegroundCall().getEarliestConnectTime()); in brokenTestGeneral()
163 assertEquals(PhoneConstants.State.OFFHOOK, mGSMPhone.getState()); in brokenTestGeneral()
[all …]
DGsmSmsCbTest.java53 assertEquals("Unexpected geographical scope decoded", expectedGs, msg in doTestGeographicalScopeValue()
119 assertEquals("Unexpected geographical scope decoded", in testGetGeographicalScopeUmts()
141 assertEquals("Unexpected 7-bit string decoded", in testGetMessageBody7Bit()
171 assertEquals("Unexpected 7-bit string decoded", in testGetMessageBody7BitUmts()
218 assertEquals("Unexpected multipage 7-bit string decoded", in testGetMessageBody7BitMultipageUmts()
241 assertEquals( in testGetMessageBody7BitFull()
273 assertEquals( in testGetMessageBody7BitFullUmts()
298 assertEquals("Unexpected 7-bit string decoded", in testGetMessageBody7BitWithLanguage()
302 assertEquals("Unexpected language indicator decoded", "es", msg.getLanguageCode()); in testGetMessageBody7BitWithLanguage()
323 assertEquals("Unexpected 7-bit string decoded", in testGetMessageBody7BitWithLanguageInBody()
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java40 assertEquals("//foo", uri.toString()); in testToStringWithPathOnly()
61 assertEquals(u, Uri.CREATOR.createFromParcel(p)); in parcelAndUnparcel()
67 assertEquals(u, Uri.CREATOR.createFromParcel(p)); in parcelAndUnparcel()
77 assertEquals("robert", u.getScheme()); in testBuildUponOpaqueStringUri()
78 assertEquals("lee", u.getEncodedSchemeSpecificPart()); in testBuildUponOpaqueStringUri()
79 assertEquals("lee", u.getSchemeSpecificPart()); in testBuildUponOpaqueStringUri()
88 assertEquals("bob lee", in testStringUri()
90 assertEquals("bob%20lee", in testStringUri()
92 assertEquals("/bob%20lee", in testStringUri()
95 assertEquals("bob%20lee", in testStringUri()
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DMatrixCursorTest.java29 assertEquals(0, cursor.getCount()); in testEmptyCursor()
39 assertEquals(0, cursor.getShort(0)); in testNullValue()
40 assertEquals(0, cursor.getInt(0)); in testNullValue()
41 assertEquals(0L, cursor.getLong(0)); in testNullValue()
42 assertEquals(0.0f, cursor.getFloat(0)); in testNullValue()
43 assertEquals(0.0d, cursor.getDouble(0)); in testNullValue()
149 assertEquals("foobar", cursor.getString(0)); in testRowBuilderOffer()
150 assertEquals(null, cursor.getString(1)); in testRowBuilderOffer()
151 assertEquals(0, cursor.getShort(1)); in testRowBuilderOffer()
152 assertEquals(0, cursor.getInt(2)); in testRowBuilderOffer()
[all …]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/
DTest.java31 assertEquals(10, TestApplication.get(true)); in testExceptionInMainDex()
35 assertEquals(10, getActivity().get1(true)); in testExceptionInSecondaryDex()
36 assertEquals(11, getActivity().get2(true)); in testExceptionInSecondaryDex()
40 assertEquals(11, IntermediateClass.get3(true)); in testExceptionInIntermediate()
41 assertEquals(11, MiniIntermediateClass.get3(true)); in testExceptionInIntermediate()
42 assertEquals(11, IntermediateClass.get4(true)); in testExceptionInIntermediate()
43 assertEquals(1, IntermediateClass.get5(null)); in testExceptionInIntermediate()
44 assertEquals(10, IntermediateClass.get5(new ExceptionInMainDex())); in testExceptionInIntermediate()
45 assertEquals(11, IntermediateClass.get5(new ExceptionInSecondaryDex())); in testExceptionInIntermediate()
46 assertEquals(12, IntermediateClass.get5(new ExceptionInMainDex2())); in testExceptionInIntermediate()
[all …]
/frameworks/support/v4/tests/java/android/support/v4/text/
DBidiFormatterTest.java44 assertEquals(false, LTR_FMT.isRtlContext()); in testIsRtlContext()
45 assertEquals(true, RTL_FMT.isRtlContext()); in testIsRtlContext()
47 assertEquals(false, BidiFormatter.getInstance(Locale.ENGLISH).isRtlContext()); in testIsRtlContext()
48 assertEquals(true, BidiFormatter.getInstance(true).isRtlContext()); in testIsRtlContext()
52 assertEquals(false, new BidiFormatter.Builder(false).build().isRtlContext()); in testBuilderIsRtlContext()
53 assertEquals(true, new BidiFormatter.Builder(true).build().isRtlContext()); in testBuilderIsRtlContext()
57 assertEquals(true, BidiFormatter.getInstance(true).isRtl(HE)); in testIsRtl()
58 assertEquals(true, BidiFormatter.getInstance(false).isRtl(HE)); in testIsRtl()
60 assertEquals(false, BidiFormatter.getInstance(true).isRtl(EN)); in testIsRtl()
61 assertEquals(false, BidiFormatter.getInstance(false).isRtl(EN)); in testIsRtl()
[all …]
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTtsEnginesTests.java17 assertEquals(new Locale("en", "US"), mTtsHelper.parseLocaleString("eng-usa")); in testParseLocaleString()
18 assertEquals(new Locale("en", "US"), mTtsHelper.parseLocaleString("eng-USA")); in testParseLocaleString()
19 assertEquals(new Locale("en", "US"), mTtsHelper.parseLocaleString("en-US")); in testParseLocaleString()
20 assertEquals(new Locale("en", "US"), mTtsHelper.parseLocaleString("en_us")); in testParseLocaleString()
21 assertEquals(new Locale("en", "US"), mTtsHelper.parseLocaleString("eng_US")); in testParseLocaleString()
22 assertEquals(new Locale("en", "US", "foobar"), in testParseLocaleString()
24 assertEquals(new Locale("en", "", "foobar"), mTtsHelper.parseLocaleString("eng__foobar")); in testParseLocaleString()
28 assertEquals(new Locale("en"), mTtsHelper.parseLocaleString("eng")); in testParseLocaleString()
29 assertEquals(new Locale("en","US","var"), mTtsHelper.parseLocaleString("eng-USA-var")); in testParseLocaleString()
44 assertEquals(Locale.UK, in testNormalizeLocale()
[all …]
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DRenameClassAdapterTest.java57 assertEquals("I", mOuter.renameTypeDesc("I")); in testRenameTypeDesc()
58 assertEquals("D", mOuter.renameTypeDesc("D")); in testRenameTypeDesc()
59 assertEquals("V", mOuter.renameTypeDesc("V")); in testRenameTypeDesc()
62 assertEquals("Lcom.package.MyClass;", mOuter.renameTypeDesc("Lcom.package.MyClass;")); in testRenameTypeDesc()
63 assertEquals("Lcom.package.MyClass;", mInner.renameTypeDesc("Lcom.package.MyClass;")); in testRenameTypeDesc()
66 assertEquals("Lorg.blah.New;", mOuter.renameTypeDesc("Lcom.pack.Old;")); in testRenameTypeDesc()
67 assertEquals("Lorg.blah.New$Inner;", mInner.renameTypeDesc("Lcom.pack.Old$Inner;")); in testRenameTypeDesc()
69 assertEquals("Lorg.blah.New$Other;", mOuter.renameTypeDesc("Lcom.pack.Old$Other;")); in testRenameTypeDesc()
70 assertEquals("Lorg.blah.New$Other;", mInner.renameTypeDesc("Lcom.pack.Old$Other;")); in testRenameTypeDesc()
73 assertEquals("[Lorg.blah.New;", mOuter.renameTypeDesc("[Lcom.pack.Old;")); in testRenameTypeDesc()
[all …]

12345678910>>...16