MCPcopy Create free account
hub / github.com/Snapchat/djinni / create_cpp_token

Method create_cpp_token

test-suite/handwritten-src/cpp/test_helpers.cpp:127–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125};
126
127std::shared_ptr<UserToken> TestHelpers::create_cpp_token() {
128 return std::make_shared<CppToken>();
129}
130
131void TestHelpers::check_cpp_token(const std::shared_ptr<UserToken> & in) {
132 // Throws bad_cast if type is wrong

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected