googletest.cfg: Add some GTEST_* macros
This commit is contained in:
parent
88a034e4f1
commit
02953b791c
|
@ -28,4 +28,15 @@
|
|||
<define name="TEST(A,B)" value="void __ ## A ## _ ## B ( )"/>
|
||||
<define name="TEST_F(A,B)" value="void __ ## A ## _ ## B ( )"/>
|
||||
<define name="TEST_P(A,B)" value="void __ ## A ## _ ## B ( )"/>
|
||||
<define name="GTEST_API_" value=""/>
|
||||
<define name="GTEST_FLAG(name)" value="FLAGS_gtest_##name"/>
|
||||
<define name="GTEST_DECLARE_bool_(name)" value="GTEST_API_ extern bool GTEST_FLAG(name)"/>
|
||||
<define name="GTEST_DECLARE_int32_(name)" value="GTEST_API_ extern ::testing::internal::Int32 GTEST_FLAG(name)"/>
|
||||
<define name="GTEST_DECLARE_string_(name)" value="GTEST_API_ extern ::std::string GTEST_FLAG(name)"/>
|
||||
<define name="GTEST_DEFINE_bool_(name, default_val, doc)" value="GTEST_API_ bool GTEST_FLAG(name) = (default_val)"/>
|
||||
<define name="GTEST_DEFINE_int32_(name, default_val, doc)" value="GTEST_API_ ::testing::internal::Int32 GTEST_FLAG(name) = (default_val)"/>
|
||||
<define name="GTEST_DEFINE_string_(name, default_val, doc)" value="GTEST_API_ ::std::string GTEST_FLAG(name) = (default_val)"/>
|
||||
<define name="GTEST_CONCAT_TOKEN_(foo, bar)" value="GTEST_CONCAT_TOKEN_IMPL_(foo, bar)"/>
|
||||
<define name="GTEST_CONCAT_TOKEN_IMPL_(foo, bar)" value="foo ## bar"/>
|
||||
<define name="GTEST_STRINGIFY_(name)" value="#name"/>
|
||||
</def>
|
||||
|
|
Loading…
Reference in New Issue