Electroneum
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)
 

Detailed Description

Definition at line 486 of file gtest.h.

Constructor & Destructor Documentation

◆ TestProperty() [1/2]

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  }

◆ TestProperty() [2/2]

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  }

Member Function Documentation

◆ key() [1/2]

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

Definition at line 496 of file gtest.h.

496  {
497  return key_.c_str();
498  }
Here is the caller graph for this function:

◆ key() [2/2]

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

Definition at line 496 of file gtest.h.

496  {
497  return key_.c_str();
498  }

◆ SetValue() [1/2]

void testing::TestProperty::SetValue ( const std::string &  new_value)
inline

Definition at line 506 of file gtest.h.

506  {
507  value_ = new_value;
508  }

◆ SetValue() [2/2]

void testing::TestProperty::SetValue ( const std::string &  new_value)
inline

Definition at line 506 of file gtest.h.

506  {
507  value_ = new_value;
508  }

◆ value() [1/2]

const char* testing::TestProperty::value ( void  ) const
inline

Definition at line 501 of file gtest.h.

501  {
502  return value_.c_str();
503  }

◆ value() [2/2]

const char* testing::TestProperty::value ( void  ) const
inline

Definition at line 501 of file gtest.h.

501  {
502  return value_.c_str();
503  }

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