Sync proto from google3
Default initial value for Condition changed to false Test: statsd_test Change-Id: I73ad80d873f2ff1264d18b1eec6d882ad0e9bb6f
This commit is contained in:
@@ -87,7 +87,7 @@ message SimpleCondition {
|
||||
UNKNOWN = 0;
|
||||
FALSE = 1;
|
||||
}
|
||||
optional InitialValue initial_value = 5 [default = UNKNOWN];
|
||||
optional InitialValue initial_value = 5 [default = FALSE];
|
||||
|
||||
repeated KeyMatcher dimension = 6;
|
||||
}
|
||||
|
||||
@@ -71,6 +71,7 @@ TEST(SimpleConditionTrackerTest, TestNonSlicedCondition) {
|
||||
simpleCondition.set_start("SCREEN_TURNED_ON");
|
||||
simpleCondition.set_stop("SCREEN_TURNED_OFF");
|
||||
simpleCondition.set_count_nesting(false);
|
||||
simpleCondition.set_initial_value(SimpleCondition_InitialValue_UNKNOWN);
|
||||
|
||||
unordered_map<string, int> trackerNameIndexMap;
|
||||
trackerNameIndexMap["SCREEN_TURNED_ON"] = 0;
|
||||
|
||||
Reference in New Issue
Block a user