mirror of https://github.com/ARMmbed/mbed-os.git
Fix spell check and astyle format issue
parent
21325e281a
commit
947d2d75b9
|
@ -191,7 +191,7 @@ protected:
|
|||
|
||||
/** 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.
|
||||
*
|
||||
* @param handle Socket handle
|
||||
|
|
|
@ -72,7 +72,7 @@ void wifi_connect_secure(void);
|
|||
/** Test WiFiInterface::connect() failing with wrong password. */
|
||||
void wifi_connect_secure_fail(void);
|
||||
|
||||
/** Test WiFiInterface::connect() - disconnect() repeatition works. */
|
||||
/** Test WiFiInterface::connect() - disconnect() repetition works. */
|
||||
void wifi_connect_disconnect_repeat(void);
|
||||
|
||||
/** Call WiFiInterface::scan() with null parameters to get number of networks available. */
|
||||
|
|
|
@ -179,7 +179,7 @@ TEST_F(TestEthernetInterface, set_network)
|
|||
// Testing the getters makes sense now.
|
||||
EXPECT_CALL(*netStackIface, get_mac_address(_, _))
|
||||
.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_CALL(*netStackIface, get_ip_address(_))
|
||||
|
|
|
@ -49,7 +49,8 @@ OnboardNetworkStack &OnboardNetworkStack::get_default_instance()
|
|||
}
|
||||
|
||||
// Wrapper to avoid calling OnboardNetworkStack::get_default_instance() everywhere
|
||||
static OnboardNetworkStackMock &stackMock() {
|
||||
static OnboardNetworkStackMock &stackMock()
|
||||
{
|
||||
return OnboardNetworkStackMock::get_instance();
|
||||
}
|
||||
|
||||
|
|
|
@ -116,4 +116,5 @@ chrono
|
|||
Hinnant
|
||||
Vin
|
||||
Vref
|
||||
ssid
|
||||
_doxy_
|
||||
|
|
Loading…
Reference in New Issue