proxygen
testing::TestProperty Class Reference

#include <gtest.h>

Public Member Functions

 TestProperty (const std::string &a_key, const std::string &a_value)
 
const char * key () const
 
const char * value () const
 
void SetValue (const std::string &new_value)
 
 TestProperty (const std::string &a_key, const std::string &a_value)
 
const char * key () const
 
const char * value () const
 
void SetValue (const std::string &new_value)
 
 TestProperty (const std::string &a_key, const std::string &a_value)
 
const char * key () const
 
const char * value () const
 
void SetValue (const std::string &new_value)
 

Private Attributes

std::string key_
 
std::string value_
 

Detailed Description

Definition at line 486 of file gtest.h.

Constructor & Destructor Documentation

testing::TestProperty::TestProperty ( const std::string a_key,
const std::string a_value 
)
inline

Definition at line 491 of file gtest.h.

491  :
492  key_(a_key), value_(a_value) {
493  }
std::string value_
Definition: gtest.h:514
std::string key_
Definition: gtest.h:512
testing::TestProperty::TestProperty ( const std::string a_key,
const std::string a_value 
)
inline

Definition at line 491 of file gtest.h.

491  :
492  key_(a_key), value_(a_value) {
493  }
std::string value_
Definition: gtest.h:514
std::string key_
Definition: gtest.h:512
testing::TestProperty::TestProperty ( const std::string a_key,
const std::string a_value 
)
inline

Definition at line 491 of file gtest.h.

491  :
492  key_(a_key), value_(a_value) {
493  }
std::string value_
Definition: gtest.h:514
std::string key_
Definition: gtest.h:512

Member Function Documentation

const char* testing::TestProperty::key ( ) const
inline
const char* testing::TestProperty::key ( ) const
inline

Definition at line 496 of file gtest.h.

496  {
497  return key_.c_str();
498  }
std::string key_
Definition: gtest.h:512
const char* testing::TestProperty::key ( ) const
inline

Definition at line 496 of file gtest.h.

496  {
497  return key_.c_str();
498  }
std::string key_
Definition: gtest.h:512
void testing::TestProperty::SetValue ( const std::string new_value)
inline

Definition at line 506 of file gtest.h.

506  {
507  value_ = new_value;
508  }
std::string value_
Definition: gtest.h:514
void testing::TestProperty::SetValue ( const std::string new_value)
inline

Definition at line 506 of file gtest.h.

References GTEST_API_, and string.

506  {
507  value_ = new_value;
508  }
std::string value_
Definition: gtest.h:514
void testing::TestProperty::SetValue ( const std::string new_value)
inline

Definition at line 506 of file gtest.h.

References GTEST_API_, and string.

506  {
507  value_ = new_value;
508  }
std::string value_
Definition: gtest.h:514
const char* testing::TestProperty::value ( ) const
inline

Definition at line 501 of file gtest.h.

Referenced by operator<<(), and testing::TestResult::RecordProperty().

501  {
502  return value_.c_str();
503  }
std::string value_
Definition: gtest.h:514
const char* testing::TestProperty::value ( ) const
inline

Definition at line 501 of file gtest.h.

501  {
502  return value_.c_str();
503  }
std::string value_
Definition: gtest.h:514
const char* testing::TestProperty::value ( ) const
inline

Definition at line 501 of file gtest.h.

501  {
502  return value_.c_str();
503  }
std::string value_
Definition: gtest.h:514

Member Data Documentation

std::string testing::TestProperty::key_
private

Definition at line 512 of file gtest.h.

std::string testing::TestProperty::value_
private

Definition at line 514 of file gtest.h.


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