MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / test_process_string

Function test_process_string

modules/jsonrpc/tests/test_jsonrpc.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void test_process_string(const String &p_in, const String &p_expected) {
75 TestClassJSONRPC json_rpc = TestClassJSONRPC();
76 const String &out_str = json_rpc.process_string(p_in);
77 CHECK(out_str == p_expected);
78}
79
80void check_error_no_method(const Dictionary &p_dict) {
81 check_error_code(p_dict, JSONRPC::METHOD_NOT_FOUND);

Callers 1

test_jsonrpc.hFile · 0.85

Calls 2

TestClassJSONRPCClass · 0.85
process_stringMethod · 0.80

Tested by

no test coverage detected