Static Public Member Functions | Private Member Functions | List of all members
testing::internal::String Class Reference

#include <gtest-string.h>

Static Public Member Functions

static bool CaseInsensitiveCStringEquals (const char *lhs, const char *rhs)
 
static bool CaseInsensitiveWideCStringEquals (const wchar_t *lhs, const wchar_t *rhs)
 
static const char * CloneCString (const char *c_str)
 
static bool CStringEquals (const char *lhs, const char *rhs)
 
static bool EndsWithCaseInsensitive (const std::string &str, const std::string &suffix)
 
static std::string FormatByte (unsigned char value)
 
static std::string FormatHexInt (int value)
 
static std::string FormatIntWidth2 (int value)
 
static std::string ShowWideCString (const wchar_t *wide_c_str)
 
static bool WideCStringEquals (const wchar_t *lhs, const wchar_t *rhs)
 

Private Member Functions

 String ()
 

Detailed Description

Definition at line 58 of file gtest-string.h.

Constructor & Destructor Documentation

◆ String()

testing::internal::String::String ( )
private

Member Function Documentation

◆ CaseInsensitiveCStringEquals()

bool testing::internal::String::CaseInsensitiveCStringEquals ( const char *  lhs,
const char *  rhs 
)
static

Definition at line 1585 of file gtest.cc.

◆ CaseInsensitiveWideCStringEquals()

bool testing::internal::String::CaseInsensitiveWideCStringEquals ( const wchar_t *  lhs,
const wchar_t *  rhs 
)
static

Definition at line 1605 of file gtest.cc.

◆ CloneCString()

static const char* testing::internal::String::CloneCString ( const char *  c_str)
static

◆ CStringEquals()

bool testing::internal::String::CStringEquals ( const char *  lhs,
const char *  rhs 
)
static

Definition at line 879 of file gtest.cc.

◆ EndsWithCaseInsensitive()

bool testing::internal::String::EndsWithCaseInsensitive ( const std::string &  str,
const std::string &  suffix 
)
static

Definition at line 1629 of file gtest.cc.

◆ FormatByte()

std::string testing::internal::String::FormatByte ( unsigned char  value)
static

Definition at line 1653 of file gtest.cc.

◆ FormatHexInt()

std::string testing::internal::String::FormatHexInt ( int  value)
static

Definition at line 1646 of file gtest.cc.

◆ FormatIntWidth2()

std::string testing::internal::String::FormatIntWidth2 ( int  value)
static

Definition at line 1639 of file gtest.cc.

◆ ShowWideCString()

std::string testing::internal::String::ShowWideCString ( const wchar_t *  wide_c_str)
static

Definition at line 1528 of file gtest.cc.

◆ WideCStringEquals()

bool testing::internal::String::WideCStringEquals ( const wchar_t *  lhs,
const wchar_t *  rhs 
)
static

Definition at line 1540 of file gtest.cc.


The documentation for this class was generated from the following files:


fcl
Author(s):
autogenerated on Wed Feb 17 2021 03:40:11