Lines Matching refs:sMottoText
57 static const uint8_t sMottoText[] = "Think good thoughts, say good words, do good deeds!"; variable
105 SuccessOrQuit(WriteToBuffer(sMottoText, frameBuffer)); in TestHdlcFrameBuffer()
107 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sMottoText) - 1); in TestHdlcFrameBuffer()
108 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sMottoText, frameBuffer.GetLength()) == 0); in TestHdlcFrameBuffer()
147 SuccessOrQuit(WriteToBuffer(sMottoText, frameBuffer)); in TestHdlcMultiFrameBuffer()
149 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sMottoText) - 1); in TestHdlcMultiFrameBuffer()
150 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sMottoText, frameBuffer.GetLength()) == 0); in TestHdlcMultiFrameBuffer()
178 SuccessOrQuit(WriteToBuffer(sMottoText, frameBuffer)); in TestHdlcMultiFrameBuffer()
179 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sMottoText) - 1); in TestHdlcMultiFrameBuffer()
180 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sMottoText, frameBuffer.GetLength()) == 0); in TestHdlcMultiFrameBuffer()
204 VerifyOrQuit(length == sizeof(sMottoText) - 1, "GetNextSavedFrame() length is incorrect"); in TestHdlcMultiFrameBuffer()
205 …VerifyOrQuit(memcmp(frame, sMottoText, length) == 0, "GetNextSavedFrame() frame content is incorre… in TestHdlcMultiFrameBuffer()
237 VerifyOrQuit(length == sizeof(sMottoText) - 1, "GetNextSavedFrame() length is incorrect"); in TestHdlcMultiFrameBuffer()
238 …VerifyOrQuit(memcmp(frame, sMottoText, length) == 0, "GetNextSavedFrame() frame content is incorre… in TestHdlcMultiFrameBuffer()
292 SuccessOrQuit(WriteToBuffer(sMottoText, frameBuffer)); in TestHdlcMultiFrameBuffer()
349 SuccessOrQuit(WriteToBuffer(sMottoText, frameBuffer)); in TestHdlcMultiFrameBuffer()
350 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sMottoText, frameBuffer.GetLength()) == 0); in TestHdlcMultiFrameBuffer()
353 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sMottoText) - 1); in TestHdlcMultiFrameBuffer()
354 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sMottoText, frameBuffer.GetLength()) == 0); in TestHdlcMultiFrameBuffer()
376 VerifyOrQuit(length == sizeof(sMottoText) - 1, "GetNextSavedFrame() length is incorrect"); in TestHdlcMultiFrameBuffer()
377 …VerifyOrQuit(memcmp(frame, sMottoText, length) == 0, "GetNextSavedFrame() frame content is incorre… in TestHdlcMultiFrameBuffer()
403 memcpy(frame, sMottoText, sizeof(sMottoText)); in TestHdlcMultiFrameBuffer()
404 VerifyOrQuit(frameBuffer.SetLength(sizeof(sMottoText)) == OT_ERROR_NONE); in TestHdlcMultiFrameBuffer()
405 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sMottoText)); in TestHdlcMultiFrameBuffer()
422 VerifyOrQuit(length == sizeof(sMottoText), "GetNextSavedFrame() length is incorrect"); in TestHdlcMultiFrameBuffer()
423 …VerifyOrQuit(memcmp(frame, sMottoText, length) == 0, "GetNextSavedFrame() frame content is incorre… in TestHdlcMultiFrameBuffer()
469 SuccessOrQuit(encoder.Encode(sMottoText, sizeof(sMottoText) - 1)); in TestEncoderDecoder()
514 …VerifyOrQuit(length == sizeof(sMottoText) - 1, "Decoded frame length does not match original frame… in TestEncoderDecoder()
515 …VerifyOrQuit(memcmp(frame, sMottoText, length) == 0, "Decoded frame content does not match origina… in TestEncoderDecoder()
557 SuccessOrQuit(encoder.Encode(sMottoText, sizeof(sMottoText) - 1)); in TestEncoderDecoder()