class TestProperty

Defined at line 369 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h

A copyable object representing a user specified test property which can be

output as a key/value string pair.

Don't inherit from TestProperty as its destructor is not virtual.

Public Methods

void TestProperty (const std::string & a_key, const std::string & a_value)

C'tor. TestProperty does NOT have a default constructor.

Always use this constructor (with parameters) to create a

TestProperty object.

Defined at line 374 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h

const char * key ()

Gets the user supplied key.

Defined at line 378 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h

const char * value ()

Gets the user supplied value.

Defined at line 381 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h

void SetValue (const std::string & new_value)

Sets a new value, overriding the one supplied in the constructor.

Defined at line 384 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h