Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
StatefulNamingFunctor Struct Reference

Public Member Functions

 StatefulNamingFunctor ()
 
std::string operator() (const ::testing::TestParamInfo< int > &info)
 

Public Attributes

int sum
 

Detailed Description

Definition at line 999 of file gtest-param-test_test.cc.

Constructor & Destructor Documentation

◆ StatefulNamingFunctor()

StatefulNamingFunctor::StatefulNamingFunctor ( )
inline

Definition at line 1000 of file gtest-param-test_test.cc.

Member Function Documentation

◆ operator()()

std::string StatefulNamingFunctor::operator() ( const ::testing::TestParamInfo< int > & info)
inline

Definition at line 1001 of file gtest-param-test_test.cc.

1001 {
1002 int value = info.param + sum;
1003 sum += info.param;
1004 return ::testing::PrintToString(value);
1005 }
#define value
Definition pkcs11.h:157

Member Data Documentation

◆ sum

int StatefulNamingFunctor::sum

Definition at line 1006 of file gtest-param-test_test.cc.


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