Index: va_stdafx.h =================================================================== diff -u --- va_stdafx.h (revision 0) +++ va_stdafx.h (revision 078d08f91614ef157c27460989324ddd968c78cd) @@ -0,0 +1,19 @@ +/////////////////////////////////////////////////////////////////////////// +// googletest macros replacement for visual assist + +#define TEST_F(fixture, test_name)\ +struct Test_##fixture##_##test_name## : public fixture\ +{\ + void Exec();\ +};\ +void Test_##fixture##_##test_name##::Exec() + + +#define TEST(test_case_name, test_name)\ +struct Test_##test_case_name##_##test_name##\ +{\ + void Exec();\ +};\ +void Test_##test_case_name##_##test_name##::Exec() + +#define EXPECT_EQ(a, b) (a) == (b)