Lines Matching refs:EXPECT_EQ

88   EXPECT_EQ(1U, info.start());  in TEST()
89 EXPECT_EQ(2U, info.end()); in TEST()
90 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info.flags()); in TEST()
91 EXPECT_EQ(3U, info.offset()); in TEST()
92 EXPECT_EQ("", info.name()); in TEST()
95 EXPECT_EQ(0xaU, info.start()); in TEST()
96 EXPECT_EQ(0xbU, info.end()); in TEST()
97 EXPECT_EQ(0U, info.flags()); in TEST()
98 EXPECT_EQ(0xcU, info.offset()); in TEST()
99 EXPECT_EQ("/fake/name", info.name()); in TEST()
102 EXPECT_EQ(1U, info.start()); in TEST()
103 EXPECT_EQ(2U, info.end()); in TEST()
104 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info.flags()); in TEST()
105 EXPECT_EQ(3U, info.offset()); in TEST()
106 EXPECT_EQ("/fake/name/again", info.name()); in TEST()
161 EXPECT_EQ(0xfabcdef012345678UL, info.start()); in TEST()
162 EXPECT_EQ(0xf12345678abcdef8UL, info.end()); in TEST()
163 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info.flags()); in TEST()
164 EXPECT_EQ(0xf0b0d0f010305070UL, info.offset()); in TEST()
167 EXPECT_EQ(0xf2345678UL, info.start()); in TEST()
168 EXPECT_EQ(0xfabcdef8UL, info.end()); in TEST()
169 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info.flags()); in TEST()
170 EXPECT_EQ(0xf0305070UL, info.offset()); in TEST()
187 EXPECT_EQ(PROT_NONE, info->flags()); in TEST()
188 EXPECT_EQ(0x1000U, info->start()); in TEST()
189 EXPECT_EQ(0x2000U, info->end()); in TEST()
190 EXPECT_EQ(0U, info->offset()); in TEST()
191 EXPECT_EQ("", info->name()); in TEST()
195 EXPECT_EQ(PROT_READ, info->flags()); in TEST()
196 EXPECT_EQ(0x2000U, info->start()); in TEST()
197 EXPECT_EQ(0x3000U, info->end()); in TEST()
198 EXPECT_EQ(0U, info->offset()); in TEST()
199 EXPECT_EQ("", info->name()); in TEST()
203 EXPECT_EQ(PROT_WRITE, info->flags()); in TEST()
204 EXPECT_EQ(0x3000U, info->start()); in TEST()
205 EXPECT_EQ(0x4000U, info->end()); in TEST()
206 EXPECT_EQ(0U, info->offset()); in TEST()
207 EXPECT_EQ("", info->name()); in TEST()
211 EXPECT_EQ(PROT_EXEC, info->flags()); in TEST()
212 EXPECT_EQ(0x4000U, info->start()); in TEST()
213 EXPECT_EQ(0x5000U, info->end()); in TEST()
214 EXPECT_EQ(0U, info->offset()); in TEST()
215 EXPECT_EQ("", info->name()); in TEST()
219 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info->flags()); in TEST()
220 EXPECT_EQ(0x5000U, info->start()); in TEST()
221 EXPECT_EQ(0x6000U, info->end()); in TEST()
222 EXPECT_EQ(0U, info->offset()); in TEST()
223 EXPECT_EQ("", info->name()); in TEST()
239 EXPECT_EQ("", info->name()); in TEST()
240 EXPECT_EQ(0x7b29b000U, info->start()); in TEST()
241 EXPECT_EQ(0x7b29e000U, info->end()); in TEST()
242 EXPECT_EQ(0U, info->offset()); in TEST()
243 EXPECT_EQ(PROT_READ | PROT_WRITE, info->flags()); in TEST()
247 EXPECT_EQ("/system/lib/fake.so", info->name()); in TEST()
248 EXPECT_EQ(0x7b29e000U, info->start()); in TEST()
249 EXPECT_EQ(0x7b29f000U, info->end()); in TEST()
250 EXPECT_EQ(0U, info->offset()); in TEST()
251 EXPECT_EQ(PROT_READ | PROT_WRITE, info->flags()); in TEST()
255 EXPECT_EQ("", info->name()); in TEST()
256 EXPECT_EQ(0x7b29f000U, info->start()); in TEST()
257 EXPECT_EQ(0x7b2a0000U, info->end()); in TEST()
258 EXPECT_EQ(0U, info->offset()); in TEST()
259 EXPECT_EQ(PROT_READ | PROT_WRITE, info->flags()); in TEST()
274 EXPECT_EQ(0U, info->offset()); in TEST()
275 EXPECT_EQ(0xa000U, info->start()); in TEST()
276 EXPECT_EQ(0xe000U, info->end()); in TEST()
277 EXPECT_EQ(PROT_READ | PROT_WRITE, info->flags()); in TEST()
278 EXPECT_EQ("/system/lib/fake.so", info->name()); in TEST()
282 EXPECT_EQ(0xa12345U, info->offset()); in TEST()
283 EXPECT_EQ(0xe000U, info->start()); in TEST()
284 EXPECT_EQ(0xf000U, info->end()); in TEST()
285 EXPECT_EQ(PROT_READ | PROT_WRITE, info->flags()); in TEST()
286 EXPECT_EQ("/system/lib/fake.so", info->name()); in TEST()
300 EXPECT_EQ(0xa000U, (*it)->start()); in TEST()
301 EXPECT_EQ(0xe000U, (*it)->end()); in TEST()
303 EXPECT_EQ(0xe000U, (*it)->start()); in TEST()
304 EXPECT_EQ(0xf000U, (*it)->end()); in TEST()
306 EXPECT_EQ(maps.end(), it); in TEST()
318 EXPECT_EQ(0xa000U, (*it)->start()); in TEST()
319 EXPECT_EQ(0xe000U, (*it)->end()); in TEST()
321 EXPECT_EQ(0xe000U, (*it)->start()); in TEST()
322 EXPECT_EQ(0xf000U, (*it)->end()); in TEST()
324 EXPECT_EQ(maps.end(), it); in TEST()
340 EXPECT_EQ("/dev/", info->name()); in TEST()
344 EXPECT_EQ("/dev/does_not_exist", info->name()); in TEST()
348 EXPECT_EQ("/dev/ashmem/does_not_exist", info->name()); in TEST()
352 EXPECT_EQ("/devsomething/does_not_exist", info->name()); in TEST()
372 EXPECT_EQ(0x7b29b000U, info->start()); in TEST()
373 EXPECT_EQ(0x7b29e000U, info->end()); in TEST()
374 EXPECT_EQ(0xa0000000U, info->offset()); in TEST()
375 EXPECT_EQ(PROT_READ | PROT_EXEC, info->flags()); in TEST()
376 EXPECT_EQ("/fake.so", info->name()); in TEST()
380 EXPECT_EQ(0x7b2b0000U, info->start()); in TEST()
381 EXPECT_EQ(0x7b2e0000U, info->end()); in TEST()
382 EXPECT_EQ(0xb0000000U, info->offset()); in TEST()
383 EXPECT_EQ(PROT_READ | PROT_EXEC, info->flags()); in TEST()
384 EXPECT_EQ("/fake2.so", info->name()); in TEST()
388 EXPECT_EQ(0x7b2e0000U, info->start()); in TEST()
389 EXPECT_EQ(0x7b2f0000U, info->end()); in TEST()
390 EXPECT_EQ(0xc0000000U, info->offset()); in TEST()
391 EXPECT_EQ(PROT_READ | PROT_EXEC, info->flags()); in TEST()
392 EXPECT_EQ("/fake3.so", info->name()); in TEST()
414 EXPECT_EQ(0x7b29b000U, info->start()); in TEST()
415 EXPECT_EQ(0x7b29e000U, info->end()); in TEST()
416 EXPECT_EQ(0xa0000000U, info->offset()); in TEST()
417 EXPECT_EQ(PROT_READ | PROT_EXEC, info->flags()); in TEST()
418 EXPECT_EQ("", info->name()); in TEST()
422 EXPECT_EQ(0x7b2b0000U, info->start()); in TEST()
423 EXPECT_EQ(0x7b2e0000U, info->end()); in TEST()
424 EXPECT_EQ(0xb0000000U, info->offset()); in TEST()
425 EXPECT_EQ(PROT_READ | PROT_EXEC, info->flags()); in TEST()
426 EXPECT_EQ("/fake2.so", info->name()); in TEST()
430 EXPECT_EQ(0x7b2e0000U, info->start()); in TEST()
431 EXPECT_EQ(0x7b2f0000U, info->end()); in TEST()
432 EXPECT_EQ(0xc0000000U, info->offset()); in TEST()
433 EXPECT_EQ(PROT_READ | PROT_EXEC, info->flags()); in TEST()
434 EXPECT_EQ("", info->name()); in TEST()
501 EXPECT_EQ(index, maps.Total()); in TEST()
506 EXPECT_EQ(i * 4096, info->start()) << "Failed verifying index " + std::to_string(i); in TEST()
507 EXPECT_EQ((i + 1) * 4096, info->end()) << "Failed verifying index " + std::to_string(i); in TEST()
508 EXPECT_EQ(0U, info->offset()) << "Failed verifying index " + std::to_string(i); in TEST()
510 EXPECT_EQ(overlap1_name, info->name()) in TEST()
513 EXPECT_EQ(overlap2_name, info->name()) in TEST()
516 EXPECT_EQ("", info->name()) << "Failed verifying index " + std::to_string(i); in TEST()
555 EXPECT_EQ(start + i * 4096, info->start()) << "Failed at map " + std::to_string(i); in TEST()
556 EXPECT_EQ(start + (i + 1) * 4096, info->end()) << "Failed at map " + std::to_string(i); in TEST()
558 EXPECT_EQ(name, info->name()) << "Failed at map " + std::to_string(i); in TEST()
581 EXPECT_EQ(0x1000U, info->start()); in TEST()
582 EXPECT_EQ(0x2000U, info->end()); in TEST()
583 EXPECT_EQ(0x10U, info->offset()); in TEST()
584 EXPECT_EQ(PROT_READ, info->flags()); in TEST()
585 EXPECT_EQ("/system/lib/fake1.so", info->name()); in TEST()
589 EXPECT_EQ(0x3000U, info->start()); in TEST()
590 EXPECT_EQ(0x4000U, info->end()); in TEST()
591 EXPECT_EQ(0x20U, info->offset()); in TEST()
592 EXPECT_EQ(PROT_WRITE, info->flags()); in TEST()
593 EXPECT_EQ("/system/lib/fake2.so", info->name()); in TEST()
597 EXPECT_EQ(0x6000U, info->start()); in TEST()
598 EXPECT_EQ(0x8000U, info->end()); in TEST()
599 EXPECT_EQ(0x30U, info->offset()); in TEST()
600 EXPECT_EQ(PROT_EXEC, info->flags()); in TEST()
601 EXPECT_EQ("/system/lib/fake3.so", info->name()); in TEST()
605 EXPECT_EQ(0xa000U, info->start()); in TEST()
606 EXPECT_EQ(0xb000U, info->end()); in TEST()
607 EXPECT_EQ(0x40U, info->offset()); in TEST()
608 EXPECT_EQ(PROT_READ | PROT_WRITE, info->flags()); in TEST()
609 EXPECT_EQ("/system/lib/fake4.so", info->name()); in TEST()
613 EXPECT_EQ(0xe000U, info->start()); in TEST()
614 EXPECT_EQ(0xf000U, info->end()); in TEST()
615 EXPECT_EQ(0x50U, info->offset()); in TEST()
616 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info->flags()); in TEST()
617 EXPECT_EQ("/system/lib/fake5.so", info->name()); in TEST()