Home
last modified time | relevance | path

Searched refs:assertSame (Results 1 – 18 of 18) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/util/
DImageCacheTest.java54 assertSame("before", INFO_50, mImageCache.get(KEY)); in testPutIfLarger_smaller()
57 assertSame("after", INFO_50, mImageCache.get(KEY)); in testPutIfLarger_smaller()
62 assertSame("before", INFO_50, mImageCache.get(KEY)); in testPutIfLarger_larger()
65 assertSame("after", INFO_100, mImageCache.get(KEY)); in testPutIfLarger_larger()
71 assertSame("before", INFO_100, mImageCache.get(KEY)); in testPutIfLarger_alreadyMax()
74 assertSame("after", INFO_100, mImageCache.get(KEY)); in testPutIfLarger_alreadyMax()
DMultiLongSparseArrayTest.java34 assertSame(Collections.EMPTY_SET, sparseArray.get(0)); in testEmpty()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DResizableIntArrayTests.java52 assertSame("array after add " + i, array, src.getPrimitiveArray()); in testAdd()
54 assertSame("array after add " + i, array2, src.getPrimitiveArray()); in testAdd()
56 assertSame("array after add " + i, array3, src.getPrimitiveArray()); in testAdd()
132 assertSame("array after add " + i, array2, src.getPrimitiveArray()); in testReset()
134 assertSame("array after add " + i, array3, src.getPrimitiveArray()); in testReset()
167 assertSame("array after smaller setLength", array2, array3); in testSetLength()
186 assertSame("array after set", dst.getPrimitiveArray(), src.getPrimitiveArray()); in testSet()
200 assertSame("array after copy", array, dst.getPrimitiveArray()); in testCopy()
237 assertSame("array after append zero", array, dst.getPrimitiveArray()); in testAppend()
243 assertSame("array after append", array, dst.getPrimitiveArray()); in testAppend()
[all …]
DInputPointersTests.java111 assertSame("xCoordinates after set", dst.getXCoordinates(), src.getXCoordinates()); in testSet()
112 assertSame("yCoordinates after set", dst.getYCoordinates(), src.getYCoordinates()); in testSet()
113 assertSame("pointerIds after set", dst.getPointerIds(), src.getPointerIds()); in testSet()
114 assertSame("times after set", dst.getTimes(), src.getTimes()); in testSet()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeUtilityTest.java137 assertSame(SHORT_PLAIN, result1); in testEfficientUnfoldAndDecode()
138 assertSame(SHORT_PLAIN, result2); in testEfficientUnfoldAndDecode()
139 assertSame(SHORT_PLAIN, result3); in testEfficientUnfoldAndDecode()
191 assertSame(SHORT_PLAIN, result1); in testEfficientFoldAndEncode()
192 assertSame(SHORT_PLAIN, result2); in testEfficientFoldAndEncode()
193 assertSame(SHORT_PLAIN, result3); in testEfficientFoldAndEncode()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DContactsPreferencesFactoryTest.java48 assertSame(testInstance, ContactsPreferencesFactory.newContactsPreferences(getContext())); in testNewContactsPreferences_TestInstance()
49 assertSame(testInstance, ContactsPreferencesFactory.newContactsPreferences(getContext())); in testNewContactsPreferences_TestInstance()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/common/
DMdmPackageInfoTest.java63 assertSame(TEST_DRAWABLE, mdmInfo.packageIcon); in testConstructor()
73 assertSame(TEST_DRAWABLE, mdmInfo.packageIcon); in testCreateFromPackageName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameNormalizerTest.java108 assertSame(compressing1, compressing2); in testGetCollators()
109 assertSame(complexity1, complexity2); in testGetCollators()
DBaseDatabaseHelperUpgradeTest.java139 public void assertSame(TableColumn[] columns) { in assertSame() method in BaseDatabaseHelperUpgradeTest.TableStructure
188 structure.assertSame(entry.columns); in assertDatabaseStructureSameAsList()
/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java73 assertSame(testStore, Store.sStores.get(testAccount.mId)); in testGetInstance()
85 assertSame(testStore, Store.sStores.get(testAccount.mId)); in testGetInstance()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/
DNoNullCursorAsyncQueryHandlerTest.java108 assertSame(cookie, cookieHolder.obj); in testCursorContainsCorrectCookies()
135 assertSame(PROJECTION, cursorHolder.obj.getColumnNames()); in testCursorContainsCorrectColumns()
/packages/apps/TV/tests/unit/src/com/android/tv/common/
DTvContentRatingCacheTest.java67 assertSame(first, second); in testGetRatings_US_TV_MA_same()
80 assertSame(first, second); in testGetRatings_TWO_orderDoesNotMatter()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DMapStepsConvo.java222 Assert.assertSame(mExpectedSize, appParams.getConvoListingSize()); in validate()
227 Assert.assertSame(mExpectedListing.getList().size(), in validate()
/packages/apps/Dialer/tests/src/com/android/dialer/database/
DFilteredNumberAsyncQueryHandlerTest.java220 assertSame(EXPECTED_URI, listener.waitForCallback()); in testBlockNumber_Disabled()
235 assertSame(EXPECTED_URI, listener.waitForCallback()); in testBlockNumber()
250 assertSame(EXPECTED_URI, listener.waitForCallback()); in testBlockNumber_NullNormalizedNumber()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/touchinputconsumer/
DNullGestureConsumerTests.java44 assertSame(GestureConsumer.NULL_GESTURE_CONSUMER, in testNewInstanceGivesNullGestureConsumerForInvalidInputs()
/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java68 assertSame(manager, mBitmapManager); in testSingleton()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java264 assertSame(mFolder, folders[0]); in testStoreFoldersFunctions()
DImapStoreUnitTests.java2033 assertSame(con1, con1b); in testGetConnection()