From a7d333d9a45117073fec83ae73e66856e0db9103 Mon Sep 17 00:00:00 2001 From: Butch Wesley Date: Sat, 10 Jun 2017 14:16:45 -0400 Subject: [PATCH] added that method back in, not sure where it went --- addons/gut/gut.gd | 1 + addons/gut/test.gd | 2 ++ 2 files changed, 3 insertions(+) diff --git a/addons/gut/gut.gd b/addons/gut/gut.gd index e89cb734..41ea7632 100644 --- a/addons/gut/gut.gd +++ b/addons/gut/gut.gd @@ -1310,6 +1310,7 @@ func get_signal_emit_count(object, signal_name): #------------------------------------------------------------------------------- func get_signal_parameters(object, signal_name, index=-1): return _signal_watcher.get_signal_parameters(object, signal_name, index) + #------------------------------------------------------------------------------- # Mark the current test as pending. #------------------------------------------------------------------------------- diff --git a/addons/gut/test.gd b/addons/gut/test.gd index cf044eef..9cb8839e 100644 --- a/addons/gut/test.gd +++ b/addons/gut/test.gd @@ -139,6 +139,8 @@ func assert_signal_emit_count(object, signal_name, times, text=""): func assert_has_signal(object, signal_name, text=""): gut.assert_has_signal(object, signal_name, text) +func get_signal_parameters(object, signal_name, index=-1): + return gut.get_signal_parameters(object, signal_name, index) #------------------------------------------------------------------------------- # Returns the number of times a signal was emitted. -1 returned if the object # is not being watched.