diff options
author | tsaichristine <tsaichristine@google.com> | 2020-03-16 09:46:41 -0700 |
---|---|---|
committer | tsaichristine <tsaichristine@google.com> | 2020-03-17 09:17:27 -0700 |
commit | bb33b803ef4b9135f1d53569680280b186dd147a (patch) | |
tree | 44633a09f092a602f45ec551c56afd245b713cd2 /tools/aapt2/java/AnnotationProcessor_test.cpp | |
parent | 28ab493385d3b3875bfe0fd4b24633b633f85bb8 (diff) |
(Part 2.1) Use new socket schema in ValueMetricProducer_test
Sending ValueMetricProducer_test as multiple CLs to retain diff and make
it easier to review.
I added a few different CreateLogEvent functions that account for tests
that need events with 0, 2, and 3 values.
The old #createEvent function took in one value but added it twice to the
LogEvent. I replaced this with #CreateRepeatedValueLogEvent. Any events
made with #createEvent or that took the form of:
event.write(tagId)
event.write(value)
was replaced with a call to #CreateRepeatedValueLogEvent. I assumed
that the tagId was used as the first field because an arbitrary number
was needed.
Test: bit statsd_test:*
Bug: 149590301
Change-Id: I26de8074a66babcf3ab7ee395be0598d88b4ba59
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor_test.cpp')
0 files changed, 0 insertions, 0 deletions