Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortModelTest.java20 import static org.junit.Assert.assertSame;
91 assertSame(DIMENSIONS[i], mModel.getDimensionAt(i)); in testDimensionSame_getDimensionAt()
98 assertSame(dimension, mModel.getDimensionById(dimension.getId())); in testDimensionSame_getDimensionById()
122 assertSame(DIMENSION_1, sortedDimension); in testSortByDefault()
125 assertSame(mModel, DUMMY_LISTENER.mLastSortModel); in testSortByDefault()
134 assertSame(DIMENSION_1, sortedDimension); in testSortByUser()
137 assertSame(mModel, DUMMY_LISTENER.mLastSortModel); in testSortByUser()
147 assertSame(DIMENSION_1, sortedDimension); in testOrderNotChanged_sortByDefaultAfterSortByUser()
150 assertSame(mModel, DUMMY_LISTENER.mLastSortModel); in testOrderNotChanged_sortByDefaultAfterSortByUser()
160 assertSame(DIMENSION_1, sortedDimension); in testOrderChanged_sortByUserAfterSortByDefault()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DItemDragListenerTest.java22 import static org.junit.Assert.assertSame;
77 assertSame(mTestView, mTestDragHost.mHighlightedView); in testDragEntered_HighlightsView()
121 assertSame(mTestView, mTestDragHost.mLastEnteredView); in testHover_OpensView()
122 assertSame(mTestView, mTestDragHost.mLastHoveredView); in testHover_OpensView()
134 assertSame(mTestView, mTestDragHost.mLastEnteredView); in testHover_usesCustomTimeout()
135 assertSame(mTestView, mTestDragHost.mLastHoveredView); in testHover_usesCustomTimeout()
146 assertSame(mTestView, mTestDragHost.mLastEnteredView); in testDragExited_CancelsHoverTask()
147 assertSame(mTestView, mTestDragHost.mLastExitedView); in testDragExited_CancelsHoverTask()
159 assertSame(mTestView, mTestDragHost.mLastEnteredView); in testDragEnded_CancelsHoverTask()
191 assertSame(mTestView, mListener.mLastDropOnView); in testDoDropWithClipData()
[all …]
DThumbnailCacheTest.java21 import static org.junit.Assert.assertSame;
82 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Exact()
92 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Smaller()
102 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Larger()
113 assertSame(LARGE_BITMAP, result.getThumbnail()); in testHit_Larger_HasBothSize()
127 assertSame(localBitmap, result.getThumbnail()); in testHit_Exact_MultiplePut()
177 assertSame(SMALL_BITMAP, result.getThumbnail()); in testCacheShrink_OnTrimMemory_Background()
DDragAndDropManagerTests.java22 import static junit.framework.Assert.assertSame;
131 assertSame(mStartDragView, v); in setUp()
132 assertSame(mShadowBuilder, builder); in setUp()
141 assertSame(mUpdateShadowView, v); in setUp()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DResizableIntArrayTests.java22 import static org.junit.Assert.assertSame;
65 assertSame("array after add " + i, array, src.getPrimitiveArray()); in testAdd()
67 assertSame("array after add " + i, array2, src.getPrimitiveArray()); in testAdd()
69 assertSame("array after add " + i, array3, src.getPrimitiveArray()); in testAdd()
148 assertSame("array after add " + i, array2, src.getPrimitiveArray()); in testReset()
150 assertSame("array after add " + i, array3, src.getPrimitiveArray()); in testReset()
184 assertSame("array after smaller setLength", array2, array3); in testSetLength()
204 assertSame("array after set", dst.getPrimitiveArray(), src.getPrimitiveArray()); in testSet()
219 assertSame("array after copy", array, dst.getPrimitiveArray()); in testCopy()
257 assertSame("array after append zero", array, dst.getPrimitiveArray()); in testAppend()
[all …]
DInputPointersTests.java22 import static org.junit.Assert.assertSame;
127 assertSame("xCoordinates after set", dst.getXCoordinates(), src.getXCoordinates()); in testSet()
128 assertSame("yCoordinates after set", dst.getYCoordinates(), src.getYCoordinates()); in testSet()
129 assertSame("pointerIds after set", dst.getPointerIds(), src.getPointerIds()); in testSet()
130 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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/touchinputconsumer/
DNullGestureConsumerTests.java20 import static org.junit.Assert.assertSame;
53 assertSame(GestureConsumer.NULL_GESTURE_CONSUMER, in testNewInstanceGivesNullGestureConsumerForInvalidInputs()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestLastAccessedStorage.java20 import static junit.framework.Assert.assertSame;
57 assertSame(expected, mLastAccessedStack); in assertSameStack()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/setup/
DTunerHalCreatorTest.java21 import static org.junit.Assert.assertSame;
71 assertSame(tunerHal, tunerHalCreator.getOrCreate()); in test_asyncGet()
/packages/apps/ManagedProvisioning/tests/instrumentation/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.java138 public void assertSame(TableColumn[] columns) { in assertSame() method in BaseDatabaseHelperUpgradeTest.TableStructure
196 structure.assertSame(entry.columns); in assertDatabaseStructureSameAsList()
/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java73 assertSame(testStore, Store.sStores.get(testAccount.mHostAuthRecv)); in testGetInstance()
85 assertSame(testStore, Store.sStores.get(testAccount.mHostAuthRecv)); in testGetInstance()
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DNoNullCursorAsyncQueryHandlerTest.java110 assertSame(cookie, cookieHolder.obj); in testCursorContainsCorrectCookies()
137 assertSame(PROJECTION, cursorHolder.obj.getColumnNames()); in testCursorContainsCorrectColumns()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java31 import static org.junit.Assert.assertSame;
545 assertSame(clipData, actual.first); in testDragAndDrop_DropsOnWritableRoot()
546 assertSame(TestProvidersAccess.DOWNLOADS, actual.second); in testDragAndDrop_DropsOnWritableRoot()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsPublisherServiceTest.java25 import static org.junit.Assert.assertSame;
132 assertSame(mPublisherClient.mPublisherService, mProxyCaptor.getAllValues().get(0)); in testOnClientConnected()
135 assertSame(mPublisherClient2.mPublisherService, mProxyCaptor.getAllValues().get(1)); in testOnClientConnected()
/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java68 assertSame(manager, mBitmapManager); in testSingleton()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java112 Assert.assertSame("AdapterService.getAdapterService() must return the same object as the" in clearAdapterService()
/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()