Vendor gdUnit4 for Godot 4 client testing (D-030). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
288 B
GDScript
11 lines
288 B
GDScript
class_name GdUnitMockFunctionDoubler
|
|
extends GdFunctionDoubler
|
|
|
|
|
|
func double(func_descriptor: GdFunctionDescriptor) -> PackedStringArray:
|
|
return GdUnitFunctionDoublerBuilder.new(func_descriptor)\
|
|
.with_prepare_block()\
|
|
.with_verify_block()\
|
|
.with_mocked_return_value()\
|
|
.build()
|