MCPcopy Create free account
hub / github.com/Snapchat/Valdi / operator()

Method operator()

valdi/test/integration/JSBridgeTestFixture.cpp:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29std::string PrintJavaScriptEngineType::operator()(const testing::TestParamInfo<JavaScriptEngineTestCase>& info) const {
30 auto str = std::string(snap::valdi_core::to_string(toJSEngineType(info.param)));
31
32 if (isWithTSN(info.param)) {
33 str += "WithTSN";
34 }
35
36 return str;
37}
38
39bool JSBridgeTestFixture::isHermes() const {
40 return GetParam() == JavaScriptEngineTestCase::Hermes;

Callers

nothing calls this directly

Calls 3

toJSEngineTypeFunction · 0.85
isWithTSNFunction · 0.85
to_stringFunction · 0.50

Tested by

no test coverage detected