Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
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)
 

Detailed Description

Definition at line 512 of file gtest.h.

Constructor & Destructor Documentation

◆ TestProperty()

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

Definition at line 517 of file gtest.h.

517 :
518 key_(a_key), value_(a_value) {
519 }

Member Function Documentation

◆ key()

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

Definition at line 522 of file gtest.h.

522 {
523 return key_.c_str();
524 }
Here is the caller graph for this function:

◆ SetValue()

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

Definition at line 532 of file gtest.h.

532 {
533 value_ = new_value;
534 }

◆ value()

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

Definition at line 527 of file gtest.h.

527 {
528 return value_.c_str();
529 }

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