| /appcompat/appcompat-lint/src/test/kotlin/androidx/appcompat/lint/integ/ |
| D | UseCompatDetectorTest.kt | 35 val expected = in checkCompatSubstitutionsOnActivity() constant 50 check(*input).expect(expected) in checkCompatSubstitutionsOnActivity() 57 val expected = in checkCompatSubstitutionsOnWidget() constant 66 check(*input).expect(expected) in checkCompatSubstitutionsOnWidget()
|
| D | UsingOnClickInXmlDetectorTest.kt | 34 val expected = in checkActivityWithClick() constant 43 check(*input).expect(expected) in checkActivityWithClick()
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
| D | AppCompatToggleButtonTest.java | 63 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont); in testFontResources() local 65 assertEquals(expected, toggleButton.getTypeface()); in testFontResources() 152 final int expected = ColorUtils.compositeColors(0x800000ff, 0xffff0000); in testCompoundDrawablesTintMode() local 162 expected, in testCompoundDrawablesTintMode() 210 final int expected = ColorUtils.compositeColors(tint, 0xffff0000); in testSetCompoundDrawablesTintMode() local 221 expected, in testSetCompoundDrawablesTintMode()
|
| D | AppCompatBaseTextViewEmojiTest.java | 96 String expected = "Test text"; in whenEnabled_setText_callsProcess() local 97 subject.setText(expected); in whenEnabled_setText_callsProcess() 107 String expected = "Test text"; in whenDisabled_noCalls() local 108 subject.setText(expected); in whenDisabled_noCalls() 119 String expected = "Some text"; in whenReEnabled_callsProcess() local 121 subject.setText(expected); in whenReEnabled_callsProcess()
|
| D | AppCompatRadioButtonTest.java | 68 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont); in testFontResources() local 70 assertEquals(expected, radioButton.getTypeface()); in testFontResources() 185 final int expected = ColorUtils.compositeColors(0x800000ff, 0xffff0000); in testCompoundDrawablesTintMode() local 195 expected, in testCompoundDrawablesTintMode() 243 final int expected = ColorUtils.compositeColors(tint, 0xffff0000); in testSetCompoundDrawablesTintMode() local 254 expected, in testSetCompoundDrawablesTintMode()
|
| D | AppCompatCheckBoxTest.java | 68 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont); in testFontResources() local 70 assertEquals(expected, checkBox.getTypeface()); in testFontResources() 184 final int expected = ColorUtils.compositeColors(0x800000ff, 0xffff0000); in testCompoundDrawablesTintMode() local 194 expected, in testCompoundDrawablesTintMode() 242 final int expected = ColorUtils.compositeColors(tint, 0xffff0000); in testSetCompoundDrawablesTintMode() local 253 expected, in testSetCompoundDrawablesTintMode()
|
| D | AppCompatCheckedTextViewTest.java | 75 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont); in testFontResources() local 77 assertEquals(expected, textView.getTypeface()); in testFontResources() 253 final int expected = ColorUtils.compositeColors(0x800000ff, 0xffff0000); in testCompoundDrawablesTintMode() local 263 expected, in testCompoundDrawablesTintMode() 311 final int expected = ColorUtils.compositeColors(tint, 0xffff0000); in testSetCompoundDrawablesTintMode() local 322 expected, in testSetCompoundDrawablesTintMode()
|
| D | AppCompatTextViewTest.java | 277 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont); in testFontResources_setInXmlFamilyName() local 279 assertEquals(expected, textView.getTypeface()); in testFontResources_setInXmlFamilyName() 285 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplexmlfont); in testFontResourcesXml_setInXmlFamilyName() local 287 assertEquals(expected, textView.getTypeface()); in testFontResourcesXml_setInXmlFamilyName() 309 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont); in testFontResources_setInXmlStyle() local 311 assertEquals(expected, textView.getTypeface()); in testFontResources_setInXmlStyle() 317 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplexmlfont); in testFontResourcesXml_setInXmlStyle() local 319 assertEquals(expected, textView.getTypeface()); in testFontResourcesXml_setInXmlStyle() 325 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont); in testFontResources_setInXmlTextAppearance() local 327 assertEquals(expected, textView.getTypeface()); in testFontResources_setInXmlTextAppearance() [all …]
|
| D | AppCompatAutoCompleteTextViewTest.java | 180 final int expected = ColorUtils.compositeColors(0x800000ff, 0xffff0000); in testCompoundDrawablesTintMode() local 190 expected, in testCompoundDrawablesTintMode() 240 final int expected = ColorUtils.compositeColors(tint, 0xffff0000); in testSetCompoundDrawablesTintMode() local 251 expected, in testSetCompoundDrawablesTintMode()
|
| D | AppCompatMultiAutoCompleteTextViewTest.java | 181 final int expected = ColorUtils.compositeColors(0x800000ff, 0xffff0000); in testCompoundDrawablesTintMode() local 191 expected, in testCompoundDrawablesTintMode() 243 final int expected = ColorUtils.compositeColors(tint, 0xffff0000); in testSetCompoundDrawablesTintMode() local 254 expected, in testSetCompoundDrawablesTintMode()
|
| D | AppCompatAttributeTest.kt | 182 fun assumeDebugViewAttributes(expected: String?) { in assumeDebugViewAttributes() 186 "Assumed $DEBUG_VIEW_ATTRIBUTES would be $expected within $timeout seconds", in assumeDebugViewAttributes() 188 Settings.Global.getString(contentResolver, DEBUG_VIEW_ATTRIBUTES) == expected in assumeDebugViewAttributes()
|
| D | AppCompatEditTextTest.java | 347 final int expected = ColorUtils.compositeColors(0x800000ff, 0xffff0000); in testCompoundDrawablesTintMode() local 357 expected, in testCompoundDrawablesTintMode() 407 final int expected = ColorUtils.compositeColors(tint, 0xffff0000); in testSetCompoundDrawablesTintMode() local 418 expected, in testSetCompoundDrawablesTintMode()
|
| D | AppCompatButtonTest.java | 106 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont); in testFontResources() local 108 assertEquals(expected, button.getTypeface()); in testFontResources()
|
| D | SwitchCompatTest.java | 75 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont); in testFontResources() local 77 assertEquals(expected, switchButton.getTypeface()); in testFontResources()
|
| D | AppCompatBaseAutoSizeTest.java | 886 @Test(expected = NullPointerException.class) 1100 @Test(expected = IllegalArgumentException.class) 1108 @Test(expected = IllegalArgumentException.class) 1116 @Test(expected = IllegalArgumentException.class) 1124 @Test(expected = IllegalArgumentException.class)
|
| D | PopupMenuTest.java | 725 private static Matcher<View> selfOrParentWithContentDescription(final CharSequence expected) { 729 description.appendText("self of parent has content description: " + expected); 734 return TextUtils.equals(expected, getSelfOrParentContentDescription(view));
|
| D | AppCompatEditTextReceiveContentTest.java | 117 } catch (NullPointerException expected) { in testOnCreateInputConnection_nullEditorInfo()
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/ |
| D | DrawerLayoutDoubleTest.java | 71 @Test(expected=IllegalArgumentException.class) 80 @Test(expected=IllegalArgumentException.class) 89 @Test(expected=IllegalArgumentException.class) 97 @Test(expected=IllegalArgumentException.class) 105 @Test(expected=IllegalArgumentException.class)
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/view/ |
| D | ContextThemeWrapperTest.java | 167 Resources.Theme expected = mContext.getResources().newTheme(); in verifyIdenticalTextAppearanceStyle() local 168 expected.setTo(mContext.getTheme()); in verifyIdenticalTextAppearanceStyle() 169 expected.applyStyle(R.style.TextAppearance, true); in verifyIdenticalTextAppearanceStyle() 170 TypedArray expectedTa = expected.obtainStyledAttributes(R.styleable.TextAppearance); in verifyIdenticalTextAppearanceStyle()
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
| D | TestUtils.java | 457 public static void assertContentEquals(@Nullable CharSequence expected, in assertContentEquals() argument 460 expected != null ? expected.toString() : null, in assertContentEquals()
|
| /appcompat/appcompat/api/ |
| D | api_lint.ignore | 105 …at.app.AlertDialog.Builder does not declare a `build()` method, but builder classes are expected to
|