MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / expectDeclIsNotPresent

Function expectDeclIsNotPresent

test/DeclManager.cpp:472–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472inline void expectDeclIsNotPresent(decl::Type type, const std::string& declName)
473{
474 EXPECT_FALSE(GlobalDeclarationManager().findDeclaration(type, declName))
475 << declName << " should not be present";
476}
477
478inline void expectDeclContains(decl::Type type, const std::string& declName, const std::string& expectedContents)
479{

Callers 1

TEST_FFunction · 0.85

Calls 1

findDeclarationMethod · 0.45

Tested by

no test coverage detected