diff options
author | Yangster-mac <yanglu@google.com> | 2017-12-22 17:19:39 -0800 |
---|---|---|
committer | Yangster-mac <yanglu@google.com> | 2018-01-01 10:01:36 -0800 |
commit | 2087716f2bdca90c7c3034d556ac12911bd8018e (patch) | |
tree | 448895d8ce6f40644aa184b15fe024385d26d3c1 /tools/stats_log_api_gen/test_collation.cpp | |
parent | 28bc987f61400b2862174149486e9f032c386a5f (diff) |
1/ Support nested message and repeated fields in statsd.
2/ Filter gauge fields by FieldMatcher.
3/ Wire up wakelock attribution chain.
4/ e2e test: wakelock duration metric with aggregated predicate dimensions.
5/ e2e test: count metric with multiple metric condition links for 2 predicates and 1 non-sliced predicate.
Test: statsd unit test passed.
Change-Id: I89db31cb068184a54e0a892fad710966d3127bc9
Diffstat (limited to 'tools/stats_log_api_gen/test_collation.cpp')
-rw-r--r-- | tools/stats_log_api_gen/test_collation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/stats_log_api_gen/test_collation.cpp b/tools/stats_log_api_gen/test_collation.cpp index b2b7298d86c7..9e22cd92fd53 100644 --- a/tools/stats_log_api_gen/test_collation.cpp +++ b/tools/stats_log_api_gen/test_collation.cpp @@ -191,10 +191,10 @@ TEST(CollationTest, FailOnSkippedFieldsMultiple) { * Test that atoms that have an attribution chain not in the first position are * rejected. */ -TEST(CollationTest, FailBadAttributionChainPosition) { +TEST(CollationTest, FailBadAttributionNodePosition) { Atoms atoms; int errorCount = - collate_atoms(BadAttributionChainPosition::descriptor(), &atoms); + collate_atoms(BadAttributionNodePosition::descriptor(), &atoms); EXPECT_EQ(1, errorCount); } |