Hi all,
I have tried parameterized gtests and i couldn't get them to run. Tried the examples from the Advanced guide with the same result.
Note: Google Test filter = PrimeTableTest
[==========] Running 0 tests from 0 test cases.
[==========] 0 tests from 0 test cases ran. (1 ms total)
[ PASSED ] 0 tests.
Press any key to continue . . .
Tried doing everything according to the guide, derived from ::testing::TestWithParam<int>, intialized with
INSTANTIATE_TEST_CASE_P(CrossGreeksTpxWithAllThreeProductTypes, Test_suite_cross_greeks, ::testing::Values(1, 2, 3, 4));
The dummy test looks like this:
TEST_P(Test_suite_super_cross_greeks, CrossGreeksTpx)
{
cout<<GetParam()<<endl;
ASSERT_EQ(1,1);
}
Everything with TEST_P is just not picked up. TEST_F works fine.
I am using gtest 1.6.0 in Visual Studio 10.
Thanks,
Vlad