MCPcopy Index your code
hub / github.com/ThrowTheSwitch/Unity / testCstringsEscapeSequence

Function testCstringsEscapeSequence

test/tests/test_unity_strings.c:320–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320void testCstringsEscapeSequence(void)
321{
322#ifndef USING_OUTPUT_SPY
323 TEST_IGNORE();
324#else
325 startPutcharSpy();
326 UnityPrint("\x16\x10");
327 endPutcharSpy();
328 TEST_ASSERT_EQUAL_STRING("\\x16\\x10", getBufferPutcharSpy());
329#endif
330}

Callers

nothing calls this directly

Calls 4

startPutcharSpyFunction · 0.85
UnityPrintFunction · 0.85
endPutcharSpyFunction · 0.85
getBufferPutcharSpyFunction · 0.85

Tested by

no test coverage detected