@Test
public void testSetDrawablePropertiesDefault() {
DrawableProperties properties = new DrawableProperties();
Drawable drawableTo = mock(Drawable.class);
DrawableUtils.setDrawableProperties(drawableTo, properties);
verify(drawableTo, never()).setAlpha(anyInt());
verify(drawableTo, never()).setColorFilter(any(ColorFilter.class));
verify(drawableTo, never()).setDither(anyBoolean());
verify(drawableTo, never()).setFilterBitmap(anyBoolean());
}
DrawableUtilsTest.java 文件源码
java
阅读 60
收藏 0
点赞 0
评论 0
项目:GitHub
作者:
评论列表
文章目录