MCPcopy Create free account
hub / github.com/avast/retdec / TEST_F

Function TEST_F

tests/common/class_tests.cpp:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22//
23
24TEST_F(ClassesTests,
25HasConstructorReturnsFalseWhenClassDoesNotHaveConstructorWithGivenName) {
26 Class cl("A"s);
27 cl.constructors = {};
28
29 ASSERT_FALSE(cl.hasConstructor("func"));
30}
31
32TEST_F(ClassesTests,
33HasConstructorReturnsTrueWhenClassHasConstructorWithGivenName) {

Callers

nothing calls this directly

Calls 8

hasConstructorMethod · 0.80
hasDestructorMethod · 0.80
hasMethodMethod · 0.80
hasVirtualMethodMethod · 0.80
addSuperClassMethod · 0.80
ClassClass · 0.50
hasFunctionMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected