feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -57,10 +57,6 @@ String TestClassJSONRPC::something(const String &p_in) {
|
|||
return p_in + ", please";
|
||||
}
|
||||
|
||||
void TestClassJSONRPC::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("something", "in"), &TestClassJSONRPC::something);
|
||||
}
|
||||
|
||||
void test_process_action(const Variant &p_in, const Variant &p_expected, bool p_process_array_elements) {
|
||||
TestClassJSONRPC json_rpc = TestClassJSONRPC();
|
||||
const Variant &observed = json_rpc.process_action(p_in, p_process_array_elements);
|
||||
|
|
@ -83,4 +79,10 @@ void test_process_action_bad_method(const Dictionary &p_in) {
|
|||
check_error_no_method(out_dict);
|
||||
}
|
||||
|
||||
void test_no_response(const Variant &p_in) {
|
||||
TestClassJSONRPC json_rpc = TestClassJSONRPC();
|
||||
const Variant &res = json_rpc.process_action(p_in, true);
|
||||
CHECK(res.get_type() == Variant::NIL);
|
||||
}
|
||||
|
||||
} // namespace TestJSONRPC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue