/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsServTest.java | 159 Assert.assertEquals(18989, serv.getUnpluggedStartTime()); in testOnTimeStarted() 160 Assert.assertEquals(4042, serv.getUnpluggedStarts()); in testOnTimeStarted() 161 Assert.assertEquals(8085, serv.getUnpluggedLaunches()); in testOnTimeStarted() 166 Assert.assertEquals(1010, serv.getUnpluggedStartTime()); in testOnTimeStarted() 167 Assert.assertEquals(4042, serv.getUnpluggedStarts()); in testOnTimeStarted() 168 Assert.assertEquals(8085, serv.getUnpluggedLaunches()); in testOnTimeStarted() 188 Assert.assertEquals(1010, serv.getStartTime()); in testParceling() 189 Assert.assertEquals(2021, serv.getRunningSince()); in testParceling() 191 Assert.assertEquals(4042, serv.getStarts()); in testParceling() 192 Assert.assertEquals(5053, serv.getLaunchedTime()); in testParceling() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | BackspaceTest.java | 76 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 81 state.assertEquals("'1' U+20E3 |"); in testCombiningEnclosingKeycaps() 83 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 88 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 93 state.assertEquals("U+20E3 |"); in testCombiningEnclosingKeycaps() 95 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 105 state.assertEquals("|"); in testVariationSelector() 109 state.assertEquals("|"); in testVariationSelector() 114 state.assertEquals("U+FE0F |"); in testVariationSelector() 116 state.assertEquals("|"); in testVariationSelector() [all …]
|
D | ForwardDeleteTest.java | 77 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 82 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 87 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 97 state.assertEquals("|"); in testVariationSelector() 101 state.assertEquals("|"); in testVariationSelector() 106 state.assertEquals("|"); in testVariationSelector() 110 state.assertEquals("|"); in testVariationSelector() 114 state.assertEquals("|"); in testVariationSelector() 118 state.assertEquals("|"); in testVariationSelector() 123 state.assertEquals("|"); in testVariationSelector() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberUtilsTest.java | 19 import static junit.framework.Assert.assertEquals; 39 assertEquals( in testExtractNetworkPortion() 44 assertEquals( in testExtractNetworkPortion() 49 assertEquals( in testExtractNetworkPortion() 55 assertEquals( in testExtractNetworkPortion() 60 assertEquals( in testExtractNetworkPortion() 65 assertEquals( in testExtractNetworkPortion() 70 assertEquals( in testExtractNetworkPortion() 77 assertEquals( in testExtractNetworkPortion() 85 assertEquals("", PhoneNumberUtils.extractNetworkPortion("")); in testExtractNetworkPortion() [all …]
|
D | MccTableTest.java | 29 assertEquals("Europe/Paris", MccTable.defaultTimeZoneForMcc(208)); in testTimeZone() 30 assertEquals("Europe/Vienna", MccTable.defaultTimeZoneForMcc(232)); in testTimeZone() 31 assertEquals("Africa/Johannesburg", MccTable.defaultTimeZoneForMcc(655)); in testTimeZone() 32 assertEquals("Asia/Tokyo", MccTable.defaultTimeZoneForMcc(440)); in testTimeZone() 33 assertEquals("Asia/Tokyo", MccTable.defaultTimeZoneForMcc(441)); in testTimeZone() 34 assertEquals("Asia/Singapore", MccTable.defaultTimeZoneForMcc(525)); in testTimeZone() 35 assertEquals("Europe/Stockholm", MccTable.defaultTimeZoneForMcc(240)); in testTimeZone() 38 assertEquals("Australia/Sydney", MccTable.defaultTimeZoneForMcc(505)); in testTimeZone() 39 assertEquals(null, MccTable.defaultTimeZoneForMcc(0)); // mcc not defined, hence default in testTimeZone() 40 assertEquals(null, MccTable.defaultTimeZoneForMcc(2000)); // mcc not defined, hence default in testTimeZone() [all …]
|
D | IntRangeManagerTest.java | 104 assertEquals("expecting empty configlist", 0, testManager.mConfigList.size()); in testEmptyRangeManager() 109 assertEquals("fromServiceId", fromServiceId, info.getFromServiceId()); in checkConfigInfo() 110 assertEquals("toServiceId", toServiceId, info.getToServiceId()); in checkConfigInfo() 111 assertEquals("fromCodeScheme", fromCodeScheme, info.getFromCodeScheme()); in checkConfigInfo() 112 assertEquals("toCodeScheme", toCodeScheme, info.getToCodeScheme()); in checkConfigInfo() 113 assertEquals("selected", selected, info.isSelected()); in checkConfigInfo() 119 assertEquals("flags before test", 0, testManager.flags); in testAddSingleChannel() 121 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel() 122 assertEquals("configlist size", 1, testManager.mConfigList.size()); in testAddSingleChannel() 127 assertEquals("flags after test", ALL_FLAGS_SET, testManager.flags); in testAddSingleChannel() [all …]
|
D | GsmSmsTest.java | 34 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 …]
|
D | VisualVoicemailSmsParserTest.java | 29 assertEquals("STATUS", result.prefix); in testParsing() 30 assertEquals("R", result.fields.getString("st")); in testParsing() 31 assertEquals("0", result.fields.getString("rc")); in testParsing() 32 assertEquals("1", result.fields.getString("srv")); in testParsing() 33 assertEquals("1", result.fields.getString("dn")); in testParsing() 34 assertEquals("1", result.fields.getString("ipt")); in testParsing() 35 assertEquals("0", result.fields.getString("spt")); in testParsing() 36 assertEquals("eg@example.com", result.fields.getString("u")); in testParsing() 37 assertEquals("1", result.fields.getString("pw")); in testParsing() 45 assertEquals("STATUS", result.prefix); in testParsing_TrailingSemiColon() [all …]
|
D | ClientWakelockTrackerTest.java | 41 assertEquals(1, myTracker.mActiveClients.size()); in testTwoClients() 43 assertEquals(2, myTracker.mActiveClients.size()); in testTwoClients() 46 assertEquals(2, abc.mPendingRilWakelocks.get(0).getConcurrentRequests()); in testTwoClients() 47 assertEquals(2, pqr.mPendingRilWakelocks.get(0).getConcurrentRequests()); in testTwoClients() 50 assertEquals(1, myTracker.mActiveClients.size()); in testTwoClients() 51 assertEquals(0, abc.getPendingRequestCount()); in testTwoClients() 52 assertEquals(1, pqr.mPendingRilWakelocks.get(0).getConcurrentRequests()); in testTwoClients() 55 assertEquals(0, myTracker.mActiveClients.size()); in testTwoClients() 56 assertEquals(0, abc.getPendingRequestCount()); in testTwoClients() 57 assertEquals(0, pqr.getPendingRequestCount()); in testTwoClients() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | DayOfMonthCursorTest.java | 47 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 …]
|
D | Base64Test.java | 44 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/ |
D | CdmaSmsTest.java | 49 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/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 233 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoParcel() 234 assertEquals(USER_10, si.getUserId()); in testShortcutInfoParcel() 235 assertEquals(HANDLE_USER_10, si.getUserHandle()); in testShortcutInfoParcel() 236 assertEquals("id", si.getId()); in testShortcutInfoParcel() 237 assertEquals("title", si.getTitle()); in testShortcutInfoParcel() 238 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoParcel() 261 assertEquals(getTestContext().getPackageName(), si.getPackage()); in testShortcutInfoParcel() 262 assertEquals("id", si.getId()); in testShortcutInfoParcel() 263 assertEquals(new ComponentName("a", "b"), si.getActivity()); in testShortcutInfoParcel() 264 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoParcel() [all …]
|
/frameworks/base/tools/locked_region_code_injection/test/lockedregioncodeinjection/ |
D | TestMain.java | 62 Assert.assertEquals(TestTarget.boostCount, 0); in testSimpleSynchronizedBlock() 63 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock() 64 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock() 67 Assert.assertEquals(TestTarget.boostCount, 1); in testSimpleSynchronizedBlock() 68 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock() 72 Assert.assertEquals(TestTarget.boostCount, 1); in testSimpleSynchronizedBlock() 73 Assert.assertEquals(TestTarget.unboostCount, 1); in testSimpleSynchronizedBlock() 74 Assert.assertEquals(TestTarget.invokeCount, 1); in testSimpleSynchronizedBlock() 82 Assert.assertEquals(TestTarget.boostCount, 0); in testSimpleSynchronizedMethod() 83 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedMethod() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexoptUtilsTest.java | 22 import static org.junit.Assert.assertEquals; 118 assertEquals(9, contexts.length); in testSplitChain() 119 assertEquals("PCL[a.dex:b.dex]", contexts[0]); in testSplitChain() 120 assertEquals("DLC[];DLC[base-2.dex];PCL[base-4.dex];PCL[a.dex:b.dex:base.dex]", in testSplitChain() 122 assertEquals("DLC[];PCL[base-4.dex];PCL[a.dex:b.dex:base.dex]", contexts[2]); in testSplitChain() 123 assertEquals("PCL[];PCL[base-4.dex];PCL[a.dex:b.dex:base.dex]", contexts[3]); in testSplitChain() 124 assertEquals("PCL[];PCL[a.dex:b.dex:base.dex]", contexts[4]); in testSplitChain() 125 assertEquals("PCL[];PCL[a.dex:b.dex:base.dex]", contexts[5]); in testSplitChain() 126 assertEquals("PCL[];PCL[base-5.dex];PCL[a.dex:b.dex:base.dex]", contexts[6]); in testSplitChain() 127 assertEquals(null, contexts[7]); // config split in testSplitChain() [all …]
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
D | BitUtilsTest.java | 25 import static org.junit.Assert.assertEquals; 37 assertEquals(0, uint8(b0)); in testUnsignedByteWideningConversions() 38 assertEquals(1, uint8(b1)); in testUnsignedByteWideningConversions() 39 assertEquals(127, uint8(Byte.MAX_VALUE)); in testUnsignedByteWideningConversions() 40 assertEquals(128, uint8(Byte.MIN_VALUE)); in testUnsignedByteWideningConversions() 41 assertEquals(255, uint8(bm1)); in testUnsignedByteWideningConversions() 42 assertEquals(255, uint8((byte)255)); in testUnsignedByteWideningConversions() 50 assertEquals(0, uint16(s0)); in testUnsignedShortWideningConversions() 51 assertEquals(1, uint16(s1)); in testUnsignedShortWideningConversions() 52 assertEquals(32767, uint16(Short.MAX_VALUE)); in testUnsignedShortWideningConversions() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 33 import static org.junit.Assert.assertEquals; 146 assertEquals(1000, log.events.length); in testEventDropped() 147 assertEquals(0, log.callSessions.length); in testEventDropped() 148 assertEquals(0, log.smsSessions.length); in testEventDropped() 150 assertEquals(1, log.events[0].dataStallAction); in testEventDropped() 160 assertEquals(1, log.events.length); in testWriteDataStallEvent() 161 assertEquals(0, log.callSessions.length); in testWriteDataStallEvent() 162 assertEquals(0, log.smsSessions.length); in testWriteDataStallEvent() 163 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteDataStallEvent() 164 assertEquals(3, log.events[0].dataStallAction); in testWriteDataStallEvent() [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | StateMachineTest.java | 223 assertEquals(8, smQuitTest.mLogRecs.size()); in testStateMachineQuit() 229 assertEquals(i, lr.getWhat()); in testStateMachineQuit() 230 assertEquals(smQuitTest.mS1, lr.getState()); in testStateMachineQuit() 231 assertEquals(smQuitTest.mS1, lr.getOriginalState()); in testStateMachineQuit() 234 assertEquals(EXIT, lr.getInfo()); in testStateMachineQuit() 235 assertEquals(smQuitTest.mS1, lr.getState()); in testStateMachineQuit() 238 assertEquals(ON_QUITTING, lr.getInfo()); in testStateMachineQuit() 327 assertEquals(3, smQuitNowTest.mLogRecs.size()); in testStateMachineQuitNow() 331 assertEquals(1, lr.getWhat()); in testStateMachineQuitNow() 332 assertEquals(smQuitNowTest.mS1, lr.getState()); in testStateMachineQuitNow() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 40 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/app/admin/ |
D | PasswordMetricsTest.java | 19 import static org.junit.Assert.assertEquals; 37 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED, metrics.quality); in testIsDefault() 38 assertEquals(0, metrics.length); in testIsDefault() 39 assertEquals(0, metrics.letters); in testIsDefault() 40 assertEquals(0, metrics.upperCase); in testIsDefault() 41 assertEquals(0, metrics.lowerCase); in testIsDefault() 42 assertEquals(0, metrics.numeric); in testIsDefault() 43 assertEquals(0, metrics.symbols); in testIsDefault() 44 assertEquals(0, metrics.nonLetter); in testIsDefault() 70 assertEquals(quality, metrics.quality); in testParceling() [all …]
|
/frameworks/ex/common/tests/src/com/android/common/ |
D | OperationSchedulerTest.java | 48 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/support/compat/tests/java/android/support/v4/text/ |
D | BidiFormatterTest.java | 19 import static org.junit.Assert.assertEquals; 56 assertEquals(false, LTR_FMT.isRtlContext()); in testIsRtlContext() 57 assertEquals(true, RTL_FMT.isRtlContext()); in testIsRtlContext() 59 assertEquals(false, BidiFormatter.getInstance(Locale.ENGLISH).isRtlContext()); in testIsRtlContext() 60 assertEquals(true, BidiFormatter.getInstance(true).isRtlContext()); in testIsRtlContext() 65 assertEquals(false, new BidiFormatter.Builder(false).build().isRtlContext()); in testBuilderIsRtlContext() 66 assertEquals(true, new BidiFormatter.Builder(true).build().isRtlContext()); in testBuilderIsRtlContext() 71 assertEquals(true, BidiFormatter.getInstance(true).isRtl(HE)); in testIsRtl() 72 assertEquals(true, BidiFormatter.getInstance(false).isRtl(HE)); in testIsRtl() 74 assertEquals(false, BidiFormatter.getInstance(true).isRtl(EN)); in testIsRtl() [all …]
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ViewBindingAdapterTest.java | 39 assertEquals(mBindingObject.getPadding(), view.getPaddingBottom()); in testPadding() 40 assertEquals(mBindingObject.getPadding(), view.getPaddingTop()); in testPadding() 41 assertEquals(mBindingObject.getPadding(), view.getPaddingRight()); in testPadding() 42 assertEquals(mBindingObject.getPadding(), view.getPaddingLeft()); in testPadding() 46 assertEquals(mBindingObject.getPadding(), view.getPaddingBottom()); in testPadding() 47 assertEquals(mBindingObject.getPadding(), view.getPaddingTop()); in testPadding() 48 assertEquals(mBindingObject.getPadding(), view.getPaddingRight()); in testPadding() 49 assertEquals(mBindingObject.getPadding(), view.getPaddingLeft()); in testPadding() 54 assertEquals(mBindingObject.getPaddingLeft(), view.getPaddingLeft()); in testPaddingLeftRight() 55 assertEquals(mBindingObject.getPaddingRight(), view.getPaddingRight()); in testPaddingLeftRight() [all …]
|
D | ExpressionTest.java | 38 assertEquals("hello", mBinder.textView0.getText().toString()); in testOr() 41 assertEquals("hello", mBinder.textView0.getText().toString()); in testOr() 45 assertEquals("hello", mBinder.textView0.getText().toString()); in testOr() 48 assertEquals("world", mBinder.textView0.getText().toString()); in testOr() 57 assertEquals("hello", mBinder.textView1.getText().toString()); in testAnd() 60 assertEquals("world", mBinder.textView1.getText().toString()); in testAnd() 64 assertEquals("world", mBinder.textView1.getText().toString()); in testAnd() 67 assertEquals("world", mBinder.textView1.getText().toString()); in testAnd() 75 assertEquals("0", mBinder.textView2.getText().toString()); // var1 & var2 in testBinary() 76 assertEquals("0", mBinder.textView3.getText().toString()); // var1 | var2 in testBinary() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateUtilsTest.java | 19 import static org.junit.Assert.assertEquals; 57 assertEquals("0 seconds", DateUtils.formatDuration(0)); in test_formatDuration_seconds() 58 assertEquals("0 seconds", DateUtils.formatDuration(1)); in test_formatDuration_seconds() 59 assertEquals("0 seconds", DateUtils.formatDuration(499)); in test_formatDuration_seconds() 60 assertEquals("1 second", DateUtils.formatDuration(500)); in test_formatDuration_seconds() 61 assertEquals("1 second", DateUtils.formatDuration(1000)); in test_formatDuration_seconds() 62 assertEquals("2 seconds", DateUtils.formatDuration(1500)); in test_formatDuration_seconds() 64 assertEquals("0 seconds", DateUtils.formatDuration(0, DateUtils.LENGTH_LONG)); in test_formatDuration_seconds() 65 assertEquals("1 second", DateUtils.formatDuration(1000, DateUtils.LENGTH_LONG)); in test_formatDuration_seconds() 66 assertEquals("2 seconds", DateUtils.formatDuration(1500, DateUtils.LENGTH_LONG)); in test_formatDuration_seconds() [all …]
|