MCPcopy Create free account
hub / github.com/Snapchat/Valdi / TEST

Function TEST

valdi/test/runtime/ReferenceInfo_tests.cpp:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace ValdiTest {
8
9TEST(ReferenceInfo, supportsEmptyState) {
10 auto ref = ReferenceInfoBuilder().build();
11
12 ASSERT_EQ("<unknown>", ref.toString());
13}
14
15TEST(ReferenceInfo, supportsObject) {
16 auto myObjectKey = STRING_LITERAL("myObject");

Callers

nothing calls this directly

Calls 10

withObjectMethod · 0.80
withPropertyMethod · 0.80
withArrayIndexMethod · 0.80
asFunctionMethod · 0.80
withParameterMethod · 0.80
withReturnValueMethod · 0.80
toFunctionIdentifierMethod · 0.80
toStringMethod · 0.65
buildMethod · 0.45

Tested by

no test coverage detected