提交 913e4591 编写于 作者: S Sam Judd

Remove unused code in MemorySizeCalculatorTest.

上级 2007440c
......@@ -87,15 +87,8 @@ public class MemorySizeCalculatorTest {
int memoryCacheSize = harness.getCalculator().getMemoryCacheSize();
int bitmapPoolSize = harness.getCalculator().getBitmapPoolSize();
String failHelpMessage =
"memoryCacheSize: " + memoryCacheSize
+ " bitmapPoolSize: " + bitmapPoolSize
+ " memoryClass: " + memoryCacheSize
+ " sizeMultiplier: " + harness.sizeMultiplier;
assertThat((float) memoryCacheSize + bitmapPoolSize).isIn(
Range.atMost(memoryClassBytes * harness.sizeMultiplier));
// assertThat(failHelpMessage, memoryCacheSize + bitmapPoolSize,
// lessThanOrEqualTo(Math.round());
}
@Test
......
......@@ -76,5 +76,4 @@ public class Util {
public static void setSdkVersionInt(int version) {
Robolectric.Reflection.setFinalStaticField(Build.VERSION.class, "SDK_INT", version);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册