56 char prev_char =
'\0';
57 for (
const char*
p = id_name; *
p !=
'\0'; prev_char = *(
p++)) {
60 const bool starts_new_word =
IsUpper(*
p) ||
65 if (starts_new_word && result !=
"")
100 static FailureReporterInterface*
const failure_reporter =
102 return failure_reporter;
133 int stack_frames_to_skip) {
145 std::cout <<
"\nGMOCK WARNING:";
148 if (message.empty() || message[0] !=
'\n') {
152 if (stack_frames_to_skip >= 0) {
155 const int actual_to_skip = 0;
159 const int actual_to_skip = stack_frames_to_skip + 1;
163 if (!message.empty() && *message.rbegin() !=
'\n') {
166 std::cout <<
"Stack trace:\n"