Merge "Fix a bug in test that cause the flakyness in SimpleConditionTracker_test."

This commit is contained in:
TreeHugger Robot
2017-11-27 22:13:20 +00:00
committed by Android (Google) Code Review

View File

@@ -242,6 +242,7 @@ TEST(SimpleConditionTrackerTest, TestSlicedCondition) {
vector<MatchingState> matcherState;
matcherState.push_back(MatchingState::kMatched);
matcherState.push_back(MatchingState::kNotMatched);
matcherState.push_back(MatchingState::kNotMatched);
vector<sp<ConditionTracker>> allConditions;
vector<ConditionState> conditionCache(1, ConditionState::kNotEvaluated);
vector<bool> changedCache(1, false);
@@ -327,6 +328,7 @@ TEST(SimpleConditionTrackerTest, TestSlicedWithNoOutputDim) {
vector<MatchingState> matcherState;
matcherState.push_back(MatchingState::kMatched);
matcherState.push_back(MatchingState::kNotMatched);
matcherState.push_back(MatchingState::kNotMatched);
vector<sp<ConditionTracker>> allConditions;
vector<ConditionState> conditionCache(1, ConditionState::kNotEvaluated);
vector<bool> changedCache(1, false);