MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / testLongString

Function testLongString

DbgMsgSrc/DbgMsgSrc.cpp:162–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void testLongString()
163{
164 int length = 15000;
165 std::ostringstream ss;
166 ss << "1234567890ABCDEF-%s {0} \t\r\n";
167 ss << length;
168 std::string test = ss.str();
169 for (size_t i = 0; i < length - test.size() - 1; ++i)
170 ss << "X";
171
172 ss << "\n";
173 test = ss.str();
174
175 OutputDebugStringA(test.c_str());
176}
177
178void Output(const std::string& filename)
179{

Callers

nothing calls this directly

Calls 3

strMethod · 0.45
sizeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected