Fix spell check and astyle format issue

pull/13335/head
Rajkumar Kanagaraj 2020-07-22 08:15:57 -07:00
parent 21325e281a
commit 947d2d75b9
5 changed files with 6 additions and 4 deletions

View File

@ -191,7 +191,7 @@ protected:
/** Bind a specific address to a socket /** Bind a specific address to a socket
* *
* Binding a socket specifies the address and port on which to recieve * Binding a socket specifies the address and port on which to receive
* data. If the IP address is zeroed, only the port is bound. * data. If the IP address is zeroed, only the port is bound.
* *
* @param handle Socket handle * @param handle Socket handle

View File

@ -72,7 +72,7 @@ void wifi_connect_secure(void);
/** Test WiFiInterface::connect() failing with wrong password. */ /** Test WiFiInterface::connect() failing with wrong password. */
void wifi_connect_secure_fail(void); void wifi_connect_secure_fail(void);
/** Test WiFiInterface::connect() - disconnect() repeatition works. */ /** Test WiFiInterface::connect() - disconnect() repetition works. */
void wifi_connect_disconnect_repeat(void); void wifi_connect_disconnect_repeat(void);
/** Call WiFiInterface::scan() with null parameters to get number of networks available. */ /** Call WiFiInterface::scan() with null parameters to get number of networks available. */

View File

@ -179,7 +179,7 @@ TEST_F(TestEthernetInterface, set_network)
// Testing the getters makes sense now. // Testing the getters makes sense now.
EXPECT_CALL(*netStackIface, get_mac_address(_, _)) EXPECT_CALL(*netStackIface, get_mac_address(_, _))
.Times(1) .Times(1)
.WillOnce(DoAll(SetArrayArgument<0>(macAddress, macAddress+NSAPI_MAC_SIZE), Return(macAddress))); .WillOnce(DoAll(SetArrayArgument<0>(macAddress, macAddress + NSAPI_MAC_SIZE), Return(macAddress)));
EXPECT_EQ(std::string(macAddress), std::string(iface->get_mac_address())); EXPECT_EQ(std::string(macAddress), std::string(iface->get_mac_address()));
EXPECT_CALL(*netStackIface, get_ip_address(_)) EXPECT_CALL(*netStackIface, get_ip_address(_))

View File

@ -49,7 +49,8 @@ OnboardNetworkStack &OnboardNetworkStack::get_default_instance()
} }
// Wrapper to avoid calling OnboardNetworkStack::get_default_instance() everywhere // Wrapper to avoid calling OnboardNetworkStack::get_default_instance() everywhere
static OnboardNetworkStackMock &stackMock() { static OnboardNetworkStackMock &stackMock()
{
return OnboardNetworkStackMock::get_instance(); return OnboardNetworkStackMock::get_instance();
} }

View File

@ -116,4 +116,5 @@ chrono
Hinnant Hinnant
Vin Vin
Vref Vref
ssid
_doxy_ _doxy_