MCPcopy Create free account
hub / github.com/cpputest/cpputest / lowerCase

Method lowerCase

src/CppUTest/SimpleString.cpp:425–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425SimpleString SimpleString::lowerCase() const
426{
427 SimpleString str(*this);
428
429 size_t str_size = str.size();
430 for (size_t i = 0; i < str_size; i++)
431 str.buffer_[i] = ToLower(str.getBuffer()[i]);
432
433 return str;
434}
435
436const char *SimpleString::asCharString() const
437{

Callers 3

containsNoCaseMethod · 0.80
equalsNoCaseMethod · 0.80
TESTFunction · 0.80

Calls 2

getBufferMethod · 0.80
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64