MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / wxString_test2

Function wxString_test2

test/cfg/wxwidgets.cpp:1263–1274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1261}
1262
1263void wxString_test2()
1264{
1265 wxString s;
1266 // cppcheck-suppress containerOutOfBounds
1267 s[1] = 'a';
1268 s.append("abc");
1269 s[1] = 'B';
1270 printf("%s", static_cast<const char*>(s.c_str()));
1271 wxPrintf("%s", s);
1272 wxPrintf("%s", s.c_str());
1273 s.Clear();
1274}
1275
1276wxString::iterator wxString_test3()
1277{

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected