Lines Matching refs:matches

69   std::set<int> matches = event_filter_.MatchEvent("some-event",
72 ASSERT_EQ(0u, matches.size());
82 std::set<int> matches = event_filter_.MatchEvent("event2",
85 ASSERT_EQ(0u, matches.size());
90 std::set<int> matches = event_filter_.MatchEvent("event1",
92 ASSERT_EQ(1u, matches.size());
93 ASSERT_EQ(1u, matches.count(id));
100 std::set<int> matches = event_filter_.MatchEvent(
102 ASSERT_TRUE(matches.empty());
108 std::set<int> matches = event_filter_.MatchEvent("event1",
111 ASSERT_TRUE(matches.empty());
117 std::set<int> matches = event_filter_.MatchEvent("event1",
119 ASSERT_EQ(2u, matches.size());
120 ASSERT_EQ(1u, matches.count(id1));
121 ASSERT_EQ(1u, matches.count(id2));
129 std::set<int> matches = event_filter_.MatchEvent(
131 ASSERT_EQ(1u, matches.size());
132 ASSERT_EQ(1u, matches.count(id));
144 std::set<int> matches = event_filter_.MatchEvent("event1",
146 ASSERT_EQ(1u, matches.size());
147 ASSERT_EQ(1u, matches.count(id));
150 std::set<int> matches = event_filter_.MatchEvent("event1",
152 ASSERT_EQ(1u, matches.size());
153 ASSERT_EQ(1u, matches.count(id));
156 std::set<int> matches = event_filter_.MatchEvent("event1",
158 ASSERT_EQ(0u, matches.size());
168 std::set<int> matches = event_filter_.MatchEvent("event1",
170 ASSERT_EQ(1u, matches.size());
171 ASSERT_EQ(1u, matches.count(id2));
180 std::set<int> matches = event_filter_.MatchEvent("event1",
182 ASSERT_EQ(1u, matches.size());
183 ASSERT_EQ(1u, matches.count(id1));
224 std::set<int> matches = event_filter_.MatchEvent("event1",
226 ASSERT_EQ(1u, matches.size());
227 ASSERT_EQ(1u, matches.count(id));
242 std::set<int> matches = event_filter_.MatchEvent(
244 ASSERT_EQ(1u, matches.size());
245 ASSERT_EQ(1u, matches.count(id));
253 std::set<int> matches = event_filter_.MatchEvent(
255 ASSERT_EQ(1u, matches.size());
256 ASSERT_EQ(1u, matches.count(id));