| 202 | } |
| 203 | |
| 204 | inline void checkKnownTestDeclNames() |
| 205 | { |
| 206 | auto foundNames = getAllDeclNames(decl::Type::TestDecl); |
| 207 | |
| 208 | // Check a few known ones |
| 209 | EXPECT_TRUE(foundNames.count("decl/exporttest/guisurf1") > 0); |
| 210 | EXPECT_TRUE(foundNames.count("decl/numbers/0") > 0); |
| 211 | EXPECT_TRUE(foundNames.count("decl/numbers/1") > 0); |
| 212 | EXPECT_TRUE(foundNames.count("decl/numbers/2") > 0); |
| 213 | |
| 214 | // decltables should not be listed |
| 215 | EXPECT_FALSE(foundNames.count("decltable1") > 0); |
| 216 | EXPECT_FALSE(foundNames.count("decltable2") > 0); |
| 217 | EXPECT_FALSE(foundNames.count("decltable3") > 0); |
| 218 | } |
| 219 | |
| 220 | inline void checkKnownTestDecl2Names() |
| 221 | { |
no test coverage detected