proxygen
testing::internal::TestCaseNameIs Class Reference

Public Member Functions

 TestCaseNameIs (const std::string &name)
 
bool operator() (const TestCase *test_case) const
 
 TestCaseNameIs (const std::string &name)
 
bool operator() (const TestCase *test_case) const
 
 TestCaseNameIs (const std::string &name)
 
bool operator() (const TestCase *test_case) const
 

Private Attributes

std::string name_
 

Detailed Description

Definition at line 4475 of file gtest.cc.

Constructor & Destructor Documentation

testing::internal::TestCaseNameIs::TestCaseNameIs ( const std::string name)
inlineexplicit

Definition at line 4478 of file gtest.cc.

4479  : name_(name) {}
const char * name
Definition: http_parser.c:437
testing::internal::TestCaseNameIs::TestCaseNameIs ( const std::string name)
inlineexplicit

Definition at line 4478 of file gtest.cc.

4479  : name_(name) {}
const char * name
Definition: http_parser.c:437
testing::internal::TestCaseNameIs::TestCaseNameIs ( const std::string name)
inlineexplicit

Definition at line 4478 of file gtest.cc.

4479  : name_(name) {}
const char * name
Definition: http_parser.c:437

Member Function Documentation

bool testing::internal::TestCaseNameIs::operator() ( const TestCase test_case) const
inline

Definition at line 4482 of file gtest.cc.

References testing::TestCase::name(), and name_.

4482  {
4483  return test_case != NULL && strcmp(test_case->name(), name_.c_str()) == 0;
4484  }
bool testing::internal::TestCaseNameIs::operator() ( const TestCase test_case) const
inline

Definition at line 4482 of file gtest.cc.

References testing::internal::UnitTestImpl::GetTestCase(), testing::internal::UnitTestOptions::MatchesFilter(), testing::TestCase::name(), name_, string, and gmock_test_utils::TestCase.

4482  {
4483  return test_case != NULL && strcmp(test_case->name(), name_.c_str()) == 0;
4484  }
bool testing::internal::TestCaseNameIs::operator() ( const TestCase test_case) const
inline

Definition at line 4482 of file gtest.cc.

References testing::internal::UnitTestImpl::GetTestCase(), testing::internal::UnitTestOptions::MatchesFilter(), testing::TestCase::name(), name_, string, and gmock_test_utils::TestCase.

4482  {
4483  return test_case != NULL && strcmp(test_case->name(), name_.c_str()) == 0;
4484  }

Member Data Documentation

std::string testing::internal::TestCaseNameIs::name_
private

Definition at line 4487 of file gtest.cc.


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