MCPcopy Create free account
hub / github.com/DaveGamble/cJSON / testCstringsEscapeSequence

Function testCstringsEscapeSequence

tests/unity/test/tests/testunity.c:3354–3364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3352}
3353
3354void testCstringsEscapeSequence(void)
3355{
3356#ifndef USING_OUTPUT_SPY
3357 TEST_IGNORE();
3358#else
3359 startPutcharSpy();
3360 UnityPrint("\x16\x10");
3361 endPutcharSpy();
3362 TEST_ASSERT_EQUAL_STRING("\\x16\\x10", getBufferPutcharSpy());
3363#endif
3364}
3365
3366void testHexPrintsUpToMaxNumberOfNibbles(void)
3367{

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…