module Net::SSH::Test::Extensions::Channel
def self.included(base) # :nodoc:
def self.included(base) # :nodoc: base.send :alias_method, :send_data_for_real, :send_data base.send :alias_method, :send_data, :send_data_for_test end
def send_data_for_test(data)
output so that scripted sends are properly interpreted as discrete
the original implementation, and then immediately enqueues the data for
The testing version of Net::SSH::Connection::Channel#send_data. Calls
def send_data_for_test(data) send_data_for_real(data) enqueue_pending_output end