Create unittest for ScannerImpl
This creates the unit test suite for class ScannerImpl and
add a few test cases for single scan.
Bug: 33452931
Test: compile, unit tests
Change-Id: Ib0584068aa886769b50860309224e670f3415fc8
diff --git a/client_interface_impl.h b/client_interface_impl.h
index 41f6a09..96e6fd9 100644
--- a/client_interface_impl.h
+++ b/client_interface_impl.h
@@ -67,7 +67,7 @@
android::wifi_system::SupplicantManager* supplicant_manager,
NetlinkUtils* netlink_utils,
ScanUtils* scan_utils);
- ~ClientInterfaceImpl();
+ virtual ~ClientInterfaceImpl();
// Get a pointer to the binder representing this ClientInterfaceImpl.
android::sp<android::net::wifi::IClientInterface> GetBinder() const;
@@ -82,7 +82,7 @@
bool requestANQP(
const ::std::vector<uint8_t>& bssid,
const ::android::sp<::android::net::wifi::IANQPDoneCallback>& callback);
- bool IsAssociated() const;
+ virtual bool IsAssociated() const;
void Dump(std::stringstream* ss) const;
private: