2022-06-02 04:13:43 +02:00
|
|
|
# ##############################################################################
|
2023-01-07 20:26:17 +01:00
|
|
|
# Gut Doubled Script
|
2022-06-02 04:13:43 +02:00
|
|
|
# ##############################################################################
|
|
|
|
{extends}
|
|
|
|
|
|
|
|
{constants}
|
|
|
|
|
|
|
|
{properties}
|
2023-01-07 20:26:17 +01:00
|
|
|
|
2022-06-02 04:13:43 +02:00
|
|
|
# ------------------------------------------------------------------------------
|
2023-01-07 20:26:17 +01:00
|
|
|
# GUT stuff
|
2022-06-02 04:13:43 +02:00
|
|
|
# ------------------------------------------------------------------------------
|
2023-01-07 20:26:17 +01:00
|
|
|
var __gutdbl_values = {
|
|
|
|
double = self,
|
|
|
|
thepath = '{path}',
|
2022-06-02 04:13:43 +02:00
|
|
|
subpath = '{subpath}',
|
2023-01-07 20:26:17 +01:00
|
|
|
stubber = {stubber_id},
|
|
|
|
spy = {spy_id},
|
|
|
|
gut = {gut_id},
|
2022-06-02 04:13:43 +02:00
|
|
|
from_singleton = '{singleton_name}',
|
2023-01-07 20:26:17 +01:00
|
|
|
is_partial = {is_partial},
|
2024-01-06 11:27:15 +01:00
|
|
|
doubled_methods = {doubled_methods},
|
2022-06-02 04:13:43 +02:00
|
|
|
}
|
2023-01-07 20:26:17 +01:00
|
|
|
var __gutdbl = load('res://addons/gut/double_tools.gd').new(__gutdbl_values)
|
2022-06-02 04:13:43 +02:00
|
|
|
|
2023-01-07 20:26:17 +01:00
|
|
|
# Here so other things can check for a method to know if this is a double.
|
|
|
|
func __gutdbl_check_method__():
|
|
|
|
pass
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
2023-01-07 20:26:17 +01:00
|
|
|
# Doubled Methods
|
2022-06-02 04:13:43 +02:00
|
|
|
# ------------------------------------------------------------------------------
|