Skip to content

Commit

Permalink
Delete kitkat-specific test and update to run on OLDEST_SDK.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 621689811
  • Loading branch information
Material Design Team authored and paulfthomas committed Apr 4, 2024
1 parent 23bcd50 commit a069c4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* Tests for {@link ViewScheduler}.
*/
@RunWith(RobolectricTestRunner.class)
@Config(sdk = 19)
@Config(sdk = Config.OLDEST_SDK)
public class ViewSchedulerTest {

private ViewScheduler viewScheduler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@ public void testValidateColor_solidColor_returnsSelf_noWarning() {
assertThat(RippleUtils.sanitizeRippleDrawableColor(rippleColor)).isEqualTo(rippleColor);
}

@Test
@Config(sdk = VERSION_CODES.KITKAT)
public void testValidateColor_transparentDefaultColor_returnsSelf_kitkat_noWarning() {
ColorStateList rippleColor = createTransparentDefaultColor();
assertThat(RippleUtils.sanitizeRippleDrawableColor(rippleColor)).isEqualTo(rippleColor);
assertThat(ShadowLog.getLogsForTag(RippleUtils.LOG_TAG)).isEmpty();
}

@Test
@Config(sdk = VERSION_CODES.LOLLIPOP)
public void testValidateColor_transparentDefaultColor_returnsSelf_lollipop_noWarning() {
Expand Down

0 comments on commit a069c4c

Please sign in to comment.