MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / at

Method at

test/testprogrammemory.cpp:99–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 void at() const {
100 ProgramMemory pm;
101 ASSERT_THROW_EQUALS(pm.at(123), std::out_of_range, "ProgramMemory::at");
102 ASSERT_THROW_EQUALS(utils::as_const(pm).at(123), std::out_of_range, "ProgramMemory::at");
103 }
104};
105
106REGISTER_TEST(TestProgramMemory)

Callers 15

formatstr_argnoMethod · 0.80
formatstr_scanMethod · 0.80
formatstr_secureMethod · 0.80
getReallocationTypeMethod · 0.80
isOpenDevNullMethod · 0.80
checkReallocUsageMethod · 0.80
getOrigFileMethod · 0.80
tokenlist.cppFile · 0.80
dumpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected