MCPcopy Create free account
hub / github.com/FastLED/FastLED / injectRecvData

Method injectRecvData

tests/fl/net/http/stream_transport.cpp:67–69  ·  view source on GitHub ↗

Test helpers

Source from the content-addressed store, hash-verified

65
66 // Test helpers
67 void injectRecvData(const uint8_t* data, size_t length) {
68 mRecvData.insert(mRecvData.end(), data, data + length);
69 }
70
71 void injectRecvChunk(const char* jsonStr) {
72 // Format as chunked data

Callers 1

FL_TEST_FILEFunction · 0.80

Calls 2

insertMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected