Home
last modified time | relevance | path

Searched refs:assertNotSame (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java96 assertNotSame(resources, newResources); in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
111 assertNotSame(resources1, resources2); in testAddingASplitCreatesANewImpl()
112 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testAddingASplitCreatesANewImpl()
136 assertNotSame(resources1, resources2); in testUpdateConfigurationUpdatesAllAssetManagers()
137 assertNotSame(resources1, resources3); in testUpdateConfigurationUpdatesAllAssetManagers()
138 assertNotSame(resources2, resources3); in testUpdateConfigurationUpdatesAllAssetManagers()
141 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
142 assertNotSame(resources1.getImpl(), resources3.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
143 assertNotSame(resources2.getImpl(), resources3.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
175 assertNotSame(resources1, resources2); in testTwoActivitiesWithIdenticalParametersShareImpl()
[all …]
DConfigurationBoundResourceCacheTest.java53 assertNotSame(5f, mCache.getInstance(1, res, null)); in testSetGet()
63 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGetThemed()
72 assertNotSame(10f, mCache.getInstance(1, res, null)); in testMultiThreadPutGet()
74 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testMultiThreadPutGet()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessorTest.java19 import static org.junit.Assert.assertNotSame;
95 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
97 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
99 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
/frameworks/support/fragment/tests/java/android/support/v4/app/
DNestedFragmentRestoreTest.java21 import static junit.framework.TestCase.assertNotSame;
90 assertNotSame("attached to new context", activity, attachedTo[0]); in recreateActivity()
91 assertNotSame("attached to new parent fragment", parent, child); in recreateActivity()
/frameworks/base/core/tests/coretests/src/android/view/
DMutateDrawableTest.java44 assertNotSame(mFirstButton.getBackground(), mSecondButton.getBackground()); in testSetUpConditions()
49 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java104 assertNotSame(op1.key, op3.key); in testToKey()
105 assertNotSame(op1.key, op4.key); in testToKey()
106 assertNotSame(op1.key, op5.key); in testToKey()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapperTest.java28 import static org.junit.Assert.assertNotSame;
56 assertNotSame("Unexpected end of document", END_DOCUMENT, parser.getEventType()); in testDataBindingLayout()
81 assertNotSame("Unexpected end of document", END_DOCUMENT, parser.getEventType()); in testNonDataBindingLayout()
/frameworks/base/core/tests/coretests/src/android/os/
DHandlerThreadTest.java69 assertNotSame(-1, mLooperTid); in testHandlerThread()
71 assertNotSame(Process.myTid(), mLooperTid); in testHandlerThread()
DAidlTest.java217 assertNotSame(arg, result); in testParcelableIn()
227 assertNotSame(arg, result); in testParcelableOut()
235 assertNotSame(arg, result); in testParcelableInOut()
260 assertNotSame(list.get(1), list.get(2)); in testListParcelableLonger()
282 assertNotSame(list.get(0), list.get(1)); in testListParcelableShorter()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DWeakIdentityHashMapTest.java20 import static org.junit.Assert.assertNotSame;
48 assertNotSame(a1, a2); in testUsesIdentity()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java268 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor()
270 assertNotSame(-1, firstMountId); in testOpenProxyFileDescriptor()
280 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor()
281 assertNotSame(firstMountId, mSm.getProxyFileDescriptorMountPointId()); in testOpenProxyFileDescriptor()
/frameworks/base/core/tests/coretests/src/android/app/
DLoaderLifecycleTest.java21 import static junit.framework.TestCase.assertNotSame;
76 assertNotSame("fully removed and re-added fragment got same LoaderManager", lm1, lm12); in loaderIdentityTest()
203 assertNotSame("LoaderManager kept reference to old FragmentHostCallback", in backStackLoaderIdentityTest()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DVideoSupportFragmentTest.java24 import static org.junit.Assert.assertNotSame;
104 assertNotSame(fragment1, fragment2); in setSurfaceViewCallbackBeforeCreate()
236 Assert.assertNotSame(fragmentViewBeforeRecreate, fragmentViewAfterRecreate); in mediaPlayerGlueInVideoSupportFragment()
DVideoFragmentTest.java21 import static org.junit.Assert.assertNotSame;
101 assertNotSame(fragment1, fragment2); in setSurfaceViewCallbackBeforeCreate()
233 Assert.assertNotSame(fragmentViewBeforeRecreate, fragmentViewAfterRecreate); in mediaPlayerGlueInVideoFragment()
/frameworks/base/legacy-test/src/junit/framework/
DAssert.java260 static public void assertNotSame(String message, Object expected, Object actual) { in assertNotSame() method in Assert
268 static public void assertNotSame(Object expected, Object actual) { in assertNotSame() method in Assert
269 assertNotSame(null, expected, actual); in assertNotSame()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerSnappingTest.java20 import static junit.framework.Assert.assertNotSame;
102 assertNotSame("The view should have scrolled", view, viewAfterScroll); in snapOnScrollNextItem()
154 assertNotSame("The view should have scrolled!", in snapOnFlingNextView()
DLinearLayoutManagerSnappingTest.java20 import static junit.framework.Assert.assertNotSame;
125 assertNotSame("The view should have scrolled", view, viewAfterFling); in snapOnScrollNextView()
174 assertNotSame("The view should have scrolled", view, viewAfterFling); in snapOnFlingNextView()
DStaggeredGridLayoutManagerSnappingTest.java20 import static junit.framework.Assert.assertNotSame;
142 assertNotSame("The view should have scrolled", view, viewAfterScroll); in snapOnScrollNextItem()
194 assertNotSame("The view should have scrolled", view, viewAfterFling); in snapOnFlingNextView()
DPagerSnapHelperTest.java20 import static junit.framework.Assert.assertNotSame;
110 assertNotSame("The view should have scrolled", view, viewAfterFling); in snapOnScrollNextView()
201 assertNotSame("The view should have scrolled", view, viewAfterFling); in runSnapOnMaxFlingNextView()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java21 import static org.junit.Assert.assertNotSame;
150 assertNotSame(callback.getTypeface(), callback3.getTypeface()); in typefaceCacheTest()
173 assertNotSame(typeface, typeface2); in typefaceNotCacheTest()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DIncludeTagTest.java50 assertNotSame(textView1, mergeLayoutBinding.innerTextView1); in testIncludeTag()
51 assertNotSame(textView2, mergeLayoutBinding.innerTextView2); in testIncludeTag()
DAutoContextTest.java33 assertNotSame("", binding.textView1.getText().toString()); in testContext()
/frameworks/support/compat/tests/java/android/support/v4/graphics/
DDrawableCompatTest.java21 import static org.junit.Assert.assertNotSame;
50 assertNotSame(original, wrappedDrawable); in testDrawableWrap()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestMtpManager.java155 Assert.assertNotSame(0, objectInfo.getStorageId()); in createDocument()
156 Assert.assertNotSame(-1, objectInfo.getStorageId()); in createDocument()
157 Assert.assertNotSame(0, objectInfo.getParent()); in createDocument()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DSyntheticPasswordTests.java139 assertNotSame(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredential()
156 assertNotSame(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredentialUntrusted()
167 assertNotSame(0 ,mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredentialUntrusted()
168 assertNotSame(sid ,mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredentialUntrusted()

123