| 72 | } |
| 73 | |
| 74 | void 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 | |
| 80 | void check_error_no_method(const Dictionary &p_dict) { |
| 81 | check_error_code(p_dict, JSONRPC::METHOD_NOT_FOUND); |
no test coverage detected