Lines Matching refs:Test
36 // Each test is represented by a Test instance.
38 class Test {
40 typedef void(TestFunctionWithConfig)(Test* config);
44 // few tests require dynamic configuration, and are passed a `Test` object.
46 Test(const char* name, Fn* callback)
59 static Test* MakeSVETest(int vl,
65 Test* test = new Test(name, fn);
88 static Test* first() { return first_; }
89 static Test* last() { return last_; }
90 Test* next() { return next_; }
127 static Test* first_;
128 static Test* last_;
129 Test* next_;
143 // Macro to register a test. It instantiates a Test and registers its
146 void Test##Name(); \
147 Test test_##Name(#Name, &Test##Name); \
148 void Test##Name()