Tighten checks for no dns queries in localhost tests
Rather than counting the number of A record queries, let's check that
the dns received *no* queries at all. Well, except of course for the
braindamanged behavior of gethostbyname() with respect to ip6-localhost.
Also included:
- Added a handy method to dump all queries when our EXPECTations fail.
- Cosmetic changes to the ResolverTest class definition
- Removed a bunch of unused include paths
- Fix missing virtual destructor warning
Test: atest netd_integration_test
Change-Id: I7bd4ecc1cb04ce2c91dbb6db483e85195f18b9e6
4 files changed