41#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_
42#define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_
52#include "gtest/internal/gtest-port.h"
71#if GTEST_OS_WINDOWS_MOBILE
84 static LPCWSTR AnsiToUtf16(
const char* c_str);
94 static const char* Utf16ToAnsi(LPCWSTR utf16_str);
102 static bool CStringEquals(
const char* lhs,
const char* rhs);
108 static std::string ShowWideCString(
const wchar_t* wide_c_str);
116 static bool WideCStringEquals(
const wchar_t* lhs,
const wchar_t* rhs);
139 static bool CaseInsensitiveWideCStringEquals(
const wchar_t* lhs,
144 static bool EndsWithCaseInsensitive(
145 const std::string&
str,
const std::string& suffix);
148 static std::string FormatIntWidth2(
int value);
151 static std::string FormatHexInt(
int value);
154 static std::string FormatByte(
unsigned char value);
Definition gtest-string.h:58
static const char * CloneCString(const char *c_str)
#define GTEST_API_
Definition gtest-port.h:934
Definition document.h:406
GTEST_API_ std::string StringStreamToString(::std::stringstream *stream)
Definition gtest.cc:1982
bool CaseInsensitiveCStringEquals(const char *lhs, const char *rhs)
Definition gmock-matchers.h:1090
Definition gmock-actions.h:53
const GenericPointer< typename T::ValueType > T2 value
Definition pointer.h:1225
const char *const str
Definition portlistingparse.c:23