docs: Fix typos "recieve" -> "receive"

This commit is contained in:
Sergey Markelov
2023-12-25 15:31:01 -07:00
committed by Marshall Greenblatt
parent 3507249202
commit 7c2bd75f7a
8 changed files with 11 additions and 11 deletions

View File

@@ -119,7 +119,7 @@ class SendRecvTestHandler : public TestHandler {
EXPECT_TRUE(message->IsValid());
EXPECT_TRUE(message->IsReadOnly());
// Verify that the recieved message is the same as the sent message.
// Verify that the received message is the same as the sent message.
TestProcessMessageEqual(CreateTestMessage(), message);
got_message_.yes();
@@ -155,14 +155,14 @@ class SendRecvTestHandler : public TestHandler {
} // namespace
// Verify send from the UI thread and recieve.
// Verify send from the UI thread and receive.
TEST(ProcessMessageTest, SendRecvUI) {
CefRefPtr<SendRecvTestHandler> handler = new SendRecvTestHandler(TID_UI);
handler->ExecuteTest();
ReleaseAndWaitForDestructor(handler);
}
// Verify send from the IO thread and recieve.
// Verify send from the IO thread and receive.
TEST(ProcessMessageTest, SendRecvIO) {
CefRefPtr<SendRecvTestHandler> handler = new SendRecvTestHandler(TID_IO);
handler->ExecuteTest();

View File

@@ -370,7 +370,7 @@ class RequestSendRecvTestHandler : public TestHandler {
} // namespace
// Verify send and recieve
// Verify send and receive
TEST(RequestTest, SendRecv) {
CefRefPtr<RequestSendRecvTestHandler> handler =
new RequestSendRecvTestHandler();

View File

@@ -109,7 +109,7 @@ class SharedMessageTestHandler final : public TestHandler {
EXPECT_TRUE(message->IsReadOnly());
EXPECT_EQ(message->GetArgumentList(), nullptr);
// Verify that the recieved message is the same as the sent message.
// Verify that the received message is the same as the sent message.
auto region = message->GetSharedMemoryRegion();
const TestData* received = static_cast<const TestData*>(region->Memory());
EXPECT_EQ(data_.flag, received->flag);