问题是Jacoco在执行./gradlew connectedCheck
并启用测试覆盖率后报告Realm生成的类。
Realm生成大量代码,这使得覆盖率报告不可靠。
从io.realm
报告中删除connectedCheck
包的最简单方法是什么?
答案 0 :(得分:1)
如果我选择Google GithubBrowserSample into account which has the following task in its build.gradle:
<!DOCTYPE html>
<head>
<title>Mugdea</title>
<style>
body {
text-align: center;
background: url("https://i.imgur.com/YGc2Dtx.gif");
background-size: cover;
background-position: center;
color:white;
font-family: chiller;
}
p {
font-size: 52px;
}
input {
border: 15;
padding: 10px;
font-size: 18px;
}
input[type="submit"] {
background: green;
color: white;
}
</style>
</head>
<body>
<p> I'm Mugdea, a NYC horror writer. Say boo!</p>
<input type="email" placeholder="Your email">
<input type="submit">
<img src="https://i.imgur.com/wDVrcNim.jpg">
enter code here</body>
您很可能会添加Sub GreyMap()
Dim cvec(256) As Long, rng As Range, i%, k%
Set rng = Range("C1:C256")
k = 0
For i = 0 To 255 ' Loop over main diagonal of RGB cube
k = k + 1
cvec(k) = RGB(i, i, i) ' Shades of Grey
rng.Rows(k) = cvec(k)
' rng.Rows(k).Interior.Color = cvec(k) ' This works, but I don't want to do a cell-by-cell write
Next i
rng.Interior.Color = cvec ' Is this even a legal VBA command ?
End Sub
等文件过滤器。