提交 d28f9200 编写于 作者: J John Rodriguez

Demo Binder leak false negative

上级 12c69bb2
......@@ -89,4 +89,16 @@ public class ServiceBinderLeakTest {
assertFalse(result.leakFound);
}
@Test public void falseNegativeBinderLeak() {
// uncomment to fail
// excludedRefs.rootClass("android.os.Binder", true);
AnalysisResult result = analyze(
TestUtil.fileFromName("LC_issue_482.hprof"),
"8aeae2dd-98ec-4a91-a91c-c730a3332f76",
excludedRefs
);
assertTrue(result.leakFound);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册