Skip to content

Commit

Permalink
added that method back in, not sure where it went
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwes committed Jun 10, 2017
1 parent 142cfe9 commit a7d333d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/gut/gut.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#-------------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions addons/gut/test.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a7d333d

Please sign in to comment.