| 218 | } |
| 219 | |
| 220 | inline void checkKnownTestDecl2Names() |
| 221 | { |
| 222 | auto foundNames = getAllDeclNames(decl::Type::TestDecl2); |
| 223 | |
| 224 | // Assume testdecls are not listed |
| 225 | EXPECT_FALSE(foundNames.count("decl/exporttest/guisurf1") > 0); |
| 226 | EXPECT_FALSE(foundNames.count("decl/numbers/0") > 0); |
| 227 | EXPECT_FALSE(foundNames.count("decl/numbers/1") > 0); |
| 228 | EXPECT_FALSE(foundNames.count("decl/numbers/2") > 0); |
| 229 | |
| 230 | // testdecl2 should be listed |
| 231 | EXPECT_TRUE(foundNames.count("decltable1") > 0); |
| 232 | EXPECT_TRUE(foundNames.count("decltable2") > 0); |
| 233 | EXPECT_TRUE(foundNames.count("decltable3") > 0); |
| 234 | } |
| 235 | |
| 236 | TEST_F(DeclManagerTest, DeclFolderRegistration) |
| 237 | { |
no test coverage detected