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

#include <gtest.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 3379 of file gtest.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 3066 of file gtest-all.cc.

◆ CaseInsensitiveWideCStringEquals()

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

Definition at line 3086 of file gtest-all.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 2360 of file gtest-all.cc.

◆ EndsWithCaseInsensitive()

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

Definition at line 3110 of file gtest-all.cc.

◆ FormatByte()

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

Definition at line 3134 of file gtest-all.cc.

◆ FormatHexInt()

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

Definition at line 3127 of file gtest-all.cc.

◆ FormatIntWidth2()

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

Definition at line 3120 of file gtest-all.cc.

◆ ShowWideCString()

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

Definition at line 3009 of file gtest-all.cc.

◆ WideCStringEquals()

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

Definition at line 3021 of file gtest-all.cc.


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


diagnostic_aggregator
Author(s): Kevin Watts, Brice Rebsamen
autogenerated on Mon Feb 28 2022 22:18:07