/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachineTest.java | 22 import static org.junit.Assert.assertEquals; 220 assertEquals(0, mDevice.getLowPowerModeTriggerLevel()); in testNoAutoBatterySaver() 222 assertEquals(false, mDevice.batterySaverEnabled); in testNoAutoBatterySaver() 223 assertEquals(100, mPersistedState.batteryLevel); in testNoAutoBatterySaver() 224 assertEquals(false, mPersistedState.batteryLow); in testNoAutoBatterySaver() 228 assertEquals(false, mDevice.batterySaverEnabled); in testNoAutoBatterySaver() 229 assertEquals(90, mPersistedState.batteryLevel); in testNoAutoBatterySaver() 230 assertEquals(false, mPersistedState.batteryLow); in testNoAutoBatterySaver() 234 assertEquals(false, mDevice.batterySaverEnabled); in testNoAutoBatterySaver() 235 assertEquals(50, mPersistedState.batteryLevel); in testNoAutoBatterySaver() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | UsageStatsTest.java | 31 import static org.junit.Assert.assertEquals; 66 assertEquals(left.getFirstTimeStamp(), 99999); in testEarlierBeginTimeTakesPriorityOnAdd() 78 assertEquals(left.getLastTimeStamp(), 100001); in testLaterEndTimeTakesPriorityOnAdd() 92 assertEquals(left.getLastTimeUsed(), 200001); in testLastUsedTimeIsOverriddenByLaterStats() 106 assertEquals(left.getLastTimeUsed(), 200000); in testLastUsedTimeIsNotOverriddenByLaterStatsIfUseIsEarlier() 120 assertEquals(left.getTotalTimeInForeground(), 11); in testForegroundTimeIsSummed() 147 assertEquals(left.mLastTimeUsed, 200000); in testActivity() 148 assertEquals(left.mLastTimeVisible, 200000); in testActivity() 149 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED); in testActivity() 150 assertEquals(left.mLaunchCount, 1); in testActivity() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ParseUtilsTest.java | 27 assertEquals(1, ParseUtils.parseInt(null, 1)); in testParseInt() 28 assertEquals(1, ParseUtils.parseInt("", 1)); in testParseInt() 29 assertEquals(1, ParseUtils.parseInt("1x", 1)); in testParseInt() 30 assertEquals(2, ParseUtils.parseInt("2", 1)); in testParseInt() 32 assertEquals(2, ParseUtils.parseInt("+2", 1)); in testParseInt() 33 assertEquals(-2, ParseUtils.parseInt("-2", 1)); in testParseInt() 37 assertEquals(1, ParseUtils.parseIntWithBase(null, 10, 1)); in testParseIntWithBase() 38 assertEquals(1, ParseUtils.parseIntWithBase("", 10, 1)); in testParseIntWithBase() 39 assertEquals(1, ParseUtils.parseIntWithBase("1x", 10, 1)); in testParseIntWithBase() 40 assertEquals(2, ParseUtils.parseIntWithBase("2", 10, 1)); in testParseIntWithBase() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | BackspaceTest.java | 81 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 86 state.assertEquals("'1' U+20E3 |"); in testCombiningEnclosingKeycaps() 88 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 93 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 98 state.assertEquals("U+20E3 |"); in testCombiningEnclosingKeycaps() 100 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 110 state.assertEquals("|"); in testVariationSelector() 114 state.assertEquals("|"); in testVariationSelector() 119 state.assertEquals("U+FE0F |"); in testVariationSelector() 121 state.assertEquals("|"); in testVariationSelector() [all …]
|
D | ForwardDeleteTest.java | 80 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 85 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 90 state.assertEquals("|"); in testCombiningEnclosingKeycaps() 100 state.assertEquals("|"); in testVariationSelector() 104 state.assertEquals("|"); in testVariationSelector() 109 state.assertEquals("|"); in testVariationSelector() 113 state.assertEquals("|"); in testVariationSelector() 117 state.assertEquals("|"); in testVariationSelector() 121 state.assertEquals("|"); in testVariationSelector() 126 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; 40 assertEquals( in testExtractNetworkPortion() 45 assertEquals( in testExtractNetworkPortion() 50 assertEquals( in testExtractNetworkPortion() 56 assertEquals( in testExtractNetworkPortion() 61 assertEquals( in testExtractNetworkPortion() 66 assertEquals( in testExtractNetworkPortion() 71 assertEquals( in testExtractNetworkPortion() 78 assertEquals( in testExtractNetworkPortion() 86 assertEquals("", PhoneNumberUtils.extractNetworkPortion("")); in testExtractNetworkPortion() [all …]
|
D | MccTableTest.java | 34 assertEquals("Europe/Paris", MccTable.defaultTimeZoneForMcc(208)); in testTimeZone() 35 assertEquals("Europe/Vienna", MccTable.defaultTimeZoneForMcc(232)); in testTimeZone() 36 assertEquals("Africa/Johannesburg", MccTable.defaultTimeZoneForMcc(655)); in testTimeZone() 37 assertEquals("Asia/Tokyo", MccTable.defaultTimeZoneForMcc(440)); in testTimeZone() 38 assertEquals("Asia/Tokyo", MccTable.defaultTimeZoneForMcc(441)); in testTimeZone() 39 assertEquals("Asia/Singapore", MccTable.defaultTimeZoneForMcc(525)); in testTimeZone() 40 assertEquals("Europe/Stockholm", MccTable.defaultTimeZoneForMcc(240)); in testTimeZone() 43 assertEquals("Australia/Sydney", MccTable.defaultTimeZoneForMcc(505)); in testTimeZone() 44 assertEquals(null, MccTable.defaultTimeZoneForMcc(0)); // mcc not defined, hence default in testTimeZone() 45 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 …]
|
/frameworks/base/tests/net/java/android/net/util/ |
D | DnsUtilsTest.java | 23 import static org.junit.Assert.assertEquals; 82 assertEquals(test.get(i).address, expected.get(i)); in testRfc6724Comparator() 92 assertEquals(test.hasSrcAddr, 0); in testV4SortableAddress() 93 assertEquals(test.prefixMatchLen, 0); in testV4SortableAddress() 94 assertEquals(test.address, stringToAddress("216.58.200.36")); in testV4SortableAddress() 95 assertEquals(test.labelMatch, 0); in testV4SortableAddress() 96 assertEquals(test.scopeMatch, 0); in testV4SortableAddress() 97 assertEquals(test.scope, IPV6_ADDR_SCOPE_GLOBAL); in testV4SortableAddress() 98 assertEquals(test.label, 4); in testV4SortableAddress() 99 assertEquals(test.precedence, 35); in testV4SortableAddress() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | ListGridLayoutTest.java | 19 import static junit.framework.Assert.assertEquals; 54 assertEquals(3, mListGridLayout.getChildCount()); in testInflation() 61 assertEquals(3, mListGridLayout.getRowCount()); in testGetRowCount() 64 assertEquals(3, mListGridLayout.getRowCount()); in testGetRowCount() 66 assertEquals(3, mListGridLayout.getRowCount()); in testGetRowCount() 68 assertEquals(3, mListGridLayout.getRowCount()); in testGetRowCount() 70 assertEquals(2, mListGridLayout.getRowCount()); in testGetRowCount() 72 assertEquals(2, mListGridLayout.getRowCount()); in testGetRowCount() 74 assertEquals(2, mListGridLayout.getRowCount()); in testGetRowCount() 76 assertEquals(1, mListGridLayout.getRowCount()); in testGetRowCount() [all …]
|
/frameworks/base/tests/net/java/android/net/shared/ |
D | Inet4AddressUtilsTest.java | 30 import static junit.framework.Assert.assertEquals; 50 assertEquals(0, inet4AddressToIntHTL(ipv4Address("0.0.0.0"))); in testInet4AddressToIntHTL() 51 assertEquals(0x000080ff, inet4AddressToIntHTL(ipv4Address("255.128.0.0"))); in testInet4AddressToIntHTL() 52 assertEquals(0x0080ff0a, inet4AddressToIntHTL(ipv4Address("10.255.128.0"))); in testInet4AddressToIntHTL() 53 assertEquals(0x00feff0a, inet4AddressToIntHTL(ipv4Address("10.255.254.0"))); in testInet4AddressToIntHTL() 54 assertEquals(0xfeffa8c0, inet4AddressToIntHTL(ipv4Address("192.168.255.254"))); in testInet4AddressToIntHTL() 55 assertEquals(0xffffa8c0, inet4AddressToIntHTL(ipv4Address("192.168.255.255"))); in testInet4AddressToIntHTL() 60 assertEquals(ipv4Address("0.0.0.0"), intToInet4AddressHTL(0)); in testIntToInet4AddressHTL() 61 assertEquals(ipv4Address("255.128.0.0"), intToInet4AddressHTL(0x000080ff)); in testIntToInet4AddressHTL() 62 assertEquals(ipv4Address("10.255.128.0"), intToInet4AddressHTL(0x0080ff0a)); in testIntToInet4AddressHTL() [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() 263 assertEquals(getTestContext().getPackageName(), si.getPackage()); in testShortcutInfoParcel() 264 assertEquals("id", si.getId()); in testShortcutInfoParcel() 265 assertEquals(new ComponentName("a", "b"), si.getActivity()); in testShortcutInfoParcel() 266 assertEquals(123, si.getIcon().getResId()); in testShortcutInfoParcel() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | DayOfMonthCursorTest.java | 48 assertEquals(Calendar.SEPTEMBER, mc.getMonth()); in testMoveLeft() 49 assertEquals(3, mc.getSelectedDayOfMonth()); in testMoveLeft() 50 assertEquals(1, mc.getSelectedRow()); in testMoveLeft() 51 assertEquals(1, mc.getSelectedColumn()); in testMoveLeft() 55 assertEquals(2, mc.getSelectedDayOfMonth()); in testMoveLeft() 56 assertEquals(1, mc.getSelectedRow()); in testMoveLeft() 57 assertEquals(0, mc.getSelectedColumn()); in testMoveLeft() 61 assertEquals(1, mc.getSelectedDayOfMonth()); in testMoveLeft() 62 assertEquals(0, mc.getSelectedRow()); in testMoveLeft() 63 assertEquals(6, mc.getSelectedColumn()); in testMoveLeft() [all …]
|
D | Base64Test.java | 51 assertEquals(in, dec); in encodeToString() 65 private void assertEquals(byte[] expected, int len, byte[] actual) { in assertEquals() method in Base64Test 66 assertEquals(len, actual.length); in assertEquals() 68 assertEquals(expected[i], actual[i]); in assertEquals() 73 private void assertEquals(byte[] expected, int len, byte[] actual, int alen) { in assertEquals() method in Base64Test 74 assertEquals(len, alen); in assertEquals() 76 assertEquals(expected[i], actual[i]); in assertEquals() 81 private void assertEquals(byte[] expected, byte[] actual) { in assertEquals() method in Base64Test 82 assertEquals(expected.length, actual.length); in assertEquals() 84 assertEquals(expected[i], actual[i]); in assertEquals() [all …]
|
/frameworks/base/tools/locked_region_code_injection/test/lockedregioncodeinjection/ |
D | TestMain.java | 65 Assert.assertEquals(TestTarget.boostCount, 0); in testSimpleSynchronizedBlock() 66 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock() 67 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock() 70 Assert.assertEquals(TestTarget.boostCount, 1); in testSimpleSynchronizedBlock() 71 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock() 75 Assert.assertEquals(TestTarget.boostCount, 1); in testSimpleSynchronizedBlock() 76 Assert.assertEquals(TestTarget.unboostCount, 1); in testSimpleSynchronizedBlock() 77 Assert.assertEquals(TestTarget.invokeCount, 1); in testSimpleSynchronizedBlock() 85 Assert.assertEquals(TestTarget.boostCount, 0); in testSimpleSynchronizedMethod() 86 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedMethod() [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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | LiteTest.java | 102 assertEquals(123, message2.getOptionalInt32()); in testLite() 103 assertEquals(1, message2.getRepeatedStringCount()); in testLite() 104 assertEquals("hello", message2.getRepeatedString(0)); in testLite() 105 assertEquals(7, message2.getOptionalNestedMessage().getBb()); in testLite() 128 assertEquals(123, (int) message2.getExtension( in testLiteExtensions() 130 assertEquals(1, message2.getExtensionCount( in testLiteExtensions() 132 assertEquals(1, message2.getExtension( in testLiteExtensions() 134 assertEquals("hello", message2.getExtension( in testLiteExtensions() 136 assertEquals(TestAllTypesLite.NestedEnum.BAZ, message2.getExtension( in testLiteExtensions() 138 assertEquals(7, message2.getExtension( in testLiteExtensions() [all …]
|
D | LazyMessageLiteTest.java | 76 assertEquals(1, outer.getNum()); in testSetValues() 77 assertEquals(421, outer.getNumWithDefault()); in testSetValues() 79 assertEquals(2, outer.getInner().getNum()); in testSetValues() 80 assertEquals(42, outer.getInner().getNumWithDefault()); in testSetValues() 82 assertEquals(3, outer.getInner().getNested().getNum()); in testSetValues() 83 assertEquals(4, outer.getInner().getNested().getNumWithDefault()); in testSetValues() 88 assertEquals(2, outer.getOneofInner().getNum()); in testSetValues() 89 assertEquals(42, outer.getOneofInner().getNumWithDefault()); in testSetValues() 90 assertEquals(3, outer.getOneofInner().getNested().getNum()); in testSetValues() 91 assertEquals(4, outer.getOneofInner().getNested().getNumWithDefault()); in testSetValues() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordMetricsTest.java | 36 import static org.junit.Assert.assertEquals; 56 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED, metrics.quality); in testIsDefault() 57 assertEquals(0, metrics.length); in testIsDefault() 58 assertEquals(0, metrics.letters); in testIsDefault() 59 assertEquals(0, metrics.upperCase); in testIsDefault() 60 assertEquals(0, metrics.lowerCase); in testIsDefault() 61 assertEquals(0, metrics.numeric); in testIsDefault() 62 assertEquals(0, metrics.symbols); in testIsDefault() 63 assertEquals(0, metrics.nonLetter); in testIsDefault() 89 assertEquals(quality, metrics.quality); in testParceling() [all …]
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
D | BitUtilsTest.java | 28 import static org.junit.Assert.assertEquals; 47 assertEquals(0, uint8(b0)); in testUnsignedByteWideningConversions() 48 assertEquals(1, uint8(b1)); in testUnsignedByteWideningConversions() 49 assertEquals(127, uint8(Byte.MAX_VALUE)); in testUnsignedByteWideningConversions() 50 assertEquals(128, uint8(Byte.MIN_VALUE)); in testUnsignedByteWideningConversions() 51 assertEquals(255, uint8(bm1)); in testUnsignedByteWideningConversions() 52 assertEquals(255, uint8((byte)255)); in testUnsignedByteWideningConversions() 60 assertEquals(0, uint16(s0)); in testUnsignedShortWideningConversions() 61 assertEquals(1, uint16(s1)); in testUnsignedShortWideningConversions() 62 assertEquals(32767, uint16(Short.MAX_VALUE)); in testUnsignedShortWideningConversions() [all …]
|
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | PowerProfileTest.java | 58 Assert.assertEquals(12.0f, audio.onMa, EPSILON); in testReadGood() 63 Assert.assertEquals(0.02f, bluetooth.idleMa, EPSILON); in testReadGood() 64 Assert.assertEquals(3.0f, bluetooth.rxMa, EPSILON); in testReadGood() 65 Assert.assertEquals(5.0f, bluetooth.txMa, EPSILON); in testReadGood() 69 Assert.assertEquals(941.0f, camera.onMa, EPSILON); in testReadGood() 73 Assert.assertEquals(1.3f, cpu.suspendMa, EPSILON); in testReadGood() 74 Assert.assertEquals(3.9f, cpu.idleMa, EPSILON); in testReadGood() 75 Assert.assertEquals(18.33f, cpu.activeMa, EPSILON); in testReadGood() 76 Assert.assertEquals(2, cpu.clusters.length); in testReadGood() 78 Assert.assertEquals(4, cpu.clusters[0].coreCount); in testReadGood() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/ |
D | proto3_test.js | 75 assertEquals(msg.getOptionalInt32(), 0); 76 assertEquals(msg.getOptionalInt64(), 0); 77 assertEquals(msg.getOptionalUint32(), 0); 78 assertEquals(msg.getOptionalUint64(), 0); 79 assertEquals(msg.getOptionalSint32(), 0); 80 assertEquals(msg.getOptionalSint64(), 0); 81 assertEquals(msg.getOptionalFixed32(), 0); 82 assertEquals(msg.getOptionalFixed64(), 0); 83 assertEquals(msg.getOptionalSfixed32(), 0); 84 assertEquals(msg.getOptionalSfixed64(), 0); [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | TestUtil.java | 442 Assert.assertEquals(101 , message.getOptionalInt32 ()); in assertAllFieldsSet() 443 Assert.assertEquals(102 , message.getOptionalInt64 ()); in assertAllFieldsSet() 444 Assert.assertEquals(103 , message.getOptionalUint32 ()); in assertAllFieldsSet() 445 Assert.assertEquals(104 , message.getOptionalUint64 ()); in assertAllFieldsSet() 446 Assert.assertEquals(105 , message.getOptionalSint32 ()); in assertAllFieldsSet() 447 Assert.assertEquals(106 , message.getOptionalSint64 ()); in assertAllFieldsSet() 448 Assert.assertEquals(107 , message.getOptionalFixed32 ()); in assertAllFieldsSet() 449 Assert.assertEquals(108 , message.getOptionalFixed64 ()); in assertAllFieldsSet() 450 Assert.assertEquals(109 , message.getOptionalSfixed32()); in assertAllFieldsSet() 451 Assert.assertEquals(110 , message.getOptionalSfixed64()); in assertAllFieldsSet() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 33 import static org.junit.Assert.assertEquals; 154 assertEquals(1000, log.events.length); in testEventDropped() 155 assertEquals(0, log.callSessions.length); in testEventDropped() 156 assertEquals(0, log.smsSessions.length); in testEventDropped() 158 assertEquals(1, log.events[0].dataStallAction); in testEventDropped() 168 assertEquals(1, log.events.length); in testWriteDataStallEvent() 169 assertEquals(0, log.callSessions.length); in testWriteDataStallEvent() 170 assertEquals(0, log.smsSessions.length); in testWriteDataStallEvent() 171 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteDataStallEvent() 172 assertEquals(3, log.events[0].dataStallAction); in testWriteDataStallEvent() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/textservices/ |
D | LocaleUtilsTest.java | 19 import static org.junit.Assert.assertEquals; 51 assertEquals(3, locales.size()); in testGetSuitableLocalesForSpellChecker() 52 assertEquals(LOCALE_EN_US, locales.get(0)); in testGetSuitableLocalesForSpellChecker() 53 assertEquals(LOCALE_EN_GB, locales.get(1)); in testGetSuitableLocalesForSpellChecker() 54 assertEquals(LOCALE_EN, locales.get(2)); in testGetSuitableLocalesForSpellChecker() 60 assertEquals(3, locales.size()); in testGetSuitableLocalesForSpellChecker() 61 assertEquals(LOCALE_EN_GB, locales.get(0)); in testGetSuitableLocalesForSpellChecker() 62 assertEquals(LOCALE_EN_US, locales.get(1)); in testGetSuitableLocalesForSpellChecker() 63 assertEquals(LOCALE_EN, locales.get(2)); in testGetSuitableLocalesForSpellChecker() 69 assertEquals(3, locales.size()); in testGetSuitableLocalesForSpellChecker() [all …]
|