Lines Matching refs:tracer
74 InjectionTracer tracer; in TEST() local
76 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
77 EXPECT_EQ(0u, tracer.actions().size()); in TEST()
82 InjectionTracer tracer; in TEST() local
85 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
86 EXPECT_EQ(0u, tracer.actions().size()); in TEST()
91 InjectionTracer tracer; in TEST() local
94 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
95 EXPECT_EQ(0u, tracer.actions().size()); in TEST()
100 InjectionTracer tracer; in TEST() local
103 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
104 ASSERT_EQ(1u, tracer.actions().size()); in TEST()
105 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
110 InjectionTracer tracer; in TEST() local
114 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
115 ASSERT_EQ(2u, tracer.actions().size()); in TEST()
116 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
117 EXPECT_TRUE(tracer.actions()[1] == Action(Action::MOVE, 2, 3)); in TEST()
122 InjectionTracer tracer; in TEST() local
125 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
126 ASSERT_EQ(2u, tracer.actions().size()); in TEST()
127 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
128 EXPECT_TRUE(tracer.actions()[1] == Action(Action::CLOSE, 0)); in TEST()
133 InjectionTracer tracer; in TEST() local
137 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
138 ASSERT_EQ(2u, tracer.actions().size()); in TEST()
139 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 10, 0)); in TEST()
140 EXPECT_TRUE(tracer.actions()[1] == Action(Action::CLOSE, 10)); in TEST()
145 InjectionTracer tracer; in TEST() local
149 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
150 ASSERT_EQ(4u, tracer.actions().size()); in TEST()
151 EXPECT_TRUE(tracer.actions()[0] == in TEST()
153 EXPECT_TRUE(tracer.actions()[1] == Action(Action::MOVE, 0, 1)); in TEST()
154 EXPECT_TRUE(tracer.actions()[2] == Action(Action::MOVE, kDuplicateBase, 0)); in TEST()
155 EXPECT_TRUE(tracer.actions()[3] == Action(Action::CLOSE, kDuplicateBase)); in TEST()
160 InjectionTracer tracer; in TEST() local
164 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
165 ASSERT_EQ(4u, tracer.actions().size()); in TEST()
166 EXPECT_TRUE(tracer.actions()[0] == in TEST()
168 EXPECT_TRUE(tracer.actions()[1] == Action(Action::MOVE, 0, 1)); in TEST()
169 EXPECT_TRUE(tracer.actions()[2] == Action(Action::MOVE, kDuplicateBase, 0)); in TEST()
170 EXPECT_TRUE(tracer.actions()[3] == Action(Action::CLOSE, kDuplicateBase)); in TEST()
175 InjectionTracer tracer; in TEST() local
179 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
180 ASSERT_EQ(4u, tracer.actions().size()); in TEST()
181 EXPECT_TRUE(tracer.actions()[0] == in TEST()
183 EXPECT_TRUE(tracer.actions()[1] == Action(Action::MOVE, 0, 1)); in TEST()
184 EXPECT_TRUE(tracer.actions()[2] == Action(Action::MOVE, kDuplicateBase, 0)); in TEST()
185 EXPECT_TRUE(tracer.actions()[3] == Action(Action::CLOSE, kDuplicateBase)); in TEST()
190 InjectionTracer tracer; in TEST() local
194 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
195 ASSERT_EQ(4u, tracer.actions().size()); in TEST()
196 EXPECT_TRUE(tracer.actions()[0] == in TEST()
198 EXPECT_TRUE(tracer.actions()[1] == Action(Action::MOVE, 0, 1)); in TEST()
199 EXPECT_TRUE(tracer.actions()[2] == Action(Action::MOVE, kDuplicateBase, 0)); in TEST()
200 EXPECT_TRUE(tracer.actions()[3] == Action(Action::CLOSE, kDuplicateBase)); in TEST()
205 InjectionTracer tracer; in TEST() local
209 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
210 ASSERT_EQ(2u, tracer.actions().size()); in TEST()
211 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
212 EXPECT_TRUE(tracer.actions()[1] == Action(Action::MOVE, 0, 2)); in TEST()
217 InjectionTracer tracer; in TEST() local
221 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
222 ASSERT_EQ(3u, tracer.actions().size()); in TEST()
223 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
224 EXPECT_TRUE(tracer.actions()[1] == Action(Action::MOVE, 0, 2)); in TEST()
225 EXPECT_TRUE(tracer.actions()[2] == Action(Action::CLOSE, 0)); in TEST()
230 InjectionTracer tracer; in TEST() local
234 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
235 ASSERT_EQ(3u, tracer.actions().size()); in TEST()
236 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
237 EXPECT_TRUE(tracer.actions()[1] == Action(Action::MOVE, 0, 2)); in TEST()
238 EXPECT_TRUE(tracer.actions()[2] == Action(Action::CLOSE, 0)); in TEST()
243 InjectionTracer tracer; in TEST() local
247 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
248 ASSERT_EQ(3u, tracer.actions().size()); in TEST()
249 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
250 EXPECT_TRUE(tracer.actions()[1] == Action(Action::MOVE, 0, 2)); in TEST()
251 EXPECT_TRUE(tracer.actions()[2] == Action(Action::CLOSE, 0)); in TEST()