/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | ItemGroupTest.java | 38 assertSame("Item at position 0 should be child1", CHILD_1, itemGroup.getItemAt(0)); in testGroup() 39 assertSame("Item at position 1 should be child2", CHILD_2, itemGroup.getItemAt(1)); in testGroup() 51 assertSame("Item at position 0 should be child2", CHILD_2, itemGroup.getItemAt(0)); in testRemoveChild() 82 assertSame("Position 0 should be child 1", CHILD_1, parentGroup.getItemAt(0)); in testNestedGroup() 83 assertSame("Position 1 should be child 2", CHILD_2, parentGroup.getItemAt(1)); in testNestedGroup() 84 assertSame("Position 2 should be child 3", CHILD_3, parentGroup.getItemAt(2)); in testNestedGroup() 85 assertSame("Position 3 should be child 4", CHILD_4, parentGroup.getItemAt(3)); in testNestedGroup() 97 assertSame("Position 0 should be child 1", CHILD_1, parentGroup.getItemAt(0)); in testEmptyChildGroup() 98 assertSame("Position 1 should be child 2", CHILD_2, parentGroup.getItemAt(1)); in testEmptyChildGroup() 110 assertSame("Find item 23456 should return child 2", CHILD_2, itemGroup.findItemById(23456)); in testFindItemById()
|
D | DrawableLayoutDirectionHelperTest.java | 45 assertSame("Drawable from getDrawable() should be same as passed in", drawable, in testCreateRelativeInsetDrawableLtr() 62 assertSame("Drawable from getDrawable() should be same as passed in", drawable, in testCreateRelativeInsetDrawableRtl() 79 assertSame("Drawable from getDrawable() should be same as passed in", drawable, in testCreateRelativeInsetDrawableViewRtl() 106 assertSame("Drawable from getDrawable() should be same as passed in", drawable, in testCreateRelativeInsetDrawableContextRtl()
|
D | ItemTest.java | 58 assertSame("Icon should be the icon shape drawable", icon, mIconView.getDrawable()); in testOnBindView() 90 assertSame("Icon should be same as set", icon, item.getIcon()); in testProperties() 115 assertSame("getItemAt should return itself", item, item.getItemAt(0)); in testHierarchyImplementation() 116 assertSame("findItemById with same ID should return itself", item, in testHierarchyImplementation()
|
D | TemplateLayoutTest.java | 46 assertSame("The view added should be the same text view", tv, view); in testAddView() 72 assertSame("The view added should be the same text view", tv, contentView); in testTemplate()
|
D | SpanHelperTest.java | 39 assertSame("The span should be newSpan", newSpan, spans[0]); in testReplaceSpan()
|
D | StatusBarBackgroundLayoutTest.java | 33 assertSame("Status bar background drawable should be same as set", in testSetStatusBarBackground()
|
D | LinkSpanTest.java | 37 assertSame("Clicked LinkSpan should be passed to setup", linkSpan, context.clickedSpan); in testOnClick()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | ItemAnimatorV2ApiTest.java | 27 import static org.junit.Assert.assertSame; 197 assertSame(vh, log.viewHolder); in simpleAdd() 222 assertSame(vh, log.viewHolder); in simpleRemove() 246 assertSame(vh, log.viewHolder); in simpleUpdate() 247 assertSame(vh, log.newHolder); in simpleUpdate() 270 assertSame(viewHolder, vh); in updateWithDuplicateViewHolder() 281 assertSame(vh, log.viewHolder); in updateWithDuplicateViewHolder() 282 assertSame(newVh, log.newHolder); in updateWithDuplicateViewHolder() 323 assertSame(reused, mRecyclerView.findViewHolderForAdapterPosition(3)); in updateWithOneDuplicateAndOneInPlace() 336 assertSame(replaced, logReplaced.viewHolder); in updateWithOneDuplicateAndOneInPlace() [all …]
|
D | GridLayoutManagerBaseConfigSetTest.java | 31 import static org.junit.Assert.assertSame; 69 assertSame("test sanity", mRecyclerView, rv); in scrollBackAndPreservePositionsTest()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | GlobalFocusChangeTest.java | 61 assertSame(mLeft, mActivity.mOldFocus); in testFocusChange() 62 assertSame(mRight, mActivity.mNewFocus); in testFocusChange() 72 assertSame(mLeft, mActivity.mOldFocus); in testEnterTouchMode() 73 assertSame(null, mActivity.mNewFocus); in testEnterTouchMode() 86 assertSame(null, mActivity.mOldFocus); in testLeaveTouchMode() 87 assertSame(mLeft, mActivity.mNewFocus); in testLeaveTouchMode()
|
D | SetTagsTest.java | 59 assertSame("The stored tag is inccorect", o, stored); in testGetTag() 74 assertSame("The stored tag is inccorect", o, stored); in testGetTagWithKey()
|
D | RemoteViewsTest.java | 40 import static org.junit.Assert.assertSame; 73 assertSame(bitmap, ((BitmapDrawable)drawable).getBitmap()); in clone_doesNotCopyBitmap()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ByteArrayRingBufferTest.java | 21 import static org.junit.Assert.assertSame; 48 assertSame(data, rb.getBuffer(0)); in canAddAndRetrieveSingleElement() 59 assertSame(data1, rb.getBuffer(0)); in canAddAndRetrieveMultipleElements() 60 assertSame(data2, rb.getBuffer(1)); in canAddAndRetrieveMultipleElements() 100 assertSame(data2, rb.getBuffer(0)); in appendPrunesBufferIfNecessary() 114 assertSame(data3, rb.getBuffer(0)); in appendPrunesMultipleBuffersIfNecessary() 139 assertSame(data2, rb.getBuffer(0)); in appendPrunesInFifoOrder() 140 assertSame(data3, rb.getBuffer(1)); in appendPrunesInFifoOrder()
|
/frameworks/support/v4/tests/java/android/support/v4/graphics/ |
D | DrawableCompatTest.java | 36 import static org.junit.Assert.assertSame; 52 assertSame(original, wrappedDrawable); in testDrawableWrap() 60 assertSame(original, DrawableCompat.unwrap(wrappedDrawable)); in testDrawableUnwrap() 79 assertSame(wrappedDrawable, DrawableCompat.wrap(wrappedDrawable)); in testDrawableWrapOnlyWrapsOnce() 116 assertSame(tintAwareDrawable, wrapped); in testDoesNotWrapTintAwareDrawable()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MemoryIntArrayTest.java | 21 import static org.junit.Assert.assertSame; 219 assertSame("Remote should be able to modify", 1, remoteIntArray.get(0)); in testNotMutableByUnprivilegedClients() 227 assertSame("Local shouldn't be able to modify", 1, localIntArray.get(0)); in testNotMutableByUnprivilegedClients() 228 assertSame("Local shouldn't be able to modify", 1, remoteIntArray.get(0)); in testNotMutableByUnprivilegedClients()
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
D | ViewInfoStoreTest.java | 63 assertSame(info2, find(vh, FLAG_PRE)); in addOverridePre() 73 assertSame(info2, find(vh, FLAG_POST)); in addOverridePost() 92 assertSame(info, find(vh, FLAG_PRE)); in addToPreLayout() 103 assertSame(info, find(vh, FLAG_POST)); in addToPostLayout() 114 assertSame(info, mStore.popFromPreLayout(vh)); in popFromPreLayout() 122 assertSame(vh, mStore.getFromOldChangeHolders(1)); in addToOldChangeHolders() 234 assertSame(mCallback.unused.get(0), vh); in processAppearAndDisappearInPostLayout()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/ |
D | ExpressionVisitorTest.java | 42 import static org.junit.Assert.assertSame; 55 assertSame(klass, parsed.getClass()); in parse() 155 assertSame(id, dep.getOther()); in testInheritedFieldResolution() 171 assertSame(id, dep.getOther()); in testGetterResolution() 183 assertSame(mParser.parse("user", null), dep.getOther()); in testMethodCall()
|
D | LayoutBinderTest.java | 34 import static org.junit.Assert.assertSame; 105 assertSame(id, fa.getChild()); in testParseWithMethods()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | RequestFocusTest.java | 123 assertSame("The clearing focus button is the first focusable.", in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 125 assertSame("The gaining focus button is the first focusable.", in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 168 assertSame("The gaining focus button is the first focusable.", in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 80 assertSame(resources, newResources); in testMultipleCallsWithIdenticalParametersCacheReference() 177 assertSame(resources1.getImpl(), resources2.getImpl()); in testTwoActivitiesWithIdenticalParametersShareImpl() 189 assertSame(resources1, theme.getResources()); in testThemesGetUpdatedWithNewImpl() 200 assertSame(resources1, theme.getResources()); in testThemesGetUpdatedWithNewImpl()
|
/frameworks/volley/src/test/java/com/android/volley/ |
D | CacheDispatcherTest.java | 101 assertSame(entry, request.getCacheEntry()); in softExpiredCacheHit() 113 assertSame(entry, request.getCacheEntry()); in expiredCacheHit()
|
/frameworks/base/test-runner/tests/src/android/test/ |
D | AndroidTestRunnerTest.java | 93 assertSame(mStubContext, in testRunTestWithAndroidTestCase() 109 assertSame(mStubContext, ((AndroidTestCase) testCase).getContext()); in testRunTestWithAndroidTestCaseInSuite() 125 assertSame(mStubContext, ((AndroidTestCase) testCase).getContext()); in testRunTestWithAndroidTestCaseInNestedSuite()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
D | ExprModelTest.java | 46 import static org.junit.Assert.assertSame; 110 assertSame(d, mExprModel.register(d)); in testAddNormal() 111 assertSame(d, mExprModel.register(d)); in testAddNormal() 118 assertSame(d, mExprModel.register(d)); in testAddDupe1() 119 assertSame(d, mExprModel.register(new DummyExpr("a"))); in testAddDupe1() 159 assertSame(a, first); in testShouldRead() 202 assertSame(user, readNow.get(0)); in testTernaryWithPlus() 221 assertSame(parsed.getRight(), readNow.get(0)); in testTernaryWithPlus() 226 assertSame(parsed, readNow.get(0)); in testTernaryWithPlus() 321 assertSame(a, first); in testRequirementFlags() [all …]
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | LayoutInflaterFactoryTestCase.java | 41 import static org.junit.Assert.assertSame; 177 assertSame("View is " + expectedClass.getSimpleName(), expectedClass, in testAppCompatWidgetInflation()
|
/frameworks/support/v4/tests/java/android/support/v4/app/ |
D | FragmentLifecycleTest.java | 51 import static junit.framework.Assert.assertSame; 278 assertSame("parent fragment is not a child of grandparent", in restoreRetainedInstanceFragments() 289 assertSame("child fragment is not a child of grandpanret", in restoreRetainedInstanceFragments() 338 assertSame("parent fragment instance was not saved", parentFragment, restoredParent); in restoreRetainedInstanceFragments() 558 assertSame("child FragmentManagers not the same instance", mSavedChildFragmentManager, in onCreateView()
|