[code coverage] Add Metric message to Java json metadata
JaCoCo counter data conforms to code coverage Metric: JaCoCo coverage counter type definition: https://www.jacoco.org/jacoco/trunk/doc/counters.html Code coverage Metric message definition: https://chromium.googlesource.com/infra/infra/+/HEAD/appengine/findit/model/proto/code_coverage.proto#77 Also use findall() instead of iter() to find only elements with a tag which are direct children of the current element. Bug: 843307 Change-Id: Id35a4af0dae250f6c07763e01cfbac71b6802d51 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689341 Commit-Queue: Yun Liu <yliuyliu@google.com> Reviewed-by:John Budorick <jbudorick@chromium.org> Reviewed-by:
Yuke Liao <liaoyuke@chromium.org> Cr-Commit-Position: refs/heads/master@{#675760}
Showing
Please register or sign in to comment