marcossilvadecastro / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Easier value-parameterized test API #460

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The current API requires constructing a class for my value parameterized test 
and then instantiating it with another macro. I would like to see a shortcut. 
For example:

TEST_PI(MyTestCase, MyTest, int, Values(1, 2, 3, 4))
{
    int param = GetParam();
    // ...
}

Original issue reported on code.google.com by alex.s...@gmail.com on 22 May 2014 at 7:10