tesseract v5.3.3.20231005
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 534 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 539 of file gtest.h.

539 :
540 key_(a_key), value_(a_value) {
541 }

Member Function Documentation

◆ key()

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

Definition at line 544 of file gtest.h.

544 {
545 return key_.c_str();
546 }

◆ SetValue()

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

Definition at line 554 of file gtest.h.

554 {
555 value_ = new_value;
556 }

◆ value()

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

Definition at line 549 of file gtest.h.

549 {
550 return value_.c_str();
551 }

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