Home | History | Annotate | Download | only in googletest

Lines Matching refs:default_value

708 // the given flag; if it's not set, returns default_value.
711 bool BoolFromGTestEnv(const char* flag, bool default_value) {
715 default_value : strcmp(string_value, "0") != 0;
720 // doesn't represent a valid 32-bit integer, returns default_value.
721 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) {
726 return default_value;
729 Int32 result = default_value;
733 (Message() << default_value).GetString().c_str());
735 return default_value;
742 // the given flag; if it's not set, returns default_value.
743 const char* StringFromGTestEnv(const char* flag, const char* default_value) {
746 return value == NULL ? default_value : value;