Decl must still be present, but not contain the given string
| 485 | |
| 486 | // Decl must still be present, but not contain the given string |
| 487 | inline void expectDeclDoesNotContain(decl::Type type, const std::string& declName, const std::string& contents) |
| 488 | { |
| 489 | auto decl = GlobalDeclarationManager().findDeclaration(type, declName); |
| 490 | EXPECT_TRUE(decl) << declName << " should be present"; |
| 491 | EXPECT_EQ(decl->getBlockSyntax().contents.find(contents), std::string::npos) |
| 492 | << declName << " should NOT contain " << contents; |
| 493 | } |
| 494 | |
| 495 | // EntityDef is treated the same as EnTiTyDeF and entitydef |
| 496 | TEST_F(DeclManagerTest, DeclTypenamesAreCaseInsensitive) |
no test coverage detected