diff options
author | Will Brockman <brockman@google.com> | 2020-04-20 15:11:49 -0400 |
---|---|---|
committer | Will Brockman <brockman@google.com> | 2020-04-23 13:49:04 -0400 |
commit | b0712288088bdebfd7b7f749fb9b949cefec2f5a (patch) | |
tree | 301e2c5b3ba56eb6acdd4ef2ed70ceab38763feb /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 07bed80a86c7a05ba41fa96a396dee2da3c7f857 (diff) |
Extend & refactor Statsd TestDrive tool.
Now allows capturing multiple events under the same event metric.
Added unit tests for configuration generation and command-line
interpretation. Refactored configuration into an inner class and
added functionality using TDD.
Also updated TestDrive & LocalDrive tools to check ANDROID_SERIAL as well as
the -s parameter when multiple devices are connected, and improved error messages.
Bug: 149914234
Test: atest --host test/com/android/statsd/shelltools/testdrive/*.java
Test: out/host/linux-x86/bin/statsd_testdrive -s <SERIAL> 90
Test: out/host/linux-x86/bin/statsd_localdrive -s <SERIAL> get-data 90
Change-Id: I4e756c2b132a22d66ccaf7b3346fe4fbf1f6f1fb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions