Xmipp  v3.23.11-Nereus
Public Member Functions | List of all members
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 368 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 373 of file gtest.h.

374  : key_(a_key), value_(a_value) {}

Member Function Documentation

◆ key()

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

Definition at line 377 of file gtest.h.

377 { return key_.c_str(); }

◆ SetValue()

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

Definition at line 383 of file gtest.h.

383 { value_ = new_value; }

◆ value()

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

Definition at line 380 of file gtest.h.

380 { return value_.c_str(); }

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